Commit Graph

243 Commits

Author SHA1 Message Date
Aleksander Morgado 97dd92c9b8 nas: let `QmiNasRadioInterface' be a signed value
We'll use (-1) when we don't need to specify a specific value in Set requests.
2012-08-02 12:16:10 +02:00
Aleksander Morgado bd6257f8eb nas: add missing TLV prerequisites 2012-08-01 16:51:56 +02:00
Aleksander Morgado fd65ff12d2 nas: implement "Get Serving System" request/response 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 19f0d52063 nas: implement "Config Signal Info" request/response 2012-08-01 07:38:25 +02:00
Aleksander Morgado 007af2cdfc nas: implement "Signal Info" indication 2012-07-31 18:41:59 +02:00
Aleksander Morgado f5fe4debcb nas: implement "Set Technology Preference" request/response 2012-07-31 15:36:19 +02:00
Aleksander Morgado 46c70e0e56 nas: consolidate preference duration values 2012-07-31 15:36:19 +02:00
Aleksander Morgado 2ea1993e7a nas: implement "Set System Selection Preference" request/response 2012-07-31 09:42:21 +02:00
Bjørn Mork 6e06fa29c2 nas: fix TLV numbering in "Get System Selection Preference" 2012-07-30 15:14:13 +02:00
Bjørn Mork 5fa8cc850a nas: 'Persistent' is not mandatory in "Get Technology Preference" 2012-07-30 15:09:18 +02:00
Aleksander Morgado 79378a0c3c nas: implement "Get Technology Preference" request/response 2012-07-27 13:55:05 +02:00
Aleksander Morgado 5c1da2fcbd nas: implement "Get System Selection Preference" request/response 2012-07-26 14:24:01 +02:00
Aleksander Morgado c2a39c9488 nas: fix several sign related issues in signal strength/info reporting
So, what a nightmare.

In the deprecated "Get Signal Strength" message:
 * Signal strength given as signed integer in 1 dBm units.
 * RSSI given as an unsigned integer in (-1) dBm units.

While in the new "Get Signal Info" message:
 * RSSI given as a signed integer in 1 dBm units.

Then, these seem to be represented in the same way in both messages:
 * ECIO given as an unsigned integer in (-0.5) dBm units.
 * IO given as a signed integer in 1 dBm units.
 * RSRQ given as a signed integer in 1 dBm units.
 * LTE SNR given as a signed integer in (0.1 dB) units.
 * LTE RSRP given as a signed integer in 1 dBm units.
2012-07-25 14:46:24 +02:00
Aleksander Morgado 20c9f0d306 nas: implement "Get Signal Info" request/response 2012-07-25 14:46:24 +02:00
Aleksander Morgado 062567f98b nas: implement "Network Scan" request/response 2012-07-24 13:56:18 +02:00
Aleksander Morgado 9a0e77a188 nas: implement "Get Signal Strength" request/response 2012-07-24 13:56:18 +02:00
Aleksander Morgado 00f9848cd4 nas: implement "Register Indications" request/response 2012-07-24 13:56:17 +02:00
Aleksander Morgado 3937b2da9a nas: implement "Event Report" indication 2012-07-24 13:56:17 +02:00
Aleksander Morgado 1afd81e48c nas: implement "Set Event Report" request/response 2012-07-24 11:56:25 +02:00
Aleksander Morgado 168e56e13f nas: implement NAS service support, including the "Reset" request/response 2012-07-23 14:15:21 +02:00
Aleksander Morgado 8fd8e001ef wds: implement "Reset" request/response 2012-07-23 14:04:55 +02:00
Aleksander Morgado 800ea005a8 dms: implement "Reset" request/response 2012-07-23 14:04:34 +02:00
Aleksander Morgado a270ecc412 ctl: implement "Sync" indication 2012-07-23 13:30:51 +02:00
Aleksander Morgado c919b72f5f dms: implement "Event Report" indication 2012-07-23 12:54:21 +02:00
Aleksander Morgado 48c14723d7 dms: implement "Set Event Report" request/response 2012-07-23 12:54:14 +02:00
Aleksander Morgado 6423f5b9aa wds: order messages by ID 2012-07-23 12:31:28 +02:00
Aleksander Morgado d86c8fe926 wds: added info about the service version when each message was introduced 2012-07-23 12:30:39 +02:00
Aleksander Morgado dd662f3c6e dms: added info about the service version when each message was introduced 2012-07-23 12:28:20 +02:00
Aleksander Morgado 14d8501fd9 dms: implement "Set Service Programming Code" request/response 2012-07-18 14:39:33 +02:00
Aleksander Morgado 38964e2569 dms: implement "Get Software Version" request/response 2012-07-18 14:39:33 +02:00
Aleksander Morgado e782c3ff56 dms: implement "Get/Set Alt Net Config" requests/responses 2012-07-18 14:39:33 +02:00
Aleksander Morgado 40ab86cd29 dms: implement "Set Time" request/response 2012-07-18 14:39:33 +02:00
Aleksander Morgado f87cab6257 dms: implement "Get Factory SKU" request/response 2012-07-18 14:39:33 +02:00
Aleksander Morgado a716fae8e8 dms: implement "Get Band Capabilities" request/response
This message requires 64-bit flags values, which cannot be supported by GLib's
GFlagsClass/GFlagsValue. Therefore, we tell `glib-mkenums' to skip those enums,
and just provide the helper _build_string_from_mask() method ourselves.
2012-07-18 14:39:33 +02:00
Aleksander Morgado a9ff739dbb dms: implement "UIM Unblock CK" request/response 2012-07-17 14:15:32 +02:00
Aleksander Morgado 14e1c1783f dms: implement "UIM Set CK Protection" request/response 2012-07-17 14:15:27 +02:00
Aleksander Morgado 9c2095975b dms: implement "UIM Get CK Status" request/response 2012-07-17 13:53:33 +02:00
Aleksander Morgado a3da67f54f dms: implement "Validate Service Programming Code" request/response 2012-07-17 13:53:32 +02:00
Aleksander Morgado 3256af4470 dms: implement "Restore Factory Defaults" request/response 2012-07-17 09:15:06 +02:00
Aleksander Morgado 9a9c6cd9f0 dms: implement "Read ERI File" request/response 2012-07-16 17:40:12 +02:00
Aleksander Morgado 844935d100 dms: implement "Write User Data" request/response 2012-07-16 17:40:12 +02:00
Aleksander Morgado 4ff28b999b dms: implement "Read User Data" request/response 2012-07-16 17:31:49 +02:00
Aleksander Morgado 48e72a9f65 dms: implement "Set User Lock Code" request/response 2012-07-16 10:07:32 +02:00
Aleksander Morgado 7b6a0b64a6 dms: implement "Set User Lock State" request/response 2012-07-16 09:50:30 +02:00
Aleksander Morgado d5eb8da6af dms: implement "UIM Get State" request/response 2012-07-16 09:13:48 +02:00
Aleksander Morgado 06c367aa4d dms: implement "Get User Lock State" request/response 2012-07-06 10:28:27 +02:00
Aleksander Morgado 807e41161a dms: implement "Activate Manual" request/response
The 'Preferred Roaming List' TLV (0x13) is not yet supported, as it involves
working with a very specific case not yet handled by qmi-codegen. Added a TODO
task for that.
2012-07-06 09:52:22 +02:00
Aleksander Morgado 1d442db46a dms: implement "Activate Automatic" request/response 2012-07-06 09:52:22 +02:00
Aleksander Morgado 4f383a48c6 dms: implement "Get Activation State" request/response 2012-07-06 06:55:11 +02:00
Aleksander Morgado 1d9636c1e7 ctl: implement "Set Instance ID" request/response 2012-07-05 09:10:53 +02:00
Aleksander Morgado 76e11e8f50 dms: implement "Get PRL version" request/response 2012-07-04 16:28:48 +02:00
Aleksander Morgado 0c730b2beb dms,cli: include optional TLVs in the "Get Time" request/response handling 2012-07-04 16:06:00 +02:00
Aleksander Morgado 8399b550b4 dms: implement "Get Time" request/response 2012-07-04 16:00:39 +02:00
Aleksander Morgado 442af9d9b6 wds: use the `sequence' type for struct TLVs 2012-07-03 16:08:58 +02:00
Aleksander Morgado 55533d2212 dms: use the new `sequence' type for struct TLVs 2012-07-03 16:08:58 +02:00
Aleksander Morgado 2ee78ed503 ctl: use the new `sequence' type for struct TLVs 2012-07-03 16:08:58 +02:00
Aleksander Morgado 0d99556096 dms: implement "UIM Get IMSI" request/response 2012-07-03 16:08:58 +02:00
Aleksander Morgado eefe0a0ece dms: implement "UIM Get ICCID" request/response 2012-07-03 16:08:58 +02:00
Aleksander Morgado 0844c016c6 dms: include 'UIM' prefix for the UIM-related actions 2012-07-03 16:08:58 +02:00
Aleksander Morgado 0a07f3d4ea dms: implement "Set Operating Mode" request/response 2012-07-03 16:08:58 +02:00
Aleksander Morgado e984436653 dms: implement "Get Operating Mode" request/response 2012-07-03 16:08:57 +02:00
Aleksander Morgado 18461a70b3 dms: implement "Get Hardware Revision" request/response 2012-07-03 16:08:57 +02:00
Aleksander Morgado 72000ab975 dms: implement "Get PIN Status" request/response 2012-07-03 16:08:57 +02:00
Aleksander Morgado 20c56ede36 dms: implement "Change PIN" request/response 2012-07-03 16:08:57 +02:00
Aleksander Morgado fe13a76a7a dms: implement "Unblock PIN" request/response 2012-07-03 16:08:57 +02:00
Aleksander Morgado a74dd19cdb dms: implement "Verify PIN" request/response 2012-07-03 16:08:57 +02:00
Aleksander Morgado 1229dea379 dms: Retries left info only given on error when setting PIN protection 2012-07-03 16:08:57 +02:00
Aleksander Morgado 0aa65b2b8e dms: implement "Set PIN Protection" request/response 2012-07-03 16:08:56 +02:00
Aleksander Morgado 95d94f7a8b dms: implement "Get Power State" request/response 2012-07-03 16:08:56 +02:00
Aleksander Morgado 658c0ff1ad dms: implement "Get MSISDN" request/response 2012-07-03 16:08:56 +02:00
Aleksander Morgado 0a92dad298 dms: implement "Get Revision" request/response 2012-07-03 16:08:56 +02:00
Aleksander Morgado aa99d5f745 dms: implement "Get Model" request/response 2012-07-03 16:08:56 +02:00
Aleksander Morgado 0dc34b2d51 dms: implement "Get Manufacturer" request/response 2012-07-03 16:08:56 +02:00
Aleksander Morgado b98b20ede7 dms: implement "Get Capabilities" request/response 2012-07-03 16:08:56 +02:00
Aleksander Morgado 021e04fcab data: let the `Result' field be specified only once per service-specific file 2012-07-03 16:08:56 +02:00
Aleksander Morgado 55e1355400 build: provide pkg-config setup for the library 2012-07-03 16:08:56 +02:00
Aleksander Morgado fcfc83b1c6 build: add missing json files in dist 2012-07-03 16:08:56 +02:00
Aleksander Morgado 8fe7fae49a qmi-codegen: require a `Service' object in the JSON list 2012-07-03 16:08:55 +02:00
Aleksander Morgado 7e5cdc9b78 core: new types to handle the `Get Data Bearer Technology' response
Also, make the 'last' TLV optional.
2012-07-03 16:08:55 +02:00
Aleksander Morgado 6fb803907a core: new types to handle the `Get Current Data Bearer Technology' response
We define new enums and flags to easier handle the response to the
`Get Current Data Bearer Technology' request.
2012-07-03 16:08:55 +02:00
Aleksander Morgado d762d77607 core: new `QmiWdsConnectionStatus' type
This new type is the `public-format' of the guint8 status given in the Get
Packet Service Status response.
2012-07-03 16:08:55 +02:00
Aleksander Morgado 2b5c76bb80 data: use the `QmiService' enum in the CTL interface instead of raw guint8 2012-07-03 16:08:55 +02:00
Aleksander Morgado c96f701b15 qmi-codegen: type for members of the struct given in the `format' field 2012-07-03 16:08:55 +02:00
Aleksander Morgado 6e6279e486 data: add comment lines to separate objects in list 2012-07-03 16:08:54 +02:00
Aleksander Morgado 39a2d58f8d data: use new `Success' common prerequisite type 2012-07-03 16:08:54 +02:00
Aleksander Morgado 758992dc0a qmi-codegen: `prerequisites' will always be a list of dicts 2012-07-03 16:08:54 +02:00
Aleksander Morgado de514133ce qmi-codegen: use a `common-ref' field to specify common dictionaries, like TLVs 2012-07-03 16:08:54 +02:00
Aleksander Morgado 5ee73a0f3e core: use new autogenerated code for the WDS service 2012-07-03 16:08:54 +02:00
Aleksander Morgado 39de72d0b2 data: add database of WDS messages 2012-07-03 16:08:54 +02:00
Aleksander Morgado 4e21e3991f core: use new autogenerated code for the DMS service 2012-07-03 16:08:54 +02:00
Aleksander Morgado fe3d7e34cc data: let the `Result' TLV be a common type 2012-07-03 16:08:54 +02:00
Aleksander Morgado 9182c49222 data: add database of CTL messages 2012-07-03 16:08:53 +02:00