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

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 dcd18c4384
commit 434e306430
5 files changed
+222 -3

No files matched your search

+6 -2
View File
@@ -13,8 +13,12 @@ void ArduinoSerialInterface::disable() {
_isEnabled = false;
}
bool ArduinoSerialInterface::isConnected() const {
return true; // no way of knowing, so assume yes
bool ArduinoSerialInterface::isConnected() const {
#if defined(NRF52_PLATFORM) || defined(ESP32_PLATFORM)
return Serial; // operator bool() checks connection (USB CDC DTR, UART init)
#else
return true; // platforms without operator bool() on Serial have no way of knowing, so assume yes
#endif
}
bool ArduinoSerialInterface::isWriteBusy() const {