Go to the source code of this file.
|
typedef void(* | logger_backend_ble_hook) (bool backend_status, void *ctx) |
| Hook for application to know when the Bluetooth backend is enabled or disabled.
|
|
◆ LOGGER_BACKEND_BLE_ADV_UUID_DATA
#define LOGGER_BACKEND_BLE_ADV_UUID_DATA |
Value: 0x9E, 0xCA, 0xDC, 0x24, 0x0E, 0xE5, 0xA9, 0xE0, 0x93, 0xF3, 0xA3, 0xB5, 0x01, 0x00, 0x40, \
0x6E
Raw adv UUID data to add the Bluetooth backend for the use with apps such as the NRF Toolbox.
◆ logger_backend_ble_hook
typedef void(* logger_backend_ble_hook) (bool backend_status, void *ctx) |
Hook for application to know when the Bluetooth backend is enabled or disabled.
- Parameters
-
backend_status | True if the backend is enabled or false if disabled |
ctx | User context |
◆ logger_backend_ble_set_hook()
Allows application to add a hook for the status of the Bluetooth logger backend.
The Bluetooth logger backend is enabled or disabled auomatically by the subscription of the notification characteristic of this Bluetooth Logger backend service.
- Parameters
-
hook | The hook that will be called when the status of the backend changes |
ctx | User context for whenever the hook is called |