COMMON IO-BLE v1.0.0
Hardware abstraction layer for Bluetooth
 
Loading...
Searching...
No Matches
BT-GATT Client Interface

BT GATT Client provides the interfaces to use Bluetooth GATT client feature.

Before calling any GATT client function, the Generic Access Profile needs to be initialized (see bt_hal_manager.h and bt_hal_manager_adapter.h). After GAP has been initialized, the functions need to be called in the following order:

  1. pxGattClientInit: Need to called to register callbacks.
  2. pxConnect: Can be called to connect to a GATT server.

The BT-GATT client interface is represented by BTGattClientInterface_t

The BT-GATT client callbacks can be found here BT-GATT Client Callbacks