summaryrefslogtreecommitdiff
path: root/src/libmbim-glib/mbim-message.c
Commit message (Collapse)AuthorAgeFilesLines
* QMI via MBIMCollin McMillan2016-07-051-9/+16
| | | | Signed-off-by: Bjørn Mork <bjorn@mork.no>
* libmbim-glib,message: allow building messages of custom servicesAleksander Morgado2015-02-251-2/+1
| | | | | | | Once a service has been registered, we should allow users of the library to actually build Command messages with the new service. https://bugs.freedesktop.org/show_bug.cgi?id=77225
* libmbim-glib,message: new mbim_message_function_error_new()Aleksander Morgado2014-12-281-0/+27
| | | | To be used by the proxy to mimic modem-generated commands.
* libmbim-glib,message: new helper method to parse responsesAleksander Morgado2014-12-281-0/+70
| | | | | | | | | | | | | The MBIM "Command", "Open" and "Close" request messages can be replied using either a type specific response (e.g. "Command Done", or "Open Done" or "Close Done" or instead using a generic "Function Error" message. In order to ease the users of the library to look for errors in the received responses, the new mbim_message_response_get_result() method expects any of those two previous messages. We also bump version of the library to 1.11.1, to indicate when the new API was introduced, but this is Not a real release.
* libmbim-glib,message: fix size of error messageAleksander Morgado2014-12-281-1/+1
|
* libmbim-glib,proxy: prefer the API to update the message transaction idAleksander Morgado2014-07-311-5/+0
|
* libmbim: Add mbim-proxy supportGreg Suarez2014-07-311-2/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch implements the mbim-proxy support to allow mulitple clients to have concurrent access to the MBIM device through libmbim. The implementation is heavily based on qmi-proxy. The function mbim_device_open_full() is provided for clients to specify that the device should be opened through the mbim-proxy via the flag MBIM_DEVICE_OPEN_FLAGS_PROXY. The function mbim_device_open() will behave as it has before and open the device directly. Proxy Control: A new service UUID is created to allow for clients to control the proxy. This service is currently only used to pass on the device path (/dev/cdc-wdm*) the client is requesting to open. In the future CIDs will be added to allow for setting the MaxControlMessage size and setting timeout for specific messages. Unknown UUIDs: Currently the mbim-proxy will allow messages with unknown UUIDs to pass through. The proxy will track unknown UUIDs sent by the client and device notifications matching the tracked UUID will be sent to the client. Device notifications of known UUIDs will be sent to all connected clients. Signed-off-by: Greg Suarez <gsuarez@smithmicro.com>
* build: update copyright years and authors listAleksander Morgado2014-07-111-1/+1
|
* libmbim: add support for custom servicesArnaud Desmier2014-04-101-4/+4
| | | | | * use mbim_register_custom_service API to register a new service. * use mbim_unregister_custom_service API to unregister it.
* libmbim-glib,mbimcli: consistently use spaces for indentationBen Chan2014-03-061-2/+2
|
* ms-host-shutdown: add support for the Microsoft Host Shutdown serviceBen Chan2014-03-051-1/+1
|
* ms-firmware-id: add support for the Microsoft Firmware ID serviceBen Chan2014-02-271-1/+1
|
* build: move source code under src/Aleksander Morgado2013-12-101-0/+2075