Aleksander Morgado
4bc0798c3e
qmicli: new '--get-service-version-info'
...
$ sudo qmicli -d /dev/cdc-wdm0 --get-service-version-info
[/dev/cdc-wdm0] Supported versions:
ctl (1.3)
wds (1.2)
dms (1.1)
nas (1.0)
wms (1.0)
pds (1.0)
auth (1.0)
cat (1.0)
rms (1.0)
2013-07-04 09:38:17 +02:00
Aleksander Morgado
63288de52c
build: setup gtester based unit tests
2013-06-21 10:18:00 +02:00
Aleksander Morgado
99cd546b9b
qmicli,wds: implement '--wds-get-packet-statistics' command
...
E.g.:
$ sudo qmicli -d /dev/cdc-wdm0 --wds-get-packet-statistics
[/dev/cdc-wdm0] Connection statistics:
TX packets OK: 552
RX packets OK: 466
TX bytes OK: 108849
RX bytes OK: 187837
The output will ignore those stat values which are unsupported by the device.
2013-06-19 15:18:46 +02:00
Aleksander Morgado
40857aa70d
cli,nas: implement '--nas-get-tx-rx-info' command
2013-06-18 15:26:58 +02:00
Aleksander Morgado
dcc66f2678
build: fix builds with srcdir != builddir
2013-06-13 13:36:30 +02:00
Aleksander Morgado
e49341b531
qmicli,dms: fix reading new PIN in '--dms-uim-change-pin'
...
Spotted by Rajiv Mohan <rajiv.mohan@wipro.com>
2013-05-31 14:28:28 +02:00
Ben Chan
316fe6c2bf
cli,nas: use '%u' for printing cell IDs
...
This patch fixes the following type mismatches in the format string for
printing cell IDs:
qmicli-nas.c:1271:71: error: format specifies type 'unsigned short' but the argument has type 'guint32' (aka 'unsigned int') [-Werror,-Wformat]
g_print ("\t\tCell ID: '%" G_GUINT16_FORMAT"'\n", cid);
~~~ ^~~
qmicli-nas.c:1391:71: error: format specifies type 'unsigned short' but the argument has type 'guint32' (aka 'unsigned int') [-Werror,-Wformat]
g_print ("\t\tCell ID: '%" G_GUINT16_FORMAT"'\n", cid);
~~~ ^~~
qmicli-nas.c:1505:71: error: format specifies type 'unsigned short' but the argument has type 'guint32' (aka 'unsigned int') [-Werror,-Wformat]
g_print ("\t\tCell ID: '%" G_GUINT16_FORMAT"'\n", cid);
~~~ ^~~
qmicli-nas.c:1626:71: error: format specifies type 'unsigned short' but the argument has type 'guint32' (aka 'unsigned int') [-Werror,-Wformat]
g_print ("\t\tCell ID: '%" G_GUINT16_FORMAT"'\n", cid);
~~~ ^~~
Bug reported on https://code.google.com/p/chromium/issues/detail?id=239736
2013-05-10 09:44:59 +02:00
Aleksander Morgado
d9303fc141
cli,nas: fix persistence technology preference reporting
2013-04-30 15:46:25 +02:00
Dan Williams
e384ad684c
cli: implement Set System Selection Preference
2013-04-17 12:19:38 -05:00
Arman Uguray
8f8edb7cd3
cli: Add --dms-activate-manual
...
Added the --dms-activate-manual option to the client, which triggers
manual activation.
2013-03-21 09:50:10 +01:00
Arman Uguray
9e0a53e697
cli: fix call to --dms-activate-automatic
...
--dms-activate-automatic incorrectly calls
qmi_client_dms_get_activation_state. This patch corrects it
so that it calls qmi_client_dms_activate_automatic.
2013-03-06 15:53:47 -06:00
Shawn J. Goff
70b0d9fd9e
cli,wds: make packet data handle formatting consistent
...
Other values are surrounded by single quotes. The debug test in
utils/qmi-network also shows the output in quotes.
2013-02-15 15:10:05 -06:00
Aleksander Morgado
9e60ef6c0f
cli,nas: fix 2 or 3 digit MNC printing in several actions
...
https://bugs.freedesktop.org/show_bug.cgi?id=59664
2013-01-22 17:17:31 +01:00
Aleksander Morgado
a5631ead91
cli: all sources are GPLv2+
2013-01-14 13:56:37 +01:00
André Valentin
d4057ebd8b
cli: allow specifying auth info in the start network command
2013-01-09 12:14:23 +01:00
André Valentin
e380940cc4
qmicli: update timeout for the start network command
2013-01-09 12:09:52 +01:00
Aleksander Morgado
a4dfb5055f
cli: log messages from the 'Qmi' domain
2012-11-02 12:19:41 +01:00
Aleksander Morgado
482ce26d0f
cli,wds: print connection status string instead of integer
2012-10-25 12:33:53 +02:00
Aleksander Morgado
348f6c99f2
cli: traces enabled if running in verbose mode
2012-10-09 15:23:48 +02:00
Aleksander Morgado
c0c06efb39
build: compile all generated code into a non-installable library
...
Also simplify the build by using BUILT_SOURCES to avoid needing to specify
custom dependency rules.
2012-10-09 12:20:55 +02:00
Dan Williams
b0b1fe3221
cli: format fix
2012-09-27 11:03:39 -05:00
Aleksander Morgado
50ea36c699
nas: Ec/Io given always as a signed integer
2012-09-27 14:28:32 +02:00
Aleksander Morgado
fed55d03d2
cli: skip printing network info for SINR and IO
...
Seems that SINR and IO, even if they are supposedly only meaningful in EV-DO,
may still be given for other networks.
[27 Sep 2012, 11:17:36] [Debug] [/dev/cdc-wdm0] Received message...
>>>>>> QMUX:
>>>>>> length = 49
>>>>>> flags = 0x80
>>>>>> service = "nas"
>>>>>> client = 6
>>>>>> QMI:
>>>>>> flags = "response"
>>>>>> transaction = 1
>>>>>> tlv_length = 37
>>>>>> message = "Get Signal Strength" (0x0020)
>>>>>> TLV:
>>>>>> type = "Result" (0x02)
>>>>>> length = 4
>>>>>> value = 00:00:00:00
>>>>>> translated = SUCCESS
>>>>>> TLV:
>>>>>> type = "Signal Strength" (0x01)
>>>>>> length = 2
>>>>>> value = A8:05
>>>>>> translated = [ strength = '-88' radio_interface = '5' ]
>>>>>> TLV:
>>>>>> type = "RSSI List" (0x11)
>>>>>> length = 4
>>>>>> value = 01:00:58:05
>>>>>> translated = { [0] = '[ rssi = '88' radio_interface = '5' ] '}
>>>>>> TLV:
>>>>>> type = "ECIO List" (0x12)
>>>>>> length = 4
>>>>>> value = 01:00:FC:05
>>>>>> translated = { [0] = '[ ecio = '252' radio_interface = '5' ] '}
>>>>>> TLV:
>>>>>> type = "IO" (0x13)
>>>>>> length = 4
>>>>>> value = 96:FF:FF:FF
>>>>>> translated = -106
>>>>>> TLV:
>>>>>> type = "SINR" (0x14)
>>>>>> length = 1
>>>>>> value = 08
>>>>>> translated = 8
2012-09-27 12:27:03 +02:00
Aleksander Morgado
c3196323bc
cli: avoid shadowing the global `index' variable
2012-09-26 18:44:38 +02:00
Aleksander Morgado
20539c320f
cli: new `--dms-select-stored-image' action
...
Can be run e.g. like:
$> sudo qmicli -d /dev/cdc-wdm0 --dms-select-stored-image="modem1,pri2"
2012-09-26 10:19:53 +02:00
Aleksander Morgado
f8dc62149e
cli: new `--dms-delete-stored-image' action
...
Can be run e.g. like:
$> sudo qmicli -d /dev/cdc-wdm0 --dms-delete-stored-image="pri2"
The passed index is the one given by a previous `--dms-list-stored-images'
action. Please note that if you delete a given image, the listed indexes will
change, so if you want to delete multiple images you'll need to first list
stored images and grab the index and then use that bew index to delete the new
image.
Also, don't try this command many times or you'll run out of images to delete!
2012-09-26 10:19:53 +02:00
Aleksander Morgado
d2b7ea2eea
cli: new `--dms-list-stored-images' action
2012-09-26 10:19:53 +02:00
Aleksander Morgado
d473f9ab35
wds: implement "Verbose Call End Reason" types
2012-08-28 13:18:56 +02:00
Aleksander Morgado
d39c997771
wds: implement "Call End Reason" type
2012-08-28 13:18:56 +02:00
Aleksander Morgado
5dc6797111
cli: avoid redeclaration of variables
2012-08-23 16:20:19 +02:00
Aleksander Morgado
091c83884b
cli,qmi-network: `--start-network' now requires the APN passed as a string
2012-08-23 16:15:03 +02:00
Dan Williams
88290226e7
cli: fix CDMA serving system Network ID label
2012-08-22 20:26:52 -05:00
Aleksander Morgado
a35de0d3bf
cli: add missing line breaks
2012-08-09 17:24:48 +02:00
Aleksander Morgado
60b96a2ee1
cli: new `--nas-get-home-network' action
2012-08-07 16:32:05 +02:00
Aleksander Morgado
527710afee
cli: fix printing MCC/MNC when they're given as strings
2012-08-07 13:48:42 +02:00
Aleksander Morgado
52507a00ef
cli: improve reporting of `--nas-get-system-info' outputs
...
Do not print the technology specific header if the corresponding TLV not given.
Also fix TD-SCDMA header (was printing 'WCDMA').
2012-08-07 11:57:50 +02:00
Aleksander Morgado
46bcc51c60
cli: NAS actions listed before WDS ones
2012-08-03 13:49:58 +02:00
Aleksander Morgado
7952f53756
cli: new `--get-system-info' request/response
2012-08-03 13:47:29 +02:00
Aleksander Morgado
8852e3115d
nas: use `DTM' instead of `Dual Transfer Mode'
2012-08-03 13:47:29 +02:00
Aleksander Morgado
ebfa80154f
nas: consolidate variable names for `QmiNasRadioInterface' types
2012-08-02 12:17:29 +02:00
Aleksander Morgado
81ae1287dc
cli: new `--nas-get-serving-system' action
2012-08-01 16:51:56 +02:00
Aleksander Morgado
b2bc79f28b
nas: fix TLV name; it's PCS digit, not PDS
2012-08-01 15:16:47 +02:00
Aleksander Morgado
46c70e0e56
nas: consolidate preference duration values
2012-07-31 15:36:19 +02:00
Aleksander Morgado
df5db8a02e
cli: new `--nas-get-system-selection-preference' action
2012-07-30 13:16:46 +02:00
Aleksander Morgado
ba317fc234
cli: new `--nas-get-technology-preference' action
2012-07-30 12:55:14 +02:00
Aleksander Morgado
d9313aac3d
cli: skip telling which are the deprecated commands
2012-07-30 12:54:50 +02:00
Aleksander Morgado
eeac0eeb5b
cli: new `--nas-get-signal-info' action
2012-07-25 14:47:22 +02:00
Aleksander Morgado
a85d1f8165
cli: new `--nas-get-signal-strength' action
2012-07-25 14:46:24 +02:00
Aleksander Morgado
b1061d2617
cli: new `--nas-network-scan' action
2012-07-24 18:10:02 +02:00
Aleksander Morgado
c3d7be41de
cli: support NAS service actions
...
Initially just with `--nas-reset' and `--nas-noop'
2012-07-23 14:21:03 +02:00