add cli option to set custom bluetooth name

This commit is contained in:
Eve committed 2026-11-12 11:09:43 -05:00
1 parent 75737f548e
commit 9e70d32f79
4 files changed
+36 -1

No files matched your search

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