1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-07-19 13:08:14 +00:00
trezor-firmware/core/embed/lib/ble/messages.h
tychovrahe d237e155d6 feat(core): rudimentary BLE support
[no changelog]

Co-authored-by: Martin Milata <martin@martinmilata.cz>
2024-01-25 00:21:19 +01:00

23 lines
354 B
C

#ifndef __BLE_MESSAGES__
#define __BLE_MESSAGES__
#include <stdbool.h>
bool ble_initialize(void);
bool wait_for_answer(void);
void process_poll(uint8_t *data, uint32_t len);
void send_state_request(void);
void send_advertising_on(bool whitelist);
void send_advertising_off(void);
bool send_erase_bonds(void);
bool send_disconnect(void);
#endif