mirror of
https://github.com/liberatedsystems/RNode_Firmware_CE.git
synced 2025-05-03 15:14:53 -04:00
Base structure for BLE support on ESP32-S3 boards
This commit is contained in:
parent
395e52fd9b
commit
31540410cf
5 changed files with 233 additions and 150 deletions
2
Device.h
2
Device.h
|
@ -154,7 +154,7 @@ bool device_init() {
|
|||
mbedtls_md_init(&ctx);
|
||||
mbedtls_md_setup(&ctx, mbedtls_md_info_from_type(md_type), 0);
|
||||
mbedtls_md_starts(&ctx);
|
||||
#if HAS_BLUETOOTH == true
|
||||
#if HAS_BLUETOOTH == true || HAS_BLE == true
|
||||
mbedtls_md_update(&ctx, dev_bt_mac, BT_DEV_ADDR_LEN);
|
||||
#else
|
||||
// TODO: Get from BLE stack instead
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue