summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* libmbim-glib,device: match transaction also by typealeksander/transaction-match-with-typeAleksander Morgado2014-06-101-16/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There's this Huawei E820W which replies several OPEN DONE messages, even using a transaction ID which doesn't belong to the original OPEN message. E.g. Send OPEN message (transaction 1) <<<<<< RAW: <<<<<< length = 16 <<<<<< data = 01:00:00:00:10:00:00:00:01:00:00:00:00:06:00:00 Get OPEN DONE message (transaction 1) >>>>>> RAW: >>>>>> length = 16 >>>>>> data = 01:00:00:80:10:00:00:00:01:00:00:00:00:00:00:00 Send COMMAND message (transaction 2) <<<<<< RAW: <<<<<< length = 48 <<<<<< data = 03:00:00:00:30:00:00:00:02:00:00:00:01:00:... Receive OPEN DONE message (transaction 2) <---------- ERROR >>>>>> RAW: >>>>>> length = 16 >>>>>> data = 01:00:00:80:10:00:00:00:02:00:00:00:00:00:00:00 Then, get the COMMAND DONE message (transaction 2) as we expected >>>>>> RAW: >>>>>> length = 208 >>>>>> data = 03:00:00:80:D0:00:00:00:02:00:00:00:01:00:00:00:... So, in order to handle this, match responses not only by transaction ID, but also by expected message type.
* libmbim-glib,uuid: fix mbim_service_lookup_name() declarationAleksander Morgado2014-04-101-1/+1
|
* libmbim-glib,uuid: add missing documentation for the new custom service methodsAleksander Morgado2014-04-101-1/+20
|
* libmbim: add support for custom servicesArnaud Desmier2014-04-105-5/+170
| | | | | * use mbim_register_custom_service API to register a new service. * use mbim_unregister_custom_service API to unregister it.
* libmbim-glib: add additional GMM cause codes to MbimNwErrorBen Chan2014-03-101-13/+55
| | | | | This patch adds additional GMM cause codes defined in the 3GPP TS 24.008 specification to MbimNwError.
* data: add libmbim iconAleksander Morgado2014-03-091-0/+197
|
* release: bump version to 1.9.0 (development)Aleksander Morgado2014-03-061-1/+1
|
* release: bump version to 1.8.01.8.0Aleksander Morgado2014-03-061-4/+4
|
* NEWS: updateAleksander Morgado2014-03-061-0/+20
|
* libmbim-glib,docs: add short descriptions to the sectionsAleksander Morgado2014-03-064-0/+4
|
* libmbim-glib: small layer for backwards compatibilityAleksander Morgado2014-03-066-6/+178
|
* libmbim-glib: fix typo in MBIM_CID_DEVICE_SERVICE_SUBSCRIBE_LISTBen Chan2014-03-064-8/+8
| | | | | | | This patch renames 'MBIM_CID_DEVICE_SERVICE_SUBSCRIBER_LIST' to 'MBIM_CID_DEVICE_SERVICE_SUBSCRIBE_LIST' to be consistent with the MBIM specification. This CID is for subscribing notifications for CIDs that the host is interested in, and is not related to mobile 'subscriber'.
* libmbim-glib,mbimcli: consistently use spaces for indentationBen Chan2014-03-068-46/+46
|
* license: add GPLv2+ license in addition to the LGPLv2+ oneAleksander Morgado2014-03-054-415/+760
| | | | | | | | This is not a license change; the library is still LGPLv2+, and the command line tool GPLv2+. For reference, see libqmi bug: https://bugs.freedesktop.org/show_bug.cgi?id=74220
* docs: add documentation for the new 'MS Host Shutdown' serviceAleksander Morgado2014-03-053-1/+9
|
* mbimcli: new '--ms-notify-host-shutdown' actionBen Chan2014-03-054-24/+197
|
* ms-host-shutdown: add support for the Microsoft Host Shutdown serviceBen Chan2014-03-0512-35/+179
|
* libmbim-glib,uuid: validate str contents before converting to UUIDAleksander Morgado2014-03-051-27/+29
| | | | | And avoid sscanf(). A single loop to validate contents and build the result is enough.
* mbimcli: new helper method to read uints from stringsAleksander Morgado2014-03-056-48/+88
|
* mbimcli,dss: use the new 'mbim_uuid_from_printable()'Aleksander Morgado2014-03-041-34/+1
|
* libmbim-glib,uuid: make sure sscanf() reads 16 itemsAleksander Morgado2014-03-041-1/+1
|
* libmbim-glib,uuid: check dashes positions before the sscanf()Aleksander Morgado2014-03-041-12/+17
| | | | The sscanf() parser seems not good enough to catch mismatched dashes.
* libmbim-glib,uuid: new 'mbim_uuid_from_printable()'Aleksander Morgado2014-03-044-4/+134
|
* mbimcli: fix minor style issuesAleksander Morgado2014-03-042-71/+65
|
* mbimcli: new --dss-connect and --dss-disconnect actionsScott Lee2014-03-044-1/+341
|
* mbimcli: increase timeout of device open operationBen Chan2014-03-041-1/+1
| | | | | | | A MBIM device typically delays its response to an 'Open' command when it has not completed the initialization process. This patch increases the timeout of the MBIM device open operation from 15s to 30s to handle situations where the device takes much longer to initialize.
* basic-connect: implement 'Emergency Mode' notification handlingBen Chan2014-03-031-1/+4
|
* basic-connect: fix notification code generationBen Chan2014-03-031-12/+12
|
* mbimcli: new '--set-radio-state' actionBen Chan2014-02-281-0/+34
|
* mbimcli: check status code in command-done message before parsing responseBen Chan2014-02-283-9/+45
| | | | | | | | This patch adds missing mbim_message_command_done_get_result() checks in mbimcli to ensure that the status code in a command-done message reports no error before parsing further parsing the response. It also adds missing mbim_message_unref() calls to ensure that the response is freed in case of an error.
* docs: add missing documentation for the MS Firmware ID serviceAleksander Morgado2014-02-273-1/+9
|
* mbimcli: new '--ms-query-firmware-id' actionBen Chan2014-02-274-9/+196
|
* ms-firmware-id: add support for the Microsoft Firmware ID serviceBen Chan2014-02-2712-32/+177
|
* mbimcli: fix a typoBen Chan2014-02-271-1/+1
|
* mbimcli: consolidate VALIDATE_UNKNOWN definitions in one common placeBen Chan2014-02-263-37/+3
|
* basic-connect: implement 'Subscriber Ready Status' notification handlingBen Chan2014-02-261-1/+16
|
* mbimcli: use g_strfreev instead of g_free to free g_strsplit resultsBen Chan2014-02-241-8/+7
| | | | | | | This patch modifies set_pin_input_parse and set_connect_activate_parse in mbimcli-basic-connect.c to duplicate the strings in a string array, before returning them to the caller, so that the string array can be properly freed with g_strfreev.
* basic-connect,stk: make naming more consistentBen Chan2014-02-202-8/+8
| | | | Also fixes a few indentation issues.
* libmbim-glib: fix typo in MbimRegistrationFlagBen Chan2014-02-181-4/+4
| | | | | | This patch renames 'MBIM_REGISTRATION_FLAG_MANUAL_PACKET_SERVICE_AUTOMATIC_ATTACH' in MbimRegistrationFlag to 'MBIM_REGISTRATION_FLAG_PACKET_SERVICE_AUTOMATIC_ATTACH' to be consistent with the MBIM specification.
* mbimcli: fix incorrect enumeration type conversionsBen Chan2014-02-101-2/+2
| | | | | | | | | | | | | | This patch fixes the following incorrect enumeration type conversions: mbimcli-basic-connect.c:298:52: error: implicit conversion from enumeration type 'MbimVoiceClass' to different enumeration type 'MbimDeviceType' [-Werror,-Wenum-conversion] voice_class_str = mbim_device_type_get_string (voice_class); ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~ mbimcli-basic-connect.c:1595:51: error: implicit conversion from enumeration type 'MbimActivationCommand' to different enumeration type 'MbimActivationState' [-Werror,-Wenum-conversion] MBIM_ACTIVATION_COMMAND_ACTIVATE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* libmbim-glib: remove invalid Context Type UUID conversionBen Chan2014-02-101-3/+0
| | | | | | | | | | This patch removes the following invalid conversion from UUID_DSS to a MBIM Context Type enumeration type: mbim-uuid.c:343:16: error: implicit conversion from enumeration type 'MbimService' to different enumeration type 'MbimContextType' [-Werror,-Wenum-conversion] return MBIM_SERVICE_DSS; ~~~~~~ ^~~~~~~~~~~~~~~~
* libmbim-glib: mbim-device: Decouple logic for cancellable from timeout when ↵Greg Suarez2014-02-061-12/+12
| | | | | | | | | storing transaction Decouple the logic for connecting a cancellable from adding a timeout. Also check if the cancellable has been connected already. Signed-off-by: Greg Suarez <gpsuarez2512@gmail.com>
* libmbim-glib: mbim-device: Fix adding multiple timeouts for a transactionGreg Suarez2014-02-061-15/+18
| | | | | | | | | | | | | When receiving multiple fragments device_store_transaction() is called for each fragment received thus adding a timeout callback for each fragment. A timeout callback is only removed when all fragments are received thus leaving dangling timeout callbacks. This leads to a crash when the MbimDevice is finalized. This patch checks if the transaction has already registered a timeout callback before adding a new one. Signed-off-by: Greg Suarez <gpsuarez2512@gmail.com>
* build: ignore python cacheAleksander Morgado2014-01-201-0/+1
|
* release: bump version to 1.7.0 (development)Aleksander Morgado2013-12-101-1/+1
|
* release: bump version to 1.6.01.6.0Aleksander Morgado2013-12-101-2/+2
|
* NEWS: updateAleksander Morgado2013-12-101-0/+17
|
* build: move source code under src/Aleksander Morgado2013-12-1036-96/+99
|
* mbimcli: increase timeout for --query-visible-providers to 120sBen Chan2013-12-091-1/+1
|
* mbimcli,phonebook: merge '--phonebook-entry-update' into '--phonebook-write'Aleksander Morgado2013-10-091-54/+38
| | | | | Just let '--phonebook-write' have an additional optional argument indicating the entry index to update. If no index given, a new entry will be created.