Skip to content

Commit 443582c

Browse files
committed
BLELocalDevice: add error message suggesting NINA firmware update
1 parent 7575244 commit 443582c

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/local/BLELocalDevice.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,10 @@ int BLELocalDevice::begin()
106106

107107
if (HCI.reset() != 0) {
108108
end();
109-
109+
#if defined(ARDUINO_AVR_UNO_WIFI_REV2) || defined(ARDUINO_SAMD_MKRWIFI1010) || defined(ARDUINO_SAMD_NANO_33_IOT) || defined(TARGET_NANO_RP2040_CONNECT)
110+
Serial.println("The initialization of the Bluetooth® Low Energy module failed.");
111+
Serial.println("Please ensure your NINA firmware is version 3.0.0 or higher.");
112+
#endif
110113
return 0;
111114
}
112115

0 commit comments

Comments
 (0)