40 #ifndef _BT_HAL_GATT_CLIENT_H_ 41 #define _BT_HAL_GATT_CLIENT_H_ 261 uint32_t ulServerIf );
303 uint16_t usStartHandle,
304 uint16_t usEndHandle );
318 uint32_t ulAddedCount );
459 uint32_t ulAuthReq );
501 uint32_t ulAuthReq );
557 BTStatus_t ( * pxRegisterForNotification )( uint8_t ucClientIf,
575 BTStatus_t ( * pxUnregisterForNotification )( uint8_t ucClientIf,
void(* BTWriteDescriptorCallback_t)(uint16_t usConnId, BTGattStatus_t xStatus, uint16_t usHandle)
Callback invoked in response to pxWriteDescriptor.
Definition: bt_hal_gatt_client.h:250
Definition: bt_hal_gatt_client.h:343
Definition: bt_hal_gatt_client.h:116
Definition: bt_hal_gatt_client.h:120
void(* BTServicesAddedCallback_t)(uint16_t usConnId, BTGattDbElement_t *pxAdded, uint32_t ulAddedCount)
GATT services were added.
Definition: bt_hal_gatt_client.h:316
Definition: bt_hal_gatt_client.h:320
BTGattcError_t
BT GATT client error codes.
Definition: bt_hal_gatt_client.h:109
Definition: bt_hal_gatt_client.h:115
Definition: bt_hal_gatt_client.h:124
void(* BTExecuteWriteCallback_t)(uint16_t usConnId, BTGattStatus_t xStatus)
GATT execute prepared write callback. Triggered by pxExecuteWrite.
Definition: bt_hal_gatt_client.h:223
void(* BTReadDescriptorCallback_t)(uint16_t usConnId, BTGattStatus_t xStatus, BTGattReadParams_t *pxData)
Callback invoked in response to pxReadDescriptor.
Definition: bt_hal_gatt_client.h:236
void(* BTCongestionCallback_t)(uint16_t usConnId, bool bCongested)
Definition: bt_hal_gatt_types.h:311
Definition: bt_hal_gatt_client.h:114
GATT service instance ID.
Definition: bt_hal_gatt_types.h:146
BTGattStatus_t
GATT Status Codes.
Definition: bt_hal_gatt_types.h:56
Definition: bt_hal_gatt_types.h:265
void(* BTListenCallback_t)(BTGattStatus_t xStatus, uint32_t ulServerIf)
Callback indicating the status of a listen() operation.
Definition: bt_hal_gatt_client.h:260
Definition: bt_hal_gatt_client.h:112
Parameters for attribute change notifications.
Definition: bt_hal_gatt_client.h:82
Definition: bt_hal_gatt_client.h:121
void(* BTReadRemoteRssiCallback_t)(uint8_t ucClientIf, BTBdaddr_t *pxBda, uint32_t ulRssi, BTStatus_t xStatus)
Definition: bt_hal_gatt_types.h:301
UUID.
Definition: bt_hal_manager_types.h:83
Definition: bt_hal_gatt_client.h:113
void(* BTRegisterClientCallback_t)(BTGattStatus_t xStatus, uint8_t ucClientIf, BTUuid_t *pxAppUuid)
Callback invoked in response pxRegisterClient when the GATT client registration has been completed...
Definition: bt_hal_gatt_client.h:139
T HAL provides the standard defintions used by BT GATT interfaces.
Definition: bt_hal_gatt_client.h:123
void(* BTDisconnectCallback_t)(uint16_t usConnId, BTGattStatus_t xStatus, uint8_t ucClientIf, BTBdaddr_t *pxBda)
Definition: bt_hal_gatt_types.h:294
BTAttrWriteRequests_t
Write request type.
Definition: bt_hal_gatt_types.h:125
Definition: bt_hal_gatt_client.h:119
Definition: bt_hal_gatt_client.h:122
void(* BTServicesRemovedCallback_t)(uint16_t usConnId, uint16_t usStartHandle, uint16_t usEndHandle)
GATT services between startHandle and endHandle were removed.
Definition: bt_hal_gatt_client.h:302
Definition: bt_hal_gatt_client.h:117
void(* BTSearchCompleteCallback_t)(uint16_t usConnId, BTGattStatus_t xStatus)
Callback invoked in response to pxSearchService when the GATT service search has been completed...
Definition: bt_hal_gatt_client.h:152
Definition: bt_hal_gatt_client.h:118
BTStatus_t
Bluetooth Error Status .
Definition: bt_hal_manager_types.h:97
Parameters for test command interface.
Definition: bt_hal_gatt_client.h:94
void(* BTRegisterForNotificationCallback_t)(uint16_t usConnId, bool bRegistered, BTGattStatus_t xStatus, uint16_t usHandle)
Callback invoked in response to pxRegisterForNotification and pxUnregisterForNotification.
Definition: bt_hal_gatt_client.h:169
void(* BTGetGattDbCallback_t)(uint16_t usConnId, BTGattDbElement_t *pxDb, uint32_t ulCount)
GATT get database callback. Triggered by pxGetGattDb.
Definition: bt_hal_gatt_client.h:288
BT/BLE address.
Definition: bt_hal_manager_types.h:66
Parameters for GATT write operations.
Definition: bt_hal_gatt_client.h:71
void(* BTNotifyCallback_t)(uint16_t usConnId, BTGattNotifyParams_t *pxData)
Remote device notification callback, invoked when a remote device sends a notification or indication ...
Definition: bt_hal_gatt_client.h:183
void(* BTConnectCallback_t)(uint16_t usConnId, BTGattStatus_t xStatus, uint8_t ucClientIf, BTBdaddr_t *pxBda)
Definition: bt_hal_gatt_types.h:288
#define btGATT_MAX_ATTR_LEN
Definition: bt_hal_gatt_types.h:49
void(* BTReadCharacteristicCallback_t)(uint16_t usConnId, BTGattStatus_t xStatus, BTGattReadParams_t *pxData)
Reports result of a GATT read operation. Triggered by pxReadCharacteristic.
Definition: bt_hal_gatt_client.h:196
Parameters for GATT read operations.
Definition: bt_hal_gatt_client.h:60
Definition: bt_hal_gatt_client.h:111
void(* BTConfigureMtuCallback_t)(uint16_t usConnId, BTGattStatus_t xStatus, uint32_t ulMtu)
Callback invoked when the MTU for a given connection changes. Triggered by pxConfigureMtu.
Definition: bt_hal_gatt_client.h:274
void(* BTWriteCharacteristicCallback_t)(uint16_t usConnId, BTGattStatus_t xStatus, uint16_t usHandle)
GATT write characteristic operation callback. Triggered by pxWriteCharacteristic. ...
Definition: bt_hal_gatt_client.h:211
GATT Service ID.
Definition: bt_hal_gatt_types.h:155
BTTransport_t
Preferred physical Transport for GATT connection .
Definition: bt_hal_manager.h:107
BTConfigureMtuCallback_t pxConfigureMtuCb
Definition: bt_hal_gatt_client.h:335