aboutsummaryrefslogtreecommitdiff
path: root/src/mm-port-net.c
diff options
context:
space:
mode:
authorCarlo Lobrano <c.lobrano@gmail.com>2022-02-18 11:31:44 +0100
committerAleksander Morgado <aleksander@aleksander.es>2022-03-29 14:18:55 +0000
commit3df96a42558aabca9d41bed0a9799b623fd83ffd (patch)
tree16021e4620eb931743d96f3cdb740577612582c1 /src/mm-port-net.c
parentafd3ce86c9c6801cd245e943c171fe2de20c9d7b (diff)
telit: override load revision
Currently, firmware revision string is obtained via AT+CGMR or AT+GMR commands from the default mm-broadband-modem. For a class of Telit modems however this command does not return the actual Telit Software Package version, but the "Modem FW Version", which is only a component of the whole firmware. For this class of modems, the correct string is obtained with "AT#SWPKGV" command. This change overrides load_revision* functions to add the ability to parse "AT#SWPKGV" command for the modems that support it, and falls back to the same logic that was implemented in mm-broadband-modem otherwise.
Diffstat (limited to 'src/mm-port-net.c')
0 files changed, 0 insertions, 0 deletions