Zephyr API Documentation  3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
log_backend_ble.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2023 Victor Chavez
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#ifndef ZEPHYR_LOG_BACKEND_BLE_H_
8#define ZEPHYR_LOG_BACKEND_BLE_H_
9
10#include <stdbool.h>
17#define LOGGER_BACKEND_BLE_ADV_UUID_DATA \
18 0x9E, 0xCA, 0xDC, 0x24, 0x0E, 0xE5, 0xA9, 0xE0, 0x93, 0xF3, 0xA3, 0xB5, 0x01, 0x00, 0x40, \
19 0x6E
20
28typedef void (*logger_backend_ble_hook)(bool backend_status, void *ctx);
29
41
42#endif /* ZEPHYR_LOG_BACKEND_BLE_H_ */
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.
void(* logger_backend_ble_hook)(bool backend_status, void *ctx)
Hook for application to know when the ble backend is enabled or disabled.
Definition: log_backend_ble.h:28