# MC7354 : Got QMI error: 'CallFailed' when starting network

**URL:** <https://forum.sierrawireless.com/t/mc7354-got-qmi-error-callfailed-when-starting-network/9053>\
**Category:** MC/EM Series\
**Created:** [February 22, 2017, 8:55pm UTC](https://forum.sierrawireless.com/t/mc7354-got-qmi-error-callfailed-when-starting-network/9053 "2017-02-22T20:55:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![terrencel](https://avatars.discourse-cdn.com/v4/letter/t/ee59a6/32.png) [@terrencel](https://forum.sierrawireless.com/u/terrencel)\
**Post date:** [February 22, 2017, 8:55pm UTC](https://forum.sierrawireless.com/t/mc7354-got-qmi-error-callfailed-when-starting-network/9053/1 "2017-02-22T20:55:26Z")

</div>

Hope someone can help me out… as I am new to this wireless business.

Currently, I can use MC7354 to start network using IPv4 without problem.  
[MC7354 has firmware version: SWI9X15C\_05.05.58.00 r27038]

When trying to use IPv6, I got error when starting the network:

Before running “qmicli” (version 1.16.2), I execute these AT commands:

- AT+CGDCONT=1,“IPV6”,“lteinternet.apn”
- AT$QCPDPP=1,0"

> qmicli -d /var/run/dev/phone0\_qmi --wds-start-network=“apn=lteinternet.apn,ip-type=6” --client-no-release-cid -v

> [@](#):
>
> [22 Feb 2017, 20:38:25] [Debug] [/var/run/dev/phone0\_qmi] Opening device with flags ‘none’…  
> [22 Feb 2017, 20:38:25] [Debug] QMI Device at ‘/var/run/dev/phone0\_qmi’ ready  
> [22 Feb 2017, 20:38:25] [Debug] [/var/run/dev/phone0\_qmi] Assuming service ‘wds’ is supported…  
> [22 Feb 2017, 20:38:25] [Debug] [/var/run/dev/phone0\_qmi] Allocating new client ID…  
> [22 Feb 2017, 20:38:25] [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:38:25] [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:38:25] [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:09
> 
> [22 Feb 2017, 20:38:25] [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:09  
> > > > > > > translated = [service = ‘wds’ cid = ‘9’]
> 
> [22 Feb 2017, 20:38:25] [Debug] [/var/run/dev/phone0\_qmi] Registered ‘wds’ (version unknown) client with ID ‘9’  
> [22 Feb 2017, 20:38:25] [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:38:25] [Debug] Asynchronously starting network…  
> [22 Feb 2017, 20:38:25] [Debug] [/var/run/dev/phone0\_qmi] Sent message…  
> \<\<\<\<\<\< RAW:  
> \<\<\<\<\<\< length = 35  
> \<\<\<\<\<\< data = 01:22:00:00:01:09:00:01:00:20:00:16:00:19:01:00:06:14:0F:00:6C:74:65:69:6E:74:65:72:6E:65:74:2E:61:70:6E
> 
> [22 Feb 2017, 20:38:25] [Debug] [/var/run/dev/phone0\_qmi] Sent message (translated)…  
> \<\<\<\<\<\< QMUX:  
> \<\<\<\<\<\< length = 34  
> \<\<\<\<\<\< flags = 0x00  
> \<\<\<\<\<\< service = “wds”  
> \<\<\<\<\<\< client = 9  
> \<\<\<\<\<\< QMI:  
> \<\<\<\<\<\< flags = “none”  
> \<\<\<\<\<\< transaction = 1  
> \<\<\<\<\<\< tlv\_length = 22  
> \<\<\<\<\<\< message = “Start Network” (0x0020)  
> \<\<\<\<\<\< TLV:  
> \<\<\<\<\<\< type = “IP Family Preference” (0x19)  
> \<\<\<\<\<\< length = 1  
> \<\<\<\<\<\< value = 06  
> \<\<\<\<\<\< translated = ipv6  
> \<\<\<\<\<\< 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:38:25] [Debug] [/var/run/dev/phone0\_qmi] Received message…
> 
> > > > > > > RAW:  
> > > > > > > length = 32  
> > > > > > > data = 01:1F:00:80:01:09:02:01:00:20:00:13:00:02:04:00:01:00:0E:00:10:02:00:01:00:11:04:00:02:00:CC:00
> 
> [22 Feb 2017, 20:38:25] [Debug] [/var/run/dev/phone0\_qmi] Received message (translated)…
> 
> > > > > > > QMUX:  
> > > > > > > length = 31  
> > > > > > > flags = 0x80  
> > > > > > > service = “wds”  
> > > > > > > client = 9  
> > > > > > > QMI:  
> > > > > > > flags = “response”  
> > > > > > > transaction = 1  
> > > > > > > tlv\_length = 19  
> > > > > > > message = “Start Network” (0x0020)  
> > > > > > > TLV:  
> > > > > > > type = “Result” (0x02)  
> > > > > > > length = 4  
> > > > > > > value = 01:00:0E:00  
> > > > > > > translated = FAILURE: CallFailed  
> > > > > > > TLV:  
> > > > > > > type = “Call End Reason” (0x10)  
> > > > > > > length = 2  
> > > > > > > value = 01:00  
> > > > > > > translated = generic-unspecified  
> > > > > > > TLV:  
> > > > > > > type = “Verbose Call End Reason” (0x11)  
> > > > > > > length = 4  
> > > > > > > value = 02:00:CC:00  
> > > > > > > translated = [type = ‘internal’ reason = ‘204’]
> 
> error: couldn’t start network: QMI protocol error (14): ‘CallFailed’  
> call end reason (1): generic-unspecified  
> verbose call end reason (2,204): [internal] unknown-cause  
> [/var/run/dev/phone0\_qmi] Client ID not released:  
> Service: ‘wds’  
> CID: ‘9’  
> [22 Feb 2017, 20:38:25] [Debug] [/var/run/dev/phone0\_qmi] Releasing ‘wds’ client with flags ‘none’…  
> [22 Feb 2017, 20:38:25] [Debug] [/var/run/dev/phone0\_qmi] Unregistered ‘wds’ client with ID ‘9’  
> [22 Feb 2017, 20:38:25] [Debug] Client released

# Here is the log when doing IPv4:

> [@](#):
>
> > 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

Questions:

1. Am I missing something? Some AT commands I have to run first?
2. Is MC7354 supporting IPv6?

Thanks in advance for any information.

Terry

---

<div class="post-metadata">

**Author:** ![aleksander0m](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/aleksander0m/32/1774_2.png) [@aleksander0m](https://forum.sierrawireless.com/u/aleksander0m)\
**Post date:** [March 2, 2017, 9:06am UTC](https://forum.sierrawireless.com/t/mc7354-got-qmi-error-callfailed-when-starting-network/9053/2 "2017-03-02T09:06:31Z")

</div>

> [@terrencel](#):
>
> Hope someone can help me out… as I am new to this wireless business.
> 
> Currently, I can use MC7354 to start network using IPv4 without problem.  
> [MC7354 has firmware version: SWI9X15C\_05.05.58.00 r27038]
> 
> When trying to use IPv6, I got error when starting the network:
> 
> Before running “qmicli” (version 1.16.2), I execute these AT commands:
> 
> - AT+CGDCONT=1,“IPV6”,“lteinternet.apn”
> - AT$QCPDPP=1,0"
> 
> …
> 
> Questions:
> 
> 1. Am I missing something? Some AT commands I have to run first?
> 2. Is MC7354 supporting IPv6?

You shouldn’t need any AT command first when setting up the connection with an explicit APN (i.e. “apn=xxx” parameter in qmicli for APN and “user=xxx” and “password=xxx” for auth); unless for some reason your operator requires a explicit set of APN settings in a given PDP context number (Verizon does that if I’m not mistaken). That is generally not the case I’d say.

Regarding IPv4 vs IPv6, I believe the MC7354 does support IPv6 but I’ve personally never tested that. When running the qmicli command we set that IP type preference in a specific TLV in the “WDS Start Network” command. But there is another way to request it, which is to use the explicit command to request that: “WDS Set IP Family”. This latter method is what we use in the QMI support in ModemManager, so as a quick test I’d suggest you try to connect using MM because there is no qmicli command implemented yet to run “WDS Set IP Family”
