radio-query Usage

radio-query is a simple utility to pull info from supported cellular radios in a consistent manner. Here is the usage information:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--init (i)             : initializes the utility for all future calls
--device (d)   : specify device to query, default: /dev/modem_at1
--printlvl (p)  : sets the printlvl [0-100]
--help (?)             : returns this message
--version (v)          : returns version
 
Queries:
--firmware
--imei
--imsi
--lac
--model
--netreg
--network
--phonenumber
--mdn
--rssi
--tower
--iccid
--service
--type
--carrier
--datetime
 
Supported Radios:
    HE910, GE910, DE910, CE910, LE910

Example

1
2
$ radio-query --carrier
AT&T Wireless Inc.