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 GATTC_EVT_DISC_PRIM_SERV_BY_UUID_RESP event.
Field Documentation
Field | Description |
---|---|
connHandle | Connection handle associated with this connection. |
handleInfoLength | Total length of the handle information list in bytes. |
handleInfo | Handle 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. |
procedureStatus | Indicates if more events are expected in the "Discover Primary Service By UUID" procedure. See Procedure status for possible values. |