Merge pull request #330 from airgradienthq/feat/post-ccid

Provide SIM card ICCID when performing ota update
This commit is contained in:
Samuel Siburian
2025-06-20 17:38:22 +07:00
committed by GitHub
3 changed files with 3 additions and 3 deletions

View File

@@ -575,7 +575,7 @@ void checkForFirmwareUpdate(void) {
if (networkOption == UseWifi) { if (networkOption == UseWifi) {
agOta = new AirgradientOTAWifi; agOta = new AirgradientOTAWifi;
} else { } else {
agOta = new AirgradientOTACellular(cellularCard); agOta = new AirgradientOTACellular(cellularCard, agClient->getICCID());
} }
// Indicate main task that firmware update is in progress // Indicate main task that firmware update is in progress