how to start dedicated bearer through libqmi?

Chen, Jing Jing.Chen at spirent.com
Thu Sep 15 20:37:18 UTC 2016


Hello, Everybody:
Could libqmi do fine operations/controls on the connected QMI device? For example, "+CGACT" is the AT command to control each PDP context or bearer. And, "+CGDATA" is the AT command to send data traffic through specific context ID.

What is the corresponding API function in libqmi to achieve the same goals? I know there is a function "qmi_client_wds_start_network" could start network, with "ifconfig wwan0 up" + "dhclient wwan0 " system commands followed to have the interface up and an IP address allocated.

If my target is to control each default/dedicated bearer in the connected QMI device, assuming the hardware supported, how could I use libqmi to achieve my goal? Thank you so much!

[cid:image001.png at 01D20F56.5B7FC530]

Jing Chen





Spirent Communications e-mail confidentiality.
------------------------------------------------------------------------
This e-mail contains confidential and / or privileged information belonging to Spirent Communications plc, its affiliates and / or subsidiaries. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution and / or the taking of any action based upon reliance on the contents of this transmission is strictly forbidden. If you have received this message in error please notify the sender by return e-mail and delete it from your system.

Spirent Communications plc
Northwood Park, Gatwick Road, Crawley, West Sussex, RH10 9XN, United Kingdom.
Tel No. +44 (0) 1293 767676
Fax No. +44 (0) 1293 767677

Registered in England Number 470893
Registered at Northwood Park, Gatwick Road, Crawley, West Sussex, RH10 9XN, United Kingdom.

Or if within the US,

Spirent Communications,
27349 Agoura Road, Calabasas, CA, 91301, USA.
Tel No. 1-818-676- 2300
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libqmi-devel/attachments/20160915/a2a31b0f/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 24579 bytes
Desc: image001.png
URL: <https://lists.freedesktop.org/archives/libqmi-devel/attachments/20160915/a2a31b0f/attachment-0001.png>


More information about the libqmi-devel mailing list