Zephyr Project API 4.2.99
A Scalable Open Source RTOS
|
Bluetooth log backend API. More...
Files | |
file | log_backend_ble.h |
Header file for the Bluetooth log backend API. | |
Macros | |
#define | LOGGER_BACKEND_BLE_ADV_UUID_DATA |
Raw adv UUID data to add the Bluetooth backend for the use with apps such as the NRF Toolbox. | |
Typedefs | |
typedef void(* | logger_backend_ble_hook) (bool backend_status, void *ctx) |
Hook for application to know when the Bluetooth backend is enabled or disabled. | |
Functions | |
void | logger_backend_ble_set_hook (logger_backend_ble_hook hook, void *ctx) |
Allows application to add a hook for the status of the Bluetooth logger backend. | |
Bluetooth log backend API.
#define LOGGER_BACKEND_BLE_ADV_UUID_DATA |
#include <include/zephyr/logging/log_backend_ble.h>
Raw adv UUID data to add the Bluetooth backend for the use with apps such as the NRF Toolbox.
typedef void(* logger_backend_ble_hook) (bool backend_status, void *ctx) |
#include <include/zephyr/logging/log_backend_ble.h>
Hook for application to know when the Bluetooth backend is enabled or disabled.
backend_status | True if the backend is enabled or false if disabled |
ctx | User context |
void logger_backend_ble_set_hook | ( | logger_backend_ble_hook | hook, |
void * | ctx | ||
) |
#include <include/zephyr/logging/log_backend_ble.h>
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.
hook | The hook that will be called when the status of the backend changes |
ctx | User context for whenever the hook is called |