GATT_EvtDiscPrimServByUuidResp_T

C

typedef struct GATT_EvtDiscPrimServByUuidResp_T
{
    uint16_t            connHandle;
    uint16_t            handleInfoLength;
    uint8_t             handleInfo[BLE_ATT_MAX_MTU_LEN-ATT_FIND_BY_TYPE_RESP_HEADER_SIZE];
    uint8_t             procedureStatus;
} GATT_EvtDiscPrimServByUuidResp_T;

Description

Structure for the GATTC_EVT_DISC_PRIM_SERV_BY_UUID_RESP event.

Field Documentation

FieldDescription
connHandleConnection handle associated with this connection.
handleInfoLengthTotal length of the handle information list in bytes.
handleInfoHandle information list containing handle pairs in the format:<2-byte service handle> <2-byte End Group Handle>.The service handle is the handle of the discovered service.The End Group Handle is the handle of the last attribute of the discovered service.Multiple handle pairs may exist for multiple instances of the same primary service on the server.Data is in little-endian format.
procedureStatusIndicates if more events are expected in the "Discover Primary Service By UUID" procedure.See Procedure status for possible values.