| 1 |
|
| 2 |
The simple-tester-python program makes use of the 'libmbim-glib' library |
| 3 |
through GObject Introspection. |
| 4 |
|
| 5 |
The program will: |
| 6 |
* Open a connection to the mbim-proxy, or launch the mbim-proxy itself |
| 7 |
if it isn't already running. |
| 8 |
* Query device capabilities |
| 9 |
|
| 10 |
The output will look like this: |
| 11 |
|
| 12 |
$ ./simple-tester-python /dev/cdc-wdm0 |
| 13 |
device type: embedded |
| 14 |
cellular class: gsm |
| 15 |
voice class: no-voice |
| 16 |
sim class: removable |
| 17 |
data class: gprs, edge, umts, hsdpa, hsupa, lte |
| 18 |
sms capabilities: pdu-receive, pdu-send |
| 19 |
control capabilities: reg-manual |
| 20 |
max sessions: 8 |
| 21 |
custom data class: None |
| 22 |
device id: 013937003110648 |
| 23 |
firmware info: FIH7160_V1.1_MODEM_01.1349.12 |
| 24 |
hardware info: XMM7160_V1.1_MBIM_GNSS_NAND_RE |
| 25 |
|
| 26 |
Note that the program requires libmbim-glib to be installed in the system |
| 27 |
and the introspection typelibs available in the standard paths. |
| 28 |
|
| 29 |
Have fun! |