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;

Field Documentation

FieldDescription
connHandleConnection handle associated with this connection.
handleInfoLengthTotal length of the handle information list in bytes.
handleInfoHandle information list. Contains handle pairs in following format: <2-byte service handle> <2-byte End Group Handle> Service handle is the handle of service discovered, End Group Handle is the handle of the last attribute of the service discovered If the same primary service has multiple instances on the server then multiple handle pairs may exist. Note that the format of the data is little endian.
procedureStatusDiscover Primary Service By UUID may not finish in one ATT request. Status indicates if further events are expected. See Procedure status definition.