Skip to content

Commit 060a7f6

Browse files
committed
Provide iccid when checking if firmware update available
1 parent d8eb6b3 commit 060a7f6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

examples/OneOpenAir/OneOpenAir.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ void checkForFirmwareUpdate(void) {
575575
if (networkOption == UseWifi) {
576576
agOta = new AirgradientOTAWifi;
577577
} else {
578-
agOta = new AirgradientOTACellular(cellularCard);
578+
agOta = new AirgradientOTACellular(cellularCard, agClient->getICCID());
579579
}
580580

581581
// Indicate main task that firmware update is in progress

0 commit comments

Comments
 (0)