qmicli -d /var/run/dev/phone0_qmi --wds-start-network=“apn=lteinternet.apn,ip-type=4” --client-no-release-cid -v
[22 Feb 2017, 20:40:24] [Debug] [/var/run/dev/phone0_qmi] Opening device with flags ‘none’…
[22 Feb 2017, 20:40:24] [Debug] QMI Device at ‘/var/run/dev/phone0_qmi’ ready
[22 Feb 2017, 20:40:24] [Debug] [/var/run/dev/phone0_qmi] Assuming service ‘wds’ is supported…
[22 Feb 2017, 20:40:24] [Debug] [/var/run/dev/phone0_qmi] Allocating new client ID…
[22 Feb 2017, 20:40:24] [Debug] [/var/run/dev/phone0_qmi] Sent message…
<<<<<< RAW:
<<<<<< length = 16
<<<<<< data = 01:0F:00:00:00:00:00:01:22:00:04:00:01:01:00:01
[22 Feb 2017, 20:40:24] [Debug] [/var/run/dev/phone0_qmi] Sent message (translated)…
<<<<<< QMUX:
<<<<<< length = 15
<<<<<< flags = 0x00
<<<<<< service = “ctl”
<<<<<< client = 0
<<<<<< QMI:
<<<<<< flags = “none”
<<<<<< transaction = 1
<<<<<< tlv_length = 4
<<<<<< message = “Allocate CID” (0x0022)
<<<<<< TLV:
<<<<<< type = “Service” (0x01)
<<<<<< length = 1
<<<<<< value = 01
<<<<<< translated = wds
[22 Feb 2017, 20:40:24] [Debug] [/var/run/dev/phone0_qmi] Received message…
RAW:
length = 24
data = 01:17:00:80:00:00:01:01:22:00:0C:00:02:04:00:00:00:00:00:01:02:00:01:0A
[22 Feb 2017, 20:40:24] [Debug] [/var/run/dev/phone0_qmi] Received message (translated)…
QMUX:
length = 23
flags = 0x80
service = “ctl”
client = 0
QMI:
flags = “response”
transaction = 1
tlv_length = 12
message = “Allocate CID” (0x0022)
TLV:
type = “Result” (0x02)
length = 4
value = 00:00:00:00
translated = SUCCESS
TLV:
type = “Allocation Info” (0x01)
length = 2
value = 01:0A
translated = [ service = ‘wds’ cid = ‘10’ ]
[22 Feb 2017, 20:40:24] [Debug] [/var/run/dev/phone0_qmi] Registered ‘wds’ (version unknown) client with ID ‘10’
[22 Feb 2017, 20:40:24] [Debug] Network start parameters set (apn: ‘lteinternet.apn’, 3gpp_profile: ‘0’, 3gpp2_profile: ‘0’, auth: ‘unspecified’, username: ‘unspecified’, password: ‘unspecified’, autoconnect: ‘unspecified’)
[22 Feb 2017, 20:40:24] [Debug] Asynchronously starting network…
[22 Feb 2017, 20:40:24] [Debug] [/var/run/dev/phone0_qmi] Sent message…
<<<<<< RAW:
<<<<<< length = 35
<<<<<< data = 01:22:00:00:01:0A:00:01:00:20:00:16:00:19:01:00:04:14:0F:00:6C:74:65:69:6E:74:65:72:6E:65:74:2E:61:70:6E
[22 Feb 2017, 20:40:24] [Debug] [/var/run/dev/phone0_qmi] Sent message (translated)…
<<<<<< QMUX:
<<<<<< length = 34
<<<<<< flags = 0x00
<<<<<< service = “wds”
<<<<<< client = 10
<<<<<< QMI:
<<<<<< flags = “none”
<<<<<< transaction = 1
<<<<<< tlv_length = 22
<<<<<< message = “Start Network” (0x0020)
<<<<<< TLV:
<<<<<< type = “IP Family Preference” (0x19)
<<<<<< length = 1
<<<<<< value = 04
<<<<<< translated = ipv4
<<<<<< TLV:
<<<<<< type = “APN” (0x14)
<<<<<< length = 15
<<<<<< value = 6C:74:65:69:6E:74:65:72:6E:65:74:2E:61:70:6E
<<<<<< translated = lteinternet.apn
[22 Feb 2017, 20:40:25] [Debug] [/var/run/dev/phone0_qmi] Received message…
RAW:
length = 27
data = 01:1A:00:80:01:0A:02:01:00:20:00:0E:00:02:04:00:00:00:00:00:01:04:00:98:C4:CE:43
[22 Feb 2017, 20:40:25] [Debug] [/var/run/dev/phone0_qmi] Received message (translated)…
QMUX:
length = 26
flags = 0x80
service = “wds”
client = 10
QMI:
flags = “response”
transaction = 1
tlv_length = 14
message = “Start Network” (0x0020)
TLV:
type = “Result” (0x02)
length = 4
value = 00:00:00:00
translated = SUCCESS
TLV:
type = “Packet Data Handle” (0x01)
length = 4
value = 98:C4:CE:43
translated = 1137624216
[/var/run/dev/phone0_qmi] Network started
Packet data handle: ‘1137624216’
[/var/run/dev/phone0_qmi] Client ID not released:
Service: ‘wds’
CID: ‘10’
[22 Feb 2017, 20:40:25] [Debug] [/var/run/dev/phone0_qmi] Releasing ‘wds’ client with flags ‘none’…
[22 Feb 2017, 20:40:25] [Debug] [/var/run/dev/phone0_qmi] Unregistered ‘wds’ client with ID ‘10’
[22 Feb 2017, 20:40:25] [Debug] Client released