1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-07-04 13:52:35 +00:00
trezor-firmware/core/embed/lib/ble/state.h
tychovrahe d5dd619635 STM
2023-09-14 11:36:22 +02:00

26 lines
425 B
C

#ifndef __BLE_STATE__
#define __BLE_STATE__
#include <stdbool.h>
#include <stdint.h>
bool ble_initialized(void);
void set_initialized(bool initialized);
bool ble_connected(void);
void set_status(bool connected, bool advertising, bool whitelist,
uint8_t count);
void start_advertising(bool whitelist);
void stop_advertising(void);
void ble_set_dfu_mode(bool dfu);
bool is_ble_dfu_mode(void);
#endif