Skip to content

Commit 84da568

Browse files
authored
fix: Notecard_ConnectionHandler Power Profile
There is a bug in code that specifically targets the Wireless for Arduino Opta expansion. The battery backup on the device is a Lithium Ion Capacitor (LIC), but the Lithium Polymer (LiPo) profile was provided. The Notecard will work correctly in this state, but it the LIC is designed to support lower voltages than a LiPo. The improvement provided here will allow the Notecard to remain powered for a longer duration.
1 parent 8014ed9 commit 84da568

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/NotecardConnectionHandler.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ NetworkConnectionState NotecardConnectionHandler::update_handleInit()
396396
// for the Opta Wirelss Extension.
397397
if (NetworkConnectionState::INIT == result) {
398398
if (J *req = _notecard.newRequest("card.voltage")) {
399-
JAddStringToObject(req, "mode", "lipo");
399+
JAddStringToObject(req, "mode", "lic");
400400
JAddBoolToObject(req, "alert", true);
401401
JAddBoolToObject(req, "sync", true);
402402
JAddBoolToObject(req, "usb", true);

0 commit comments

Comments
 (0)