mirror of
https://github.com/markqvist/RNode_Firmware.git
synced 2025-05-04 07:35:14 -04:00
Added Bluetooth pairing procedure and pin display
This commit is contained in:
parent
8b7e324a5a
commit
7cdb2ec86a
5 changed files with 67 additions and 17 deletions
4
Config.h
4
Config.h
|
@ -47,6 +47,10 @@
|
|||
#define BT_STATE_PAIRING 0x02
|
||||
#define BT_STATE_CONNECTED 0x03
|
||||
uint8_t bt_state = BT_STATE_NA;
|
||||
uint32_t bt_ssp_pin = 0;
|
||||
bool bt_ready = false;
|
||||
bool bt_enabled = false;
|
||||
bool bt_allow_pairing = false;
|
||||
#else
|
||||
#error "The firmware cannot be compiled for the selected MCU variant"
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue