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

FieldDescription
startHandleStarting handle for the service discovery range.
endHandleEnding handle for the service discovery range.
valueLengthLength of the service UUID. Use 2 for 16-bit UUIDs and 16 for 128-bit UUIDs.
valueService UUID to discover, in little-endian format.