modem - bruno-beloff/scs_mfr GitHub Wiki
docs > software repositories > scs_mfr > commands > comms
DESCRIPTION
The modem utility is used to report on the modem connection status and SIM parameters. The reports provided by this utility are included in the the configuration utility report.
SYNOPSIS
modem.py { -c | -s } [-v]
Options | |
---|---|
--version | show program's version number and exit |
-h, --help | show this help message and exit |
-m, --model | report on modem model |
-c, --connection | report on modem connection |
-s, --sim | report on SIM |
-v, --verbose | report narrative to stderr |
EXAMPLES
./modem.py -c
DOCUMENT EXAMPLE - MODEL
{"id": "3f07553c31ce11715037ac16c24ceddcfb6f7a0b", "imei": "867962041294151", "mfr": "QUALCOMM INCORPORATED", "model": "QUECTEL Mobile Broadband Module", "rev": "EC21EFAR06A01M4G"}
DOCUMENT EXAMPLE - CONNECTION
{"state": "connected", "signal": {"quality": 34, "recent": true}}
DOCUMENT EXAMPLE - SIM
{"imsi": "234104886708567", "iccid": "8944110068257270054", "operator-code": "23410", "operator-name": "O2 - UK"}