4768177cf5
* bt: add authentication for all characteristics * bt: app_ble cleanup * bt: add start and stop advertising API * bt: rework application with start and stop advertising API * bt: support f7 target * bt: f7 target remove unused files * bt: stop advertising in bt debug application * bt: fix bt status bar update * bt: change bluetooth On Off order
21 lines
295 B
C
21 lines
295 B
C
#pragma once
|
|
|
|
#include <stdint.h>
|
|
#include <stdbool.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct Bt Bt;
|
|
|
|
void bt_update_statusbar(Bt* bt);
|
|
|
|
void bt_update_battery_level(Bt* bt, uint8_t battery_level);
|
|
|
|
bool bt_pin_code_show(Bt* bt, uint32_t pin_code);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|