Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-07-05 | cli: new `--device-open-instance-id' optional switchinstance-id | Aleksander Morgado | |
This new switch allows user to decide whether the instance ID needs to be explicitly set when the `QmiDevice' gets opened. This new option requires a string containing the instance ID to be set, e.g.: $ sudo qmicli --dms-get-manufacturer \ -d /dev/cdc-wdm0 \ --device-open-instance-id=5 | |||
2012-07-05 | libqmi-glib,device: provide support for setting instance ID when opening | Aleksander Morgado | |
The instance ID value is given when the `QmiDevice' gets created, and set in the remote device optionally when the device gets opened. A new flag is provided to decide whether the "Set Instance ID" message needs to be sent: QMI_DEVICE_OPEN_FLAGS_INSTANCE_ID | |||
2012-07-05 | ctl: implement "Set Instance ID" request/response | Aleksander Morgado | |
2012-07-05 | qmicli: increase default timeout when opening the `QmiDevice' to 15s | Aleksander Morgado | |
2012-07-05 | qmi-codegen: fix including message name on error string | Aleksander Morgado | |
2012-07-04 | cli: new `--dms-get-prl-version' action | Aleksander Morgado | |
2012-07-04 | dms: implement "Get PRL version" request/response | Aleksander Morgado | |
2012-07-04 | dms,cli: include optional TLVs in the "Get Time" request/response handling | Aleksander Morgado | |
2012-07-04 | cli: new `--dms-get-time' action | Aleksander Morgado | |
2012-07-04 | dms: implement "Get Time" request/response | Aleksander Morgado | |
2012-07-04 | qmi-codegen: handle uints of arbitrary sizes | Aleksander Morgado | |
The code generator can now handle uints of arbitrary sizes (<= guint64), which are read into guint64 variables. | |||
2012-07-04 | libqmi-glib,utils: new read/write methods for uint types of arbitrary size | Aleksander Morgado | |
The new qmi_utils_(read|write)_sized_guint_(from|to)_buffer() methods allow reading unsigned integers of non-standard sizes, like for example 6 bytes. The read/written number is always provided as a guint64 value. | |||
2012-07-04 | libqmi-glib,test: new unit tests for the integer read/write operations | Aleksander Morgado | |
2012-07-04 | qmi-codegen: handle 64-bit signed/unsigned integers | Aleksander Morgado | |
2012-07-03 | build: prepare sources to treat `libqmi-glib' not as the only library | Aleksander Morgado | |
Instead of keeping the libqmi-glib sources under `src', we'll have a more specific `libqmi-glib' directory instead. Also, update autotools to reflect as `libqmi' the name of the project. | |||
2012-07-03 | qmi-network: add missing copyright header | Aleksander Morgado | |
2012-07-03 | AUTHORS: include Dan and Thomas | Aleksander Morgado | |
2012-07-03 | qmi-codegen: don't generate enums for the TLV ids | Aleksander Morgado | |
2012-07-03 | qmi-codegen: use `g_array_set_clear_func()' to clear array contents | Aleksander Morgado | |
Bumped required glib version to 2.32. Actually... there is no real issue with keeping 2.28 as minimum required version, as for now there's no array element which requires clearing, but anyway, given that QMI is to be used in quite recent kernels, it shouldn't be a big issue to require a recent glib as well. | |||
2012-07-03 | wds: use the `sequence' type for struct TLVs | Aleksander Morgado | |
2012-07-03 | dms: use the new `sequence' type for struct TLVs | Aleksander Morgado | |
2012-07-03 | ctl: use the new `sequence' type for struct TLVs | Aleksander Morgado | |
2012-07-03 | qmi-codegen: new `sequence' variable type | Aleksander Morgado | |
The `sequence' variable types are defined in the same way as `struct' types, but the generated implementation is completely different: * Struct TLVs will generate public struct types, and the getter/setter methods will pass a single variable of that new struct type. * Sequence TLVs will not generate any new public nor private type. The getter and setter methods will pass N items, one for each member of the sequence. It should be safe to do so and maintain API/ABI compatibility afterwards, as existing TLVs are not expected to change. | |||
2012-07-03 | qmi-codegen: let variables decide how the getter/setter methods pass them | Aleksander Morgado | |
And change the structs to be passed by reference. | |||
2012-07-03 | cli: new `--dms-uim-get-imsi' action | Aleksander Morgado | |
2012-07-03 | dms: implement "UIM Get IMSI" request/response | Aleksander Morgado | |
2012-07-03 | cli: new `--dms-uim-get-iccid' action | Aleksander Morgado | |
2012-07-03 | dms: implement "UIM Get ICCID" request/response | Aleksander Morgado | |
2012-07-03 | dms: include 'UIM' prefix for the UIM-related actions | Aleksander Morgado | |
2012-07-03 | device: when opening, run several version checks if requested | Aleksander Morgado | |
When early requests arrive to the modem, when it is still internally initializing, the modem may completely discard the requests and our actions get timed out. In order to try to avoid that, instead of a single version-check with N seconds timeout, we'll try N version-check requests with 1s timeout. | |||
2012-07-03 | device: ensure we remove the watch when closing the channel | Aleksander Morgado | |
2012-07-03 | cli: new '--dms-set-operating-mode' action | Aleksander Morgado | |
2012-07-03 | dms: implement "Set Operating Mode" request/response | Aleksander Morgado | |
2012-07-03 | cli: new `--dms-get-operating-mode' action | Aleksander Morgado | |
2012-07-03 | dms: implement "Get Operating Mode" request/response | Aleksander Morgado | |
2012-07-03 | cli: new `--dms-get-hardware-revision' action | Aleksander Morgado | |
2012-07-03 | dms: implement "Get Hardware Revision" request/response | Aleksander Morgado | |
2012-07-03 | cli: new `--dms-get-pin-status' action | Aleksander Morgado | |
2012-07-03 | dms: implement "Get PIN Status" request/response | Aleksander Morgado | |
2012-07-03 | cli: consolidate string argument reading | Aleksander Morgado | |
2012-07-03 | cli: new `--dms-change-pin' action | Aleksander Morgado | |
Allows to change the PIN, e.g (from 1234 to 4321): $> sudo qmicli -d /dev/cdc-wdm0 \ --dms-change-pin="PIN,1234,4321" | |||
2012-07-03 | dms: implement "Change PIN" request/response | Aleksander Morgado | |
2012-07-03 | cli: new `--dms-unblock-pin' action | Aleksander Morgado | |
Allows to unblock the PIN, e.g (being 9999 the PUK and 1234 the new PIN to set): $> sudo qmicli -d /dev/cdc-wdm0 \ --dms-unblock-pin="PIN,9999,1234" | |||
2012-07-03 | dms: implement "Unblock PIN" request/response | Aleksander Morgado | |
2012-07-03 | cli: new `--dms-verify-pin' action | Aleksander Morgado | |
Allows to verify the PIN, e.g: $> sudo qmicli -d /dev/cdc-wdm0 \ --dms-verify-pin="PIN,1234" | |||
2012-07-03 | dms: implement "Verify PIN" request/response | Aleksander Morgado | |
2012-07-03 | cli: new `--dms-set-pin-protection' action | Aleksander Morgado | |
Allows to enable/disable PIN protection, e.g: $> sudo qmicli -d /dev/cdc-wdm0 \ --dms-set-pin-protection="PIN,enable,1234" $> sudo qmicli -d /dev/cdc-wdm0 \ --dms-set-pin-protection="PIN,disable,1234" | |||
2012-07-03 | dms: Retries left info only given on error when setting PIN protection | Aleksander Morgado | |
2012-07-03 | build: distribute qmi-ctl.h | Aleksander Morgado | |
2012-07-03 | cli: new `--dms-get-power-state' action | Aleksander Morgado | |