GATTC_DiscoverPrimaryServiceParams_T
C
typedef struct GATTC_DiscoverPrimaryServiceParams_T { uint16_t startHandle; uint16_t endHandle; uint8_t valueLength; uint8_t value[ATT_MAX_UUID_SIZE]; } GATTC_DiscoverPrimaryServiceParams_T;
Description
Structure for discovering a primary service by UUID.
Field Documentation
Field | Description |
---|---|
startHandle | Starting handle for the service discovery range. |
endHandle | Ending handle for the service discovery range. |
valueLength | Length of the service UUID. Use 2 for 16-bit UUIDs and 16 for 128-bit UUIDs. |
value | Service UUID to discover, in little-endian format. |