Zephyr API Documentation  3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
log_backend_ble.h File Reference
#include <stdbool.h>

Go to the source code of this file.

Macros

#define LOGGER_BACKEND_BLE_ADV_UUID_DATA
 Raw adv UUID data to add the ble 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 ble 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 BLE logger backend.
 

Macro Definition Documentation

◆ 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 ble backend for the use with apps such as the NRF Toolbox.

Typedef Documentation

◆ logger_backend_ble_hook

typedef void(* logger_backend_ble_hook) (bool backend_status, void *ctx)

Hook for application to know when the ble backend is enabled or disabled.

Parameters
backend_statusTrue if the backend is enabled or false if disabled
ctxUser context

Function Documentation

◆ logger_backend_ble_set_hook()

void logger_backend_ble_set_hook ( logger_backend_ble_hook  hook,
void *  ctx 
)

Allows application to add a hook for the status of the BLE logger backend.

The BLE logger backend is enabled or disabled auomatically by the subscription of the notification characteristic of this BLE Logger backend service.

Parameters
hookThe hook that will be called when the status of the backend changes
ctxUser context for whenever the hook is called