feat: expose repeater text console over BLE + nRF52 SoftDevice fixes

Repeater can be queried over BLE Nordic-UART (advert/neighbours/stats) without USB. Fix SoftDevice-protected TEMP peripheral access (sd_temp_get) that crashed BLE repeater telemetry, add USB-connected detection to ArduinoSerialInterface, and adjust the nRF52 ldscript/extra FS.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
tthandClaude Opus 4.8 committed 2026-07-11 19:21:11 +02:00
1 parent 40c166fa7f
commit cba8164693
5 files changed
+222 -3

No files matched your search

+6
View File
@@ -1258,6 +1258,12 @@ void MyMesh::handleCommand(uint32_t sender_timestamp, char *command, char *reply
strcpy(reply, "OK - Discover sent");
}
} else{
#if defined(BLE_PIN_CODE) && defined(NRF52_PLATFORM)
// CUSTOM (TeTeHacko): `ble on|off|ble` — implemented in main.cpp (BLE console).
// Available from serial, the BLE console and remotely via MC (admin remote CLI).
extern bool bleConsoleHandleCommand(const char* command, char* reply);
if (bleConsoleHandleCommand(command, reply)) return;
#endif
_cli.handleCommand(sender_timestamp, command, reply); // common CLI commands
}
}