Merge upstream/dev (6 commits) [upstream-sync]
pub-release / release (push) Successful in 36m41s

This commit is contained in:
upstream-sync-bot committed 2026-11-15 17:06:10 +00:00
commit 8c11154a3a
5 files changed
+56 -1

No files matched your search

+7 -1
View File
@@ -215,7 +215,13 @@ void setup() {
// add bluetooth interface
#if defined(BLE_PIN_CODE)
bluetooth_interface.begin(BLE_NAME_PREFIX, the_mesh.getNodePrefs()->node_name, the_mesh.getBLEPin());
char *prefix = BLE_NAME_PREFIX;
char *ble_name = the_mesh.getNodePrefs()->node_name;
if (the_mesh.getNodePrefs()->ble_name[0]) {
prefix = "";
ble_name = the_mesh.getNodePrefs()->ble_name;
}
bluetooth_interface.begin((const char *) prefix, ble_name, the_mesh.getBLEPin());
interface_manager.addInterface(InterfaceType::Bluetooth, &bluetooth_interface);
#endif