BSB Developer Docs
Loading...
Searching...
No Matches
ble_canary.h
1#pragma once
2
3#include <furi.h>
4
5typedef enum {
6 BleCanaryTypeHitOnce,
7 BleCanaryTypeHitAlways,
8} BleCanaryType;
9
10typedef struct BleDebugCanary BleDebugCanary;
11
12typedef void (*BleDebugCanaryHitCallback)(void* ctx);
13
14BleDebugCanary* ble_debug_canary_alloc(BleCanaryType type);
15void ble_debug_canary_set_hit_callback(
16 BleDebugCanary* instance,
17 BleDebugCanaryHitCallback callback);
18
19void ble_debug_canary_free(BleDebugCanary* instance);
20void ble_debug_canary_reset(BleDebugCanary* instance);
21void ble_debug_canary_test(BleDebugCanary* instance, void* ctx);
22void ble_debug_canary_test_log(BleDebugCanary* instance, const char* tag, const char* format, ...);
Definition ble_canary.c:3