summaryrefslogtreecommitdiff
path: root/docs/reference
AgeCommit message (Collapse)AuthorFilesLines
2021-11-02libmbim-glib,api: rename 'network blacklist' to 'network denylist'Aleksander Morgado1-0/+2
Unfortunately we cannot fully remove the blacklist name forever, as we must keep API. We move it to -compat so that it gets removed whenever we decide to break API.
2021-10-25libmbim-glib,tlv: parsers for wake command and wake packet typesAleksander Morgado1-0/+4
2021-10-25ms-basic-connect-extensions: implement wake-reasonSom_SP1-0/+5
This CID is used by host to query the modem for its wake reason when power up because of device wake. If the device supports this function, but fails the query from host, it means the power up is not caused by a wake from the device. Includes updates by Aleksander Morgado to fix coding style issues, message definitions add missing documentation items.
2021-10-25ms-basic-connect-extensions-v3: implement 'Modem Configuration'Som_SP1-0/+5
This CID is used to notify the host of the configuration progress and parameters of the device. This CID is added as part of MBIM 3.0 extension. Includes updates by Aleksander Morgado to fix coding style issues, memory handling fixes add missing documentation items.
2021-10-24build-aux,codegen: new 'tlv-guint16-array' field typeAleksander Morgado1-0/+2
This is a TLV that contains an array of guint16 values. For now we only add reading support,
2021-10-24libmbim-glib,enums: rename 'MbimDataClassV2' to 'MbimDataClassV3'Aleksander Morgado1-5/+5
The type is introduced in MBIMEx v3.0, so just name it with the v3 suffix, not to confuse with the updated introduced in MBIMEx v2.0, which is compatible with the original type in MBIM v1.0.
2021-10-23docs,reference: add missing entries for mbim_tlv_string_{new|get}Aleksander Morgado1-0/+3
2021-10-12libmbim-glib: new MbimTlv generic typeAleksander Morgado2-0/+21
The Microsoft Extensions define a new generic TLV type that allows including any kind of data in it: from strings, to arrays of uints, to more complex types. We define support for the generic 'tlv' type and the generic 'tlv-list' type, which allow implementing the "unnamed IEs" that are appended to some new messages in the MS extensions. And we also define support for a more specific 'tlv-string', used exclusively when the TLVs are part of the named fields, so that we can provide strings in our libmbim-glib APIs, instead of requiring the user to build MbimTlv instances.
2021-10-12libmbim-glib: implement 'Base Stations Info v3'Aleksander Morgado1-0/+10
2021-10-12build-aux,codegen: generate support for all versions of same service togetherAleksander Morgado1-3/+0
There are service updates that will re-use parts of the previous versions of the same service (e.g. struct types and such). In order to provide an easy way to reference all those common types among versions of the same service, we'll just build all of them together in the same source files.
2021-10-06libmbim-glib,enums: rename MBIM_NW_ERROR_UNKNOWN to MBIM_NW_ERROR_NONEAleksander Morgado1-0/+2
Value 0 in the MbimNwError field reports no error, not an unknown error. We provide a compat symbol to avoid breaking API.
2021-10-06libmbim-glib,ms-basic-connect-extensions-v3: add new service to buildAleksander Morgado1-0/+1
2021-10-06docs,reference: add missing MbimSubscriberReadyStatusFlag flag docsAleksander Morgado1-0/+5
2021-10-06libmbim-glib,ms-basic-connect-v3: add new service to buildAleksander Morgado1-0/+1
2021-10-05docs,reference: add missing enum documentationAleksander Morgado1-0/+20
2021-10-05docs,reference: add 1.28 index referenceAleksander Morgado1-0/+4
2021-09-27docs: add missing references to 'Provisioned Contexts v2' enum typesAleksander Morgado1-0/+20
2021-09-21ms-basic-connect-v2: implement 'Packet Service'Som_SP1-0/+5
This command is an extension for the existing MBIM_CID_PACKET_SERVICE defined in the MBIM specification revision 1.0. This extension adds a new member called FrequencyRange for the response structure and renamed the HighestAvailableDataClass member to CurrentDataClass to clarify its purpose.
2021-09-21ms-basic-connect-v2: new 'MS Basic Connect V2" service and 'Register State' ↵Aleksander Morgado1-0/+1
message This service specifies new versions of the messages (API breaks) in the generic Basic Connect service, and therefore it reuses the same service UUID and message CID definitions as in the original Basic Connect service. Only the 'Register State' message support is implemented at this stage.
2021-09-20libmbim-glib,device: new methods to manage the MBIMEx versionAleksander Morgado1-0/+3
The exchange of the MBIMEx version to use between host and device is exclusively done via the MBIM_DEVICE_OPEN_FLAGS_MS_MBIMEX_V2 flag in the mbim_device_open_full() request. Once this request finishes, the device instance will know which is the MBIMEx version agreed, and the user can gather this same information with the new version getter method. In addition to the version getter, a simple version checker method is also implemented, which allows users of the API to quickly check whether the agreed version is equal or greater than the given one, and this helps writing clear code doing the checks. A new setter method is also provided for the device object, which is supposed to be used when the user already knows which specific version has been agreed between host and device. The setter doesn't do any MBIM interaction with the real device, it just updates its internal records of which the current MBIMEx version is.
2021-09-13build: Add explicit content files to documentationIñigo Martínez1-0/+1
Although not totally necessary due to its implementation, some files built by meson are included as content files. They have been explicitly added for the sake of correctness.
2021-09-13build: Make use of dictionariesIñigo Martínez1-8/+9
meson gained the dictionaries as builtin objects[0] that can be modified with the addition operator[1] and can be useful when setting configuration or even environment values[2]. The individual object creation has been replaced by dictionaries when possible. [0] http://mesonbuild.com/Release-notes-for-0-47-0.html#new-builtin-object-type-dictionary [1] https://mesonbuild.com/Release-notes-for-0-48-0.html#dictionary-addition [2] https://mesonbuild.com/Release-notes-for-0-52-0.html#support-taking-environment-values-from-a-dictionary
2021-09-13build: Use / instead of join_pathsIñigo Martínez1-3/+3
Since meson 0.49, the `/` character can be used to join paths[0], so all the instances of `join_paths` have been replaced. [0] http://mesonbuild.com/Release-notes-for-0-49-0.html#joining-paths-with-
2021-09-13build: Create a variable for the project nameIñigo Martínez1-5/+5
A new variable called `mbim_name` has been created to avoid the call to a function inside the meson object.
2021-07-27build: Remove autotoolsIñigo Martínez2-113/+0
To avoid the burden of maintaining multiple build systems, autotools support has been removed. Fixes #18.
2021-07-25meson: fix SPDX license identifierYegor Yefremov2-2/+2
There is no such license as GPL-2 in the SPDX nomenclature. As the project is licensed under GNU General Public License v2.0 or later, use the related identifier GPL-2.0-or-later.
2021-07-21docs: QDU is defined by QualcommAleksander Morgado1-5/+1
2021-05-31libmbim-glib,ms-uicc-low-level-access: adding cid 'uicc-reset'Som_SP1-0/+10
MSFT MBIM_CID_MS_UICC_RESET is used to reset the UICC or to query passthrough state of the function. If host/application specifies passthrough action, the function resets the UICC and upon UICC power up, treats the UICC as if it were in a passthrough mode. If the passthrough action is disabled during reset operation then upon power up, treats the UICC as a regular Telecom UICC and expects a Telecom UICC file system to be present on the UICC
2021-05-31libmbim-glib,ms-uicc-low-level-access: adding cid 'uicc-apdu'Som_SP1-0/+10
MSFT MBIM_CID_MS_UICC_APDU is used to send a command APDU to a specific logical channel on the UICC and receive the response. Sending entity has to ensure that the logical channel was previously opened with uicc-open channel. Refer section 10.1.1 of ETSI TS 102 221 TS for more details on apdu encoding/decoding.
2021-05-31libmbim-glib,ms-uicc-low-level-access: adding cid 'uicc-atr'Som_SP3-1/+9
The Answer to Reset(ATR) CID implementation. ATR is the first string of bytes sent by the UICC after reset has been performed. Host should save this ATR when it is received from UICC for future use.
2021-05-26ms-basic-connect-extensions: implement 'Slot Info Status'ZhangMingjie1-0/+5
We query device slot information status and we can see the following information. mbimcli -d /dev/cdc-wdm0 -p --ms-query-slot-info-status=1 [/dev/cdc-wdm0] Slot info status retrieved: SLot 1: slot-state-active
2021-05-04libmbim-glib,ms-basic-connect-extensions: rework 'LTE attach status'Aleksander Morgado1-0/+9
The "LTE Attach Status" message was relying on a bogus MbimLteAttachStatus struct that was created by the library and passed as output of the parser methods to the user. This struct is completely avoidable, just by updating the messages to include the fields directly in the response/notification fields. We rename the method to 'LTE attach info' following this approach, and compatibility symbols are included in order to avoid breaking API/ABI.
2021-05-03build: port to meson build systemIñigo Martínez3-0/+91
meson is a build system focused on speed an ease of use, which helps speeding up the software development. This patch adds meson support along autotools.
2021-04-28docs,libmbim-glib: add missing QDU related referencesAleksander Morgado1-0/+21
2021-04-28api: add QDU service for modem firmware upgradelywpljw3-0/+16
QDU (Qualcomm Device Upgrade) is required for Qualcomm modem firmware upgrade. Signed-off-by: lywpljw <327669727@qq.com>
2021-03-09libmbim-glib,device: new method to check if link management is supportedAleksander Morgado1-0/+1
2021-03-09libmbim-glib,device: new method to delete all linksAleksander Morgado1-0/+2
2021-03-09libmbim-glib,device: new list links operationAleksander Morgado1-0/+1
We rely on sysfs to tell us which links a given network interface already has.
2021-03-09libmbim-glib,device: new link add/delete operationsAleksander Morgado2-1/+10
The MBIM devices support multiplexing as part of the protocol itself, and in the cdc_mbim driver this feature has been supported from the very first version of the driver. In the cdc_mbim driver, MBIM IP sessions are mapped to VLAN IDs matching the MBIM session IDs, and so we can use netlink operations to request adding or removing links as appropriate. This operation is completely equivalent to the link management operations done in libqmi when using RMNET, so the new net port manager internal object running the netlink operations is highly based on the QmiNetPortManagerRmnet class defined in libqmi-glib. Unlike in the libqmi case, there are no other supported net link management backends, just one, so the MbimNetPortManager is not an abstract class, it is instead the class implementing support for the single cdc_mbim backend.
2021-03-09libmbim-glib,helpers: move all private helper methods to separate filesAleksander Morgado1-1/+2
Instead of having them listed in the installed mbim-utils.h
2021-01-17core: update copyright years to 2021Aleksander Morgado1-0/+1
2021-01-17docs: add 'online-location' referenceAleksander Morgado1-1/+4
2021-01-10docs: add missing doc for Transmission Status related enumsAleksander Morgado1-0/+10
2020-11-26docs: add API index for 1.26Aleksander Morgado1-0/+4
2020-11-26sar: new serviceAleksander Morgado3-0/+23
For now just with the "Config" message, and mbimcli query support.
2020-11-26build: fix distcheck with new gtk-docAleksander Morgado1-0/+1
The .actions file is generated by newer gtk-doc releases, we just treat it as e.g. the .signals or .types files. This is also already fixed in upstream gtk-doc: https://gitlab.gnome.org/GNOME/gtk-doc/-/merge_requests/61
2020-10-01libmbim-glib,device: get_transaction_id() already in 1.24.4Aleksander Morgado1-3/+3
(cherry picked from commit 2f870ec400c4c12513d809eccde1da34e80f7d9f)
2020-10-01docs: add missing references to mbim_device_get_transaction_id()Aleksander Morgado2-0/+5
2020-05-18docs,libmbim-glib: include API indicesAleksander Morgado1-3/+47
2020-01-03build: bump copyright years to 2020Aleksander Morgado1-0/+1