summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFiles
2023-01-10Merge branch 'sk/GP-1842/imsi-vzw-detection' into 'master' HEAD1.0.8masterJohn Klug10
[GP-1842] Update the Cellular code to use SIM IMSI for Verizon detection See merge request !14
2023-01-06[GP-1842] Update the Cellular code to use SIM IMSI for Verizon detectionSerhii Kostiuk3
The certifications lab uses special SIM cards with non-Verizon ICCID numbers and Verizon IMSI numbers (MCC/MNC prefixes or PLMN IDs). Update the code to detect Verizon properly for such "special" SIM cards.
2023-01-06[GP-1842] Refactoring - Renamed Verizon 3GPP2 detection functionsSerhii Kostiuk7
Renamed the functions to better represent their behavior and purpose.
2023-01-06[GP-1842] Refactoring - Fixed indentationsSerhii Kostiuk7
This project uses tabs, not spaces. Make the indentation consistent.
2020-11-05Merge branch 'md/sms-fn980' into 'master' Jeff Hatch1
fn980: use custom iccid command See merge request !13
2020-11-05fn980: use custom iccid commandMykyta Dorokhin1
2020-07-28Merge branch 'vp/MTX_3534_fix_crash' into 'master' Jeff Hatch1
MTX-3534 Fix crashes on 64-bit platforms See merge request !12
2020-07-28MTX-3534 Fix crashes on 64-bit platformsVyacheslav Pedash1
The char* pointer retruned from strrchr() function was assigned to int variable tmp. On 64-bit platforms where pointer is 64-bit and int is 32-bit 2 bytes were lost and consequent dereference of sliced pointer lead to segmentation fault. As a solution the type of temporal variable is changed to char*.
2020-06-30Merge branch 'sk/port-lna7-changes' into 'master' Jeff Hatch5
[MTX-3489] mPower Oct20: Porting "LNA7 Intermediate Release" changes See merge request !11
2020-06-25[MTX-3489] mPower Oct20: Porting "LNA7 Intermediate Release" changesSerhii Kostiuk4
Ported the Verizon LTE SMS format workaround from LNA7 to L4G1.
2020-06-25[MTX-3489] mPower Oct20: Porting "LNA7 Intermediate Release" changesSerhii Kostiuk5
Merged all the changes from the intermediate release to master.
2020-06-23Merge branch 'ap/GP-655_LNA7_SMS' into 'mpower-5.2-lna7' Jeff Hatch5
[MTX-3449] mPower June20: GP-655 LNA7: SMS -> 3GPP vs. 3GPP2 See merge request !10
2020-06-23Merge branch 'fix-build-issue' into 'master' Jeff Hatch2
Fix build issue. See merge request !9
2020-06-22MTX-3449 mPower June20: GP-655 LNA7: SMS -> 3GPP vs. 3GPP2Andrii Pientsov2
2020-06-22MTX-3449 mPower June20: GP-655 LNA7: SMS -> 3GPP vs. 3GPP2Andrii Pientsov5
2020-06-19Fix build issue.Andrii Pientsov2
2020-06-10Merge branch 'MTX-3262-single-instance-guard' into 'master' Jeff Hatch3
Mtx 3262 single instance guard See merge request !8
2020-05-26Merge branch 'master' into 'MTX-3262-single-instance-guard'Andrii Pientsov3
# Conflicts: # src/atcmd.c # src/utils.c # src/utils.h
2020-04-18MTX-3262 mpower: fix log outputMaksym Telychko1
2020-04-18MTX-3262 mpower: restored log outputMaksym Telychko1
2020-04-18MTX-3262 mpower: fix lock return valueMaksym Telychko1
2020-04-18MTX-3262 mpower: fix resources leakMaksym Telychko2
2020-04-18MTX-3262 mpower: fix memory leakMaksym Telychko1
2020-04-17Merge branch 'MTX-3262-single-instance-guard-revert' into 'master' Jeff Hatch3
Revert "MTX-3262 mpower lockfile rewrite for libmts-io compatibility" See merge request !5
2020-04-16Revert "MTX-3262 mpower lockfile rewrite for libmts-io compatibility"Maksym Telychko3
This reverts commit f4b78a288c9e5c2a7a05d71b9bbe9e5fc26f2a63.
2020-04-13Merge branch 'MTX-3262-single-instance-guard' into 'master' Jeff Hatch3
Mtx 3262 single instance guard See merge request !3
2020-03-30MTX-3262 mpower lockfile: code styleMaksym Telychko2
2020-03-30MTX-3262 mpower lockfile: do not unlink lock fileMaksym Telychko1
2020-03-30MTX-3262 mpower lockfile rewrite for libmts-io compatibilityMaksym Telychko3
2019-12-16Merge branch 'MTX-3102-lvw3-sms-fix' into 'master' 1.0.7Jeff Hatch4
[MTX-3102] mPower Feb20: IN:3899 MTCDT-LVW3 fails SMS with GUI See merge request !2
2019-12-16[MTX-3102] mPower Feb20: IN:3899 MTCDT-LVW3 fails SMS with GUISerhii Kostiuk1
Fixes after a code review: - Replaced strcmp with strncmp - fixed the return type for "is_vzw_lte" function
2019-12-13[MTX-3102] mPower Feb20: IN:3899 MTCDT-LVW3 fails SMS with GUISerhii Kostiuk3
Fixed the logic for parsing single-part and multi-part messages for LVW3 and LNA3. Now single-part messages should be parsed as correctly as multi-part messages. This logic improves the logic that were previously implemented in with multi-part messages support for LVW2: bbf6ae9b1790c7129bf249641350b302def3ee27. What changed: - CDMA-specific SMS Teleservice ID is now saved as part of the PDU structure - SMS Teleservice ID is now used to determine if the message CDMA Wireless Enhanced Messaging Teleservice (WEMT) with an actual UDH header - UDH headers are used for multi-part messages in LVW3/LNA3 Why changed: - UDH header may NOT be present in the SMS PDU - first byte of user data may be a letter instead of the UDH header size - when letter is parsed as side we get a lot of issues with segmentation faults, parsing issues, garbage in payload and so on - so this commit adds SMS type detection before actual UDH header parsing attempt is performed Sources for implementation: - Telit LE910 V2 SERIES AT COMMANDS REFERENCE GUIDE 80446ST10707A Rev.3, section 5.1.5.5.7 Read Message (3GPP2) - +CMGR contains definition of Teleservice ID field and four of the types: 4097 page, 4098 SMS (0x1002), 4099 voice mail, 262144 voice mail notification - 3GPP2 X.S0004-550-E, section 2.256 SMS_TeleserviceIdentifier contains definition for additional SMS types including 4101 (0x1005) CDMA Wireless Enhanced Messaging Teleservice (WEMT). - Teleservice ID 0x1002 is actually used for short messages in Verizon: ```+CMGL: 12,1,"",23 098010310REDACTED4F3 191213 050558 1002 0009 0C D4F29C0E32CBDF6D503508``` - Teleservice ID 0x1005 is actually used for multi-part messages in Verizon: ```+CMGL: 13,1,"",152 098010310REDACTED4F3 191213 050741 1005 0009 A0 05 00 03 4A 02 01 CC 66B3D96C369BCD66B3D96C369BCDE6E3F97C3E9FCFE7F3F97C3E9FCFE7F3F97C3E9FCFE7F3F97C3E9FCFE7F3F97C3E9FCFE7F3F97C3E9FCFE7F3F97C3E9FCFE7F3F97C3E9FCFE7F3F97C3E9FCFE7F3F97C3E9FCFE7F3F97C3E9FCFE7F3F97C3E9FCFE7F3F97C3E9FCFE7F3F97C3E9FCFE7F3F97C3E9FCFE7F3F97C3E9FCFE7F3F97C3E9FCF +CMGL: 14,1,"",143 098010310REDACTED4F3 191213 050743 1005 0009 95 05 00 03 4A 02 02 CE E7F3F97C3E9FCFE7F3F97C3E9FCFE7B3D96C369BCD66B3D96C369BCD66B3D96C369BCDE670381C0E87C3E170381C0E87C3E170381C0E87C3E170381C0E87C3E170381C0E87C3E170381C0E87C3E170381C0E87C3E170381C0E87C3E170381C0E87C3E170381C0E87C3E17038168BC562B1582C168BC562B1582C1603```
2019-12-12[MTX-3072][GP-359] mPower Edge: LVW3 support on Conduit devicesSerhii Kostiuk2
Updated sms-utils to fix the issue with SMS messages on LVW3.
2019-08-01Merge branch 'quectel-radio' into 'master' 1.0.6Jeff Hatch4
mPower Edge Q4: Quectel radio support See merge request !1
2019-07-30[MTR-MTQ] Quectel support for sms-utilsSerhii Kostiuk3
Switched from dynamically-allocated to statically-allocated variables for data fetched from the modem.
2019-06-18[MTR-MTQ] Quectel support for sms-utilsSerhii Kostiuk1
Added support of Quectel-specific commands into the "atcmd_plus_iccid_read()" function
2019-06-18[MTR-MTQ] Quectel support for sms-utilsSerhii Kostiuk3
- Added new "manufacturer" field to the "global_core" structure - Added the "atcmd_plus_gmi_read()" function to fetch manufacturer identification - Added a call to the "atcmd_plus_gmi_read()" in "sms_atcmd_init()" - Added "is_telit_model()" and "is_quectel_model()" functions to pick a proper manufacturer-specific command in "atcmd_plus_iccid_read()" and, possibly, other commands in the future - Tabs VS spaces. This project uses tabs
2018-08-10Allow LNA3 to send messages.1.0.5John Klug6
2017-06-12SMS Commands not working for International Numbers1.0.4Jeff Hatch1
2017-05-30SMS Commands not working for International numbers1.0.3Jeff Hatch2
2016-08-03fix:decode: add support for decoding GSM PDU encoding 011.0.2bbBrandon Bayer3
Discovered in portal case #5072165 https://support.multitech.com/support/case.html?action=view&id=72165
2016-06-23Add retry code for getting the lock on the modem tty, tries every 100ms for ↵1.0.1Jeff Hatch1
one second before giving up.
2016-04-13fix: characters = and `1.0.0Brandon Bayer2
2016-02-15fix: CE910 PDU decode truncation0.0.16Brandon Bayer2
- It turns out the CE910 PDU data lengh is # of septets when sending, but number of octets when receiving. Wonder why I didn't guess that?!
2016-02-10fix: phonebook access error message on CE910-DUAL0.0.15Brandon Bayer2
2016-02-10fix: cdma pdu data length for C2 radiosBrandon Bayer3
2016-02-08refactor: encoding/decoding alphabet logging0.0.14Brandon Bayer3
2016-02-08style: convert tabs to spacesBrandon Bayer2
2016-02-08fix: cdma send length | also some refactoring & added commentsBrandon Bayer3
2016-01-21fix: properly decode LE910-SVG multi-part messages0.0.13Brandon Bayer3