BLE CLA implementation. More...
BLE CLA implementation.
Definition in file bplib_cla_ble.h.
#include <stdint.h>#include <stdbool.h>
Include dependency graph for bplib_cla_ble.h:Go to the source code of this file.
Macros | |
| #define | CONFIG_BPLIB_CLA_BLE_TIMEOUT 10000 |
| Timeout after all CLA threads are stopped after bplib_cla_ble_stop, in ms. | |
| #define | CONFIG_BPLIB_CLA_BLE_MTU 1000 |
| MTU of an L2CAP message. | |
| #define | CONFIG_BPLIB_CLA_BLE_CID 0xabc1 |
| L2CAP CID to use. | |
Functions | |
| int | bplib_cla_ble_start (uint32_t contact_id, bool client) |
| Start the CLA on BLE. | |
| void | bplib_cla_ble_manage_state (bool manage_state) |
| If the CLA should change the state of the contact when a disconnect is detected. | |
| void | bplib_cla_ble_stop (void) |
| Stops the CLA, and the BLE connection. | |