summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFiles
2020-08-04Quectel EG25-G Delta Radio Firmware Upgrade support - libmts-io implementationSerhii Kostiuk1
Delta Radio Firmware Upgrade implementation uses file management commands for Quectel radios. Radio behaviour for +QFLST output on EG25 radios is different that on EG95: - EG95 radios list all files on UFS _with_ "UFS:" prefix; - EG25 radios list all files on UFS _without_ "UFS:" prefix. This commit allows to handle both formats of +QFLST output to check file presense.
2020-07-31Merge branch 'sk/GP-759-L4N1-delta-fwu' into 'master' Jeff Hatch3
[GP-759] Delta Radio Firmware Upgrade support for L4N1 See merge request !32
2020-07-28[GP-759] Delta Radio Firmware Upgrade support for L4N1Serhii Kostiuk1
Increased the maximum delay for AT#OTAUPW response to 10 seconds. In some cases 1 second is too short for the radio to start accepting the injected firmware.
2020-07-28[GP-759] Added delta radio firmware upgrade support for Telit LE910C4-NFSerhii Kostiuk2
2020-07-24Merge branch 'sk/quectel-delta-fwu' into 'master' Jeff Hatch2
Quectel Delta Radio Firmware Upgrade support - libmts-io implementation See merge request !31
2020-07-23Quectel Delta Radio Firmware Upgrade support - libmts-io implementationSerhii Kostiuk1
During testing it was discovered that rarely CellularRadio::sendCommand implementation returns not one line with URC output but multiple lines. It happened once during testing and development. But is likely to happen again under increased CPU load and/or when CPU does not keep pace with the serial data flow.
2020-07-23Quectel Delta Radio Firmware Upgrade support - libmts-io implementationSerhii Kostiuk2
Added more strict handling for comma-separated data in URC messages to prevent out-of-bounds reads.
2020-07-22Merge branch 'delta-radio-fwu' into 'master' Jeff Hatch12
Delta Radio Firmware Upgrade support: LEU7 and L4E1 See merge request !30
2020-07-22Telit Delta Radio Firmware Upgrade support - libmts-io implementationSerhii Kostiuk1
During testing it was discovered that the radio is detached for 4 minutes 40 seconds while the upgrade is in progress. This was too close to the time limit of 5 minutes set before. This commit increases attach timeout to 6 minutes to be on the safe side.
2020-07-22Telit Delta Radio Firmware Upgrade support - libmts-io implementationSerhii Kostiuk3
Changes after code review: 1. Handle cases when the number of bytes written is different from the number of bytes requested to transfer. 2. Use fstat instead of lseek to determine the firmware size. 3. Renamed TelitRadio::startWrite and TelitRadio::abortWrite functions to better represent their applicability scope.
2020-07-21Quectel Delta Radio Firmware Upgrade support - libmts-io implementationSerhii Kostiuk1
Fixed Quectel checksum calculation algorithm to correctly handle odd file sizes.
2020-07-17Merge branch 'ap/vendor_firmware' into 'delta-radio-fwu' Serhii Kostiuk10
Add vendor firmware version See merge request !29
2020-07-17Code reviewAndrii Pientsov4
2020-07-17Code reviewAndrii Pientsov4
2020-07-16Add vendor firmware versionAndrii Pientsov8
2020-07-15Merge branch 'ap/l4e1-delta-fwu' into 'delta-radio-fwu' Serhii Kostiuk8
MTX-3404 mPower Oct20: Delta Radio Firmware Upgrade - L4E1 - libmts-io support See merge request !28
2020-07-15MTX-3404 Code ReviewAndrii Pientsov6
2020-07-13MTX-3404 Code ReviewAndrii Pientsov6
2020-07-13Merge remote-tracking branch 'origin/delta-radio-fwu' into ap/l4e1-delta-fwuAndrii Pientsov1
2020-07-10MTX-3404 mPower Oct20: Delta Radio Firmware Upgrade - L4E1 - libmts-io supportAndrii Pientsov4
2020-07-10Merge branch 'sk/quectel-delta-fwu' into 'delta-radio-fwu' Andrii Pientsov1
Quectel Delta Radio Firmware Upgrade support - libmts-io implementation See merge request !27
2020-07-10Quectel Delta Radio Firmware Upgrade support - libmts-io implementationSerhii Kostiuk1
Small fixes and improvements. 1. Fixed casing for the "FUMO Error: timeout, radio is not responding" message. All error messages passed to the status callback shall start with "FUMO Error:" 2. Removed extra carriage return for the "abortFileUpload" command. Passing "+++\r" instead of the "+++" to the radio works for Quectel but cause issues for Telit. At the same time Quectel specificly requires to "Do not input any character within 1s after “+++” has been inputted." in their FILE manual. Possibly, "any character" includes carriage return. 3. Fixed a typo: "lenght" -> "length"
2020-07-06Merge branch 'sk/quectel-delta-fwu' into 'delta-radio-fwu' Andrii Pientsov6
Quectel Delta Radio Firmware Upgrade support - libmts-io implementation See merge request !26
2020-07-06Quectel Delta Radio Firmware Upgrade support - libmts-io implementationSerhii Kostiuk1
Fixed message format for FUMO Done and FUMO Error messages. The original code with "FUMO done" ("done" lowercase) and "FUMO error" ("error" lowercase) was copied from the ME910C1-WW implementation. At the same time other places of the code use Title Case for "Done", "Error" and "Info" messages. This commit fixes the last bunch of messages in the QuectelRadio Delta FWU implementation to use Title Case. This simplifies handling in various scripts and other components.
2020-07-06Quectel Delta Radio Firmware Upgrade support - libmts-io implementationSerhii Kostiuk1
Fixed format of FILE upload log messages.
2020-07-03Quectel Delta Radio Firmware Upgrade support - libmts-io implementationSerhii Kostiuk2
Implemented firmware version check detection.
2020-07-03Quectel Delta Radio Firmware Upgrade support - libmts-io implementationSerhii Kostiuk1
Cleanup for the printouts and status messages.
2020-07-03Quectel Delta Radio Firmware Upgrade support - libmts-io implementationSerhii Kostiuk2
Simplified usage of step callbacks in the QuectelRadio class. Refactored existing function to use a wrapper and preven repetitive checks.
2020-07-03Quectel Delta Radio Firmware Upgrade support - libmts-io implementationSerhii Kostiuk5
Started code cleanup before finishing the procedure. Renamed functions related to the delta radio firmware upgrade to follow established patterns: - uploadDeltaFirmwareFile -> fumoLocalInject - applyDeltaFirmwareFile -> fumoLocalApply - removeDeltaFirmwareFile -> fumoLocalCleanup - new function: updateFumoLocal - encapsulates all the magic for radios that may not support separate stages for the delta upload and delta apply
2020-07-03WIP: Quectel Delta Radio Firmware Upgrade support - libmts-io implementationSerhii Kostiuk2
Initial implementation of the "Apply delta firmware" step. Requires cleanup.
2020-06-30Merge remote-tracking branch 'origin/master' into sk/quectel-delta-fwuSerhii Kostiuk6
2020-06-30Merge branch 'sk/port-lna7-changes' into 'master' Jeff Hatch6
[MTX-3489] mPower Oct20: Porting "LNA7 Intermediate Release" changes See merge request !25
2020-06-30Merge remote-tracking branch 'origin/master' into sk/quectel-delta-fwuSerhii Kostiuk14
2020-06-25[MTX-3489] mPower Oct20: Porting "LNA7 Intermediate Release" changesSerhii Kostiuk6
Merged all the changes from the intermediate release to master.
2020-06-17Merge branch 'sk/sim-carrier-detect' into 'mpower-5.2-lna7' Jeff Hatch4
[GP-654] Add SIM card-based carrier detection See merge request !24
2020-06-16[GP-654] Add SIM card-based carrier detectionSerhii Kostiuk4
Changes after a code review: - renamed "MTS Carrier Code" to the "Carrier Code"; - fixed descriptions for the new field and methods.
2020-06-16GP-654: Add SIM card-based carrier detectionSerhii Kostiuk4
This commit adds implementation of the SIM-based carrier detection. The goal for this implementation is to replace various places in the firmware that previously relied on the ICCID-based carrier detection, provide some layer of abstraction and forward compatibility for such places. It is particularly useful for fwSwitch radios with AUTO firmware selection capability.
2020-06-11Merge branch 'ms/MTX-3444_L4G1_support_implementation' into 'master' Jeff Hatch10
[MTX-3444] mPower Oct20: L4G1 libmts-io support See merge request !23
2020-06-10Merge branch 'restore-MTX-3262-single-instance-guard' into 'master' Jeff Hatch2
Restore mtx 3262 single instance guard See merge request !21
2020-06-05Merge branch 'sk/quectel-oma-dm' into 'mpower-5.2-lna7' Jeff Hatch5
[GP-651] LNA7: Allow to start the OMA DM procedure when it is required See merge request !22
2020-06-05[GP-651] LNA7: Allow to start the OMA DM procedure when it is requiredSerhii Kostiuk1
Fixed totally invalid string formatting for the stepCb argument. The previous implementation caused Json::Value to select the following constructor: ```Value(const char* begin, const char* end); ///< Copy all, incl zeroes.``` Which, of course, resulted in OOM violations. Oops.
2020-06-05[GP-651] LNA7: Allow to start the OMA DM procedure when it is requiredSerhii Kostiuk1
Fixes after a code review: - increased timeout from 60 to 160 seconds for "Abnormal" cases; - added hanlding for the "DME Abnormal" URC; - added "kill OMA DM" logic for the timeout case.
2020-06-03Merge branch 'vs/MTX-3251/modem-does-not-work' into 'master' Jeff Hatch2
Vs/mtx 3251/modem does not work See merge request !20
2020-06-03[GP-651] LNA7: Allow to start the OMA DM procedure when it is requiredSerhii Kostiuk1
Fixed AT+QODM parameters. AT+QODM parameters are case-sensitive.
2020-06-02[GP-651] LNA7: Allow to start the OMA DM procedure when it is requiredSerhii Kostiuk5
This commits adds support for the Quectel-specific OMA DM commands. This allows to trigger OMA DM procedure om Verizon to fetch the corrent APN values and other settings from the network. Expected radio output on success: ``` +QODM: "DME",0,DM Start +QODM: "DME",0,DM End ``` Other +QODM URC codes are also possible according to information from Quectel forum: https://forums.quectel.com/t/what-is-the-meaning-of-qodm-fumo-report-failed/2444/5. But only "DM Start" and "DM End" responses are expected, supported and treated as correct in the libmts-io.
2020-05-30Quectel Delta Radio Firmware Upgrade support - libmts-io implementationSerhii Kostiuk6
Initial implementation of the delta firmware image upload for Quectel radios.
2020-05-30Quectel Delta Radio Firmware Upgrade support - libmts-io implementationSerhii Kostiuk2
Declared base interface and added started implementation for the QuectelRadio class. Implemented file listing (file status check) and file removal logic.
2020-05-30Quectel Delta Radio Firmware Upgrade support - libmts-io implementationSerhii Kostiuk3
Declared base interface and added stub implementation for the Delta Radio Firmware Upgrade support in libmts-io.
2020-05-29mPower Oct20: L4G1 libmts-io supportmykola.salomatin10
2020-05-26MTX-3262 mpower lockfile: fix file access rightsMaksym Telychko1