Skip to content

Commit 831c844

Browse files
authored
Merge pull request #330 from airgradienthq/feat/post-ccid
Provide SIM card ICCID when performing ota update
2 parents d8eb6b3 + 060a7f6 commit 831c844

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)