Call failed error while connecting the cellular network

Device Model: EM7565

I am encountering a weird issue while starting the network service. It says call failed and gives an error as only ipv4 allowed. I am already giving ipv4 in the start network key value.

More logs are given below: Any help would be grateful

~ # qmicli -d /dev/cdc-wdm0 --nas-get-signal-strength
[01 Feb 2023, 04:25:37] -Warning ** [/dev/cdc-wdm0] requested auto mode but no MBIM QMUX support available
error: couldn’t create client for the ‘nas’ service: CID allocation failed in the CTL client: Transaction timed out
~ # qmicli -p -d /dev/cdc-wdm0 --nas-get-signal-strength
[01 Feb 2023, 04:25:58] -Warning ** [/dev/cdc-wdm0] requested auto mode but no MBIM QMUX support available
[/dev/cdc-wdm0] Successfully got signal strength
Current:
Network ‘lte’: ‘-48 dBm’
RSSI:
Network ‘lte’: ‘-48 dBm’
ECIO:
Network ‘lte’: ‘-2.5 dBm’
IO: ‘-106 dBm’
SINR (8): ‘9.0 dB’
RSRQ:
Network ‘lte’: ‘-4 dB’
SNR:
Network ‘lte’: ‘16.2 dB’
RSRP:
Network ‘lte’: ‘-71 dBm’
~ # qmicli -p -d /dev/cdc-wdm0 --nas-get-home-network
[01 Feb 2023, 04:26:20] -Warning ** [/dev/cdc-wdm0] requested auto mode but no MBIM QMUX support available
[/dev/cdc-wdm0] Successfully got home network:
Home network:
MCC: ‘310’
MNC: ‘280’
Description: ‘AT&T’
~ # qmicli --device=/dev/cdc-wdm0 --device-open-proxy --wda-get-data-format
[01 Feb 2023, 04:26:48] -Warning ** [/dev/cdc-wdm0] requested auto mode but no MBIM QMUX support available
[/dev/cdc-wdm0] Successfully got data format
QoS flow header: no
Link layer protocol: ‘raw-ip’
Uplink data aggregation protocol: ‘disabled’
Downlink data aggregation protocol: ‘disabled’
NDP signature: ‘0’
Uplink data aggregation max size: ‘0’
Downlink data aggregation max size: ‘0’
~ # qmicli --device=/dev/cdc-wdm0 --device-open-proxy --wds-start-network=“ip-type=4,apn=PSMTNEOFIN” --client-no-release-cid
[01 Feb 2023, 04:33:36] -Warning ** [/dev/cdc-wdm0] requested auto mode but no MBIM QMUX support available
error: couldn’t start network: QMI protocol error (14): ‘CallFailed’
call end reason (3): generic-no-service
verbose call end reason (6,50): [3gpp] ipv4-only-allowed
[/dev/cdc-wdm0] Client ID not released:
Service: ‘wds’
CID: ‘18’
~ # qmicli --device=/dev/cdc-wdm0 --device-open-proxy --wds-start-network=“ip-type=4,apn=PSMTNEOFIN” --client-no-release-cid
[01 Feb 2023, 04:33:47] -Warning ** [/dev/cdc-wdm0] requested auto mode but no MBIM QMUX support available
error: couldn’t start network: QMI protocol error (14): ‘CallFailed’
call end reason (3): generic-no-service
verbose call end reason (6,50): [3gpp] ipv4-only-allowed
[/dev/cdc-wdm0] Client ID not released:
Service: ‘wds’
CID: ‘19’
~ # qmicli --device=/dev/cdc-wdm0 --device-open-proxy --wds-start-network=“ip-type=4,apn=PSMTNEOFIN” --client-no-release-cid
[01 Feb 2023, 04:34:07] -Warning ** [/dev/cdc-wdm0] requested auto mode but no MBIM QMUX support available
error: couldn’t start network: QMI protocol error (14): ‘CallFailed’
call end reason (3): generic-no-service
verbose call end reason (6,50): [3gpp] ipv4-only-allowed
[/dev/cdc-wdm0] Client ID not released:
Service: ‘wds’
CID: ‘20’
~ # call end reason (3): generic-no-service
-sh: syntax error: unexpected “(”
~ # verbose call end reason (6,50): [3gpp] ipv4-only-allowedqmicli -d /dev/cdc-wdm0 --wds-get-profile-list=3gpp
-sh: syntax error: unexpected “(”
/bsp # qmicli --device=/dev/cdc-wdm0 --device-open-proxy --wda-get-data-format
[01 Feb 2023, 04:42:56] -Warning ** [/dev/cdc-wdm0] requested auto mode but no MBIM QMUX support available
[/dev/cdc-wdm0] Successfully got data format
QoS flow header: no
Link layer protocol: ‘raw-ip’
Uplink data aggregation protocol: ‘disabled’
Downlink data aggregation protocol: ‘disabled’
NDP signature: ‘0’
Uplink data aggregation max size: ‘0’
Downlink data aggregation max size: ‘0’

/bsp # qmicli -d /dev/cdc-wdm0 --wds-reset
[01 Feb 2023, 04:43:44] -Warning ** [/dev/cdc-wdm0] requested auto mode but no MBIM QMUX support available
[/dev/cdc-wdm0] Successfully performed WDS service reset

/bsp # qmicli -p --device=/dev/cdc-wdm0 --device-open-proxy --wds-start-network=“apn=PSMTNEOFIN” --client-no-release-cid
[01 Feb 2023, 04:44:48] -Warning ** [/dev/cdc-wdm0] requested auto mode but no MBIM QMUX support available
error: couldn’t start network: QMI protocol error (14): ‘CallFailed’
call end reason (3): generic-no-service
verbose call end reason (6,50): [3gpp] ipv4-only-allowed
[/dev/cdc-wdm0] Client ID not released:
Service: ‘wds’
CID: ‘25’
/bsp # qmicli --device=/dev/cdc-wdm0 --device-open-proxy --wds-start-network=“ip-type=4,apn=PSMTNEOFIN” --client-no-release-cid
[01 Feb 2023, 04:45:16] -Warning ** [/dev/cdc-wdm0] requested auto mode but no MBIM QMUX support available
error: couldn’t start network: QMI protocol error (14): ‘CallFailed’
call end reason (3): generic-no-service
verbose call end reason (6,50): [3gpp] ipv4-only-allowed
[/dev/cdc-wdm0] Client ID not released:
Service: ‘wds’
CID: ‘26’
/bsp # qmicli --device=/dev/cdc-wdm0 --device-open-proxy --wds-start-network=“ip-type=4,apn=psmtneofin” --client-no-release-cid
[01 Feb 2023, 04:45:48] -Warning ** [/dev/cdc-wdm0] requested auto mode but no MBIM QMUX support available
error: couldn’t start network: QMI protocol error (14): ‘CallFailed’
call end reason (3): generic-no-service
verbose call end reason (6,50): [3gpp] ipv4-only-allowed
[/dev/cdc-wdm0] Client ID not released:
Service: ‘wds’
CID: ‘27’

/bsp # qmicli --device=/dev/cdc-wdm0 --device-open-proxy --wds-start-network=“ip-type=4,apn=PSMTNEOFIN” --client-no-release-cid
[01 Feb 2023, 04:47:00] -Warning ** [/dev/cdc-wdm0] requested auto mode but no MBIM QMUX support available
error: couldn’t start network: QMI protocol error (14): ‘CallFailed’
call end reason (3): generic-no-service
verbose call end reason (6,50): [3gpp] ipv4-only-allowed
[/dev/cdc-wdm0] Client ID not released:
Service: ‘wds’
CID: ‘28’
/bsp # qmicli --device=/dev/cdc-wdm0 --device-open-proxy --wds-start-network=“ip-type=4,apn=psmtneofin” --client-no-release-cid
[01 Feb 2023, 04:48:22] -Warning ** [/dev/cdc-wdm0] requested auto mode but no MBIM QMUX support available
error: couldn’t start network: QMI protocol error (14): ‘CallFailed’
call end reason (3): generic-no-service
verbose call end reason (6,50): [3gpp] ipv4-only-allowed
[/dev/cdc-wdm0] Client ID not released:
Service: ‘wds’
CID: ‘29’
/bsp # qmicli --device=/dev/cdc-wdm0 --device-open-proxy --wds-start-network=“ip-type=4,apn=psmtneofin” --client-no-release-cid
[01 Feb 2023, 04:48:45] -Warning ** [/dev/cdc-wdm0] requested auto mode but no MBIM QMUX support available
error: couldn’t start network: QMI protocol error (14): ‘CallFailed’
call end reason (3): generic-no-service
verbose call end reason (6,50): [3gpp] ipv4-only-allowed
[/dev/cdc-wdm0] Client ID not released:
Service: ‘wds’
/bsp # qmicli --device=/dev/cdc-wdm0 --device-open-proxy --wds-start-network=“ip
-type=4,apn=psmtneofin” --client-no-release-cid -v
[01 Feb 2023, 04:51:34] [Debug] [/dev/cdc-wdm0] Opening device with flags ‘proxy , auto’…
[01 Feb 2023, 04:51:34] [Debug] [/dev/cdc-wdm0] loaded driver of cdc-wdm port: q mi_wwan
[01 Feb 2023, 04:51:34] -Warning ** [/dev/cdc-wdm0] requested auto mode but no M BIM QMUX support available
[01 Feb 2023, 04:51:34] [Debug] cannot connect to proxy: Could not connect: Conn ection refused
[01 Feb 2023, 04:51:34] [Debug] spawning new qmi-proxy (try 1)…
[01 Feb 2023, 04:51:34] [Debug] [/dev/cdc-wdm0] sent message…
<<<<<< RAW:
<<<<<< length = 28
<<<<<< data = 01:1B:00:00:00:00:00:01:00:FF:10:00:01:0D:00:2F:64:65:76:2F:63 :64:63:2D:77:64:6D:30

[01 Feb 2023, 04:51:34] [Debug] [/dev/cdc-wdm0] sent generic request (translated )…
<<<<<< QMUX:
<<<<<< length = 27
<<<<<< flags = 0x00
<<<<<< service = “ctl”
<<<<<< client = 0
<<<<<< QMI:
<<<<<< flags = “none”
<<<<<< transaction = 1
<<<<<< tlv_length = 16
<<<<<< message = “Internal Proxy Open” (0xFF00)
<<<<<< TLV:
<<<<<< type = “Device Path” (0x01)
<<<<<< length = 13
<<<<<< value = 2F:64:65:76:2F:63:64:63:2D:77:64:6D:30
<<<<<< translated = /dev/cdc-wdm0

[01 Feb 2023, 04:51:34] [Debug] [/dev/cdc-wdm0] received message…
<<<<<< RAW:
<<<<<< length = 19
<<<<<< data = 01:12:00:00:00:00:01:01:00:FF:07:00:02:04:00:00:00:00:00

[01 Feb 2023, 04:51:34] [Debug] [/dev/cdc-wdm0] received generic response (trans lated)…
<<<<<< QMUX:
<<<<<< length = 18
<<<<<< flags = 0x00
<<<<<< service = “ctl”
<<<<<< client = 0
<<<<<< QMI:
<<<<<< flags = “response”
<<<<<< transaction = 1
<<<<<< tlv_length = 7
<<<<<< message = “Internal Proxy Open” (0xFF00)
<<<<<< TLV:
<<<<<< type = “Result” (0x02)
<<<<<< length = 4
<<<<<< value = 00:00:00:00
<<<<<< translated = SUCCESS

[01 Feb 2023, 04:51:34] [Debug] QMI Device at ‘/dev/cdc-wdm0’ ready
[01 Feb 2023, 04:51:34] [Debug] [/dev/cdc-wdm0] Assuming service ‘wds’ is suppor ted…
[01 Feb 2023, 04:51:34] [Debug] [/dev/cdc-wdm0] Allocating new client ID…
[01 Feb 2023, 04:51:34] [Debug] [/dev/cdc-wdm0] sent message…
<<<<<< RAW:
<<<<<< length = 16
<<<<<< data = 01:0F:00:00:00:00:00:02:22:00:04:00:01:01:00:01

[01 Feb 2023, 04:51:34] [Debug] [/dev/cdc-wdm0] sent generic request (translated )…
<<<<<< QMUX:
<<<<<< length = 15
<<<<<< flags = 0x00
<<<<<< service = “ctl”
<<<<<< client = 0
<<<<<< QMI:
<<<<<< flags = “none”
<<<<<< transaction = 2
<<<<<< tlv_length = 4
<<<<<< message = “Allocate CID” (0x0022)
<<<<<< TLV:
<<<<<< type = “Service” (0x01)
<<<<<< length = 1
<<<<<< value = 01
<<<<<< translated = wds

[01 Feb 2023, 04:51:34] [Debug] [/dev/cdc-wdm0] received message…
<<<<<< RAW:
<<<<<< length = 24
<<<<<< data = 01:17:00:80:00:00:01:02:22:00:0C:00:02:04:00:00:00:00:00:01:02 :00:01:1F

[01 Feb 2023, 04:51:34] [Debug] [/dev/cdc-wdm0] received generic response (trans lated)…
<<<<<< QMUX:
<<<<<< length = 23
<<<<<< flags = 0x80
<<<<<< service = “ctl”
<<<<<< client = 0
<<<<<< QMI:
<<<<<< flags = “response”
<<<<<< transaction = 2
<<<<<< 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:1F
<<<<<< translated = [ service = ‘wds’ cid = ‘31’ ]

[01 Feb 2023, 04:51:34] [Debug] [/dev/cdc-wdm0] Registered ‘wds’ (version unknow n) client with ID ‘31’
[01 Feb 2023, 04:51:34] [Debug] Network start parameters set (apn: ‘psmtneofin’, 3gpp_profile: ‘0’, 3gpp2_profile: ‘0’, auth: ‘unspecified’, ip-type: ‘4’, usern ame: ‘unspecified’, password: ‘unspecified’, autoconnect: ‘unspecified’)
[01 Feb 2023, 04:51:34] [Debug] Asynchronously starting network…
[01 Feb 2023, 04:51:34] [Debug] [/dev/cdc-wdm0] sent message…
<<<<<< RAW:
<<<<<< length = 30
<<<<<< data = 01:1D:00:00:01:1F:00:01:00:20:00:11:00:19:01:00:04:14:0A:00:70 :73:6D:74:6E:65:6F:66:69:6E

[01 Feb 2023, 04:51:34] [Debug] [/dev/cdc-wdm0] sent generic request (translated )…
<<<<<< QMUX:
<<<<<< length = 29
<<<<<< flags = 0x00
<<<<<< service = “wds”
<<<<<< client = 31
<<<<<< QMI:
<<<<<< flags = “none”
<<<<<< transaction = 1
<<<<<< tlv_length = 17
<<<<<< message = “Start Network” (0x0020)
<<<<<< TLV:
<<<<<< type = “IP Family Preference” (0x19)
<<<<<< length = 1
<<<<<< value = 04
<<<<<< translated = ipv4
<<<<<< TLV:
<<<<<< type = “APN” (0x14)
<<<<<< length = 10
<<<<<< value = 70:73:6D:74:6E:65:6F:66:69:6E
<<<<<< translated = psmtneofin

[01 Feb 2023, 04:51:36] [Debug] [/dev/cdc-wdm0] received message…
<<<<<< RAW:
<<<<<< length = 39
<<<<<< data = 01:26:00:80:01:1F:02:01:00:20:00:1A:00:02:04:00:01:00:0E:00:01 :04:00:00:00:00:00:10:02:00:03:00:11:04:00:06:00:32:00

[01 Feb 2023, 04:51:36] [Debug] [/dev/cdc-wdm0] received generic response (trans lated)…
<<<<<< QMUX:
<<<<<< length = 38
<<<<<< flags = 0x80
<<<<<< service = “wds”
<<<<<< client = 31
<<<<<< QMI:
<<<<<< flags = “response”
<<<<<< transaction = 1
<<<<<< tlv_length = 26
<<<<<< message = “Start Network” (0x0020)
<<<<<< TLV:
<<<<<< type = “Result” (0x02)
<<<<<< length = 4
<<<<<< value = 01:00:0E:00
<<<<<< translated = FAILURE: CallFailed
<<<<<< TLV:
<<<<<< type = “Packet Data Handle” (0x01)
<<<<<< length = 4
<<<<<< value = 00:00:00:00
<<<<<< translated = 0
<<<<<< TLV:
<<<<<< type = “Call End Reason” (0x10)
<<<<<< length = 2
<<<<<< value = 03:00
<<<<<< translated = generic-no-service
<<<<<< TLV:
<<<<<< type = “Verbose Call End Reason” (0x11)
<<<<<< length = 4
<<<<<< value = 06:00:32:00
<<<<<< translated = [ type = ‘3gpp’ reason = ‘50’ ]

error: couldn’t start network: QMI protocol error (14): ‘CallFailed’
call end reason (3): generic-no-service
verbose call end reason (6,50): [3gpp] ipv4-only-allowed
[/dev/cdc-wdm0] Client ID not released:
Service: ‘wds’
CID: ‘31’
[01 Feb 2023, 04:51:36] [Debug] [/dev/cdc-wdm0] Releasing ‘wds’ client with flag s ‘none’…
[01 Feb 2023, 04:51:36] [Debug] [/dev/cdc-wdm0] Unregistered ‘wds’ client with I D ‘31’
[01 Feb 2023, 04:51:36] [Debug] Client released
[01 Feb 2023, 04:51:36] [Debug] Closed
Just allocate or release a NAS client. Use with --client-no-release-cid' and/or –client-cid’

/bsp # qmicli --device=/dev/cdc-wdm0 --nas-get-serving-system
[01 Feb 2023, 04:52:11] -Warning ** [/dev/cdc-wdm0] requested auto mode but no MBIM QMUX support available
[/dev/cdc-wdm0] Successfully got serving system:
Registration state: ‘not-registered-searching’
CS: ‘detached’
PS: ‘detached’
Selected network: ‘3gpp’
Radio interfaces: ‘1’
[0]: ‘lte’
Data service capabilities: ‘0’
Current PLMN:
MCC: ‘310’
MNC: ‘410’
Description: ‘AT&T’
Detailed status:
Status: ‘limited’
Capability: ‘ps’
HDR Status: ‘none’
HDR Hybrid: ‘no’
Forbidden: ‘no’
Full operator code info:
MCC: ‘310’
MNC: ‘410’
MNC with PCS digit: ‘yes’
/bsp # qmicli --device=/dev/cdc-wdm0 --nas-force-network-search
[01 Feb 2023, 04:52:52] -Warning ** [/dev/cdc-wdm0] requested auto mode but no MBIM QMUX support available
[/dev/cdc-wdm0] Successfully forced network search
/bsp # qmicli --device=/dev/cdc-wdm0 --nas-get-system-info
[01 Feb 2023, 04:53:08] -Warning ** [/dev/cdc-wdm0] requested auto mode but no MBIM QMUX support available
[/dev/cdc-wdm0] Successfully got system info:
WCDMA service:
Status: ‘none’
True Status: ‘none’
Preferred data path: ‘no’
LTE service:
Status: ‘limited’
True Status: ‘limited-regional’
Preferred data path: ‘no’
Domain: ‘none’
Service capability: ‘cs-ps’
Roaming status: ‘off’
Forbidden: ‘no’
Cell ID: ‘123777289’
MCC: ‘310’
MNC: ‘410’
Tracking Area Code: ‘32776’
eMBMS coverage info support: ‘no’
SIM reject info: ‘available’
/bsp # qmicli --device=/dev/cdc-wdm0 --nas-get-system-selection-preference
[01 Feb 2023, 04:53:41] -Warning ** [/dev/cdc-wdm0] requested auto mode but no MBIM QMUX support available
[/dev/cdc-wdm0] Successfully got system selection preference
Emergency mode: ‘no’
Mode preference: ‘cdma-1x, cdma-1xevdo, gsm, umts, lte, td-scdma’
Band preference: ‘wcdma-2100, wcdma-pcs-1900, wcdma-1700-us, wcdma-850-us, wcdma-800, wcdma-900, wcdma-1700-japan’
LTE band preference: ‘1, 2, 3, 4, 5, 7, 8, 9, 12, 13, 18, 19, 20, 26, 28, 29, 30, 41’
LTE band preference (extended): ‘1, 2, 3, 4, 5, 7, 8, 9, 12, 13, 18, 19, 20, 26, 28, 29, 30, 32, 41, 46, 66’
TD-SCDMA band preference: ‘(NULL)’
Roaming preference: ‘any’
Network selection preference: ‘automatic’
Service domain preference: ‘cs-ps’
Service selection preference: ‘automatic’
/bsp # qmicli --device=/dev/cdc-wdm0 --nas-network-scan
[01 Feb 2023, 04:54:54] -Warning ** [/dev/cdc-wdm0] requested auto mode but no MBIM QMUX support available
[/dev/cdc-wdm0] Successfully scanned networks
Network [0]:
MCC: ‘310’
MNC: ‘410’
Status: ‘current-serving, home, not-forbidden, preferred’
Description: ‘AT&T’
Network [1]:
MCC: ‘311’
MNC: ‘490’
Status: ‘available, roaming, not-forbidden, not-preferred’
Description: ‘AT&T’
Network [2]:
MCC: ‘311’
MNC: ‘480’
Status: ‘available, roaming, not-forbidden, not-preferred’
Description: ‘AT&T’
Network [3]:
MCC: ‘313’
MNC: ‘100’
Status: ‘available, roaming, forbidden, not-preferred’
Description: ‘AT&T’
Network [4]:
MCC: ‘310’
MNC: ‘260’
Status: ‘available, roaming, not-forbidden, not-preferred’
Description: ‘AT&T’
Network [0]:
MCC: ‘310’
MNC: ‘410’
RAT: ‘lte’
Network [1]:
MCC: ‘311’
MNC: ‘490’
RAT: ‘lte’
Network [2]:
MCC: ‘311’
MNC: ‘480’
RAT: ‘lte’
Network [3]:
MCC: ‘313’
MNC: ‘100’
RAT: ‘lte’
Network [4]:
MCC: ‘310’
MNC: ‘260’
RAT: ‘lte’
Network [0]:
MCC: ‘310’
MNC: ‘410’
MCC with PCS digit: ‘yes’
Network [1]:
MCC: ‘311’
MNC: ‘490’
MCC with PCS digit: ‘yes’
Network [2]:
MCC: ‘311’
MNC: ‘480’
MCC with PCS digit: ‘yes’
Network [3]:
MCC: ‘313’
MNC: ‘100’
MCC with PCS digit: ‘yes’
Network [4]:
MCC: ‘310’
MNC: ‘260’
MCC with PCS digit: ‘yes’

/bsp # qmicli --device=/dev/cdc-wdm0 --dms-get-operating-mode
[01 Feb 2023, 04:58:07] -Warning ** [/dev/cdc-wdm0] requested auto mode but no MBIM QMUX support available
[/dev/cdc-wdm0] Operating mode retrieved:
Mode: ‘online’
HW restricted: ‘no’
/bsp # qmicli --device=/dev/cdc-wdm0 --dms-swi-get-current-firmware
[01 Feb 2023, 04:58:51] -Warning ** [/dev/cdc-wdm0] requested auto mode but no MBIM QMUX support available
[/dev/cdc-wdm0] Successfully retrieved current firmware:
Model: EM7565
Boot version: SWI9X50C_01.08.04.00
AMSS version: SWI9X50C_01.08.04.00
SKU ID: 1103520
Package ID: unknown
Carrier ID: 1
Config version: 002.012_001
/bsp # qmicli --device=/dev/cdc-wdm0 --dms-get-activation-state
[01 Feb 2023, 04:59:10] -Warning ** [/dev/cdc-wdm0] requested auto mode but no MBIM QMUX support available
error: couldn’t get the state of the service activation: QMI protocol error (25): ‘DeviceUnsupported’
/bsp # qmicli --device=/dev/cdc-wdm0 --help-nas
Usage:
qmicli [OPTION…] - Control QMI devices

NAS options
–nas-get-signal-strength Get signal strength
–nas-get-signal-info Get signal info
–nas-get-tx-rx-info=[(Radio Interface)] Get TX/RX info
–nas-get-home-network Get home network
–nas-get-serving-system Get serving system
–nas-get-system-info Get system info
–nas-get-technology-preference Get technology preference
–nas-get-system-selection-preference Get system selection preference
–nas-set-system-selection-preference=[cdma-1x|cdma-1xevdo|gsm|umts|lte|td-scdma] Set system selection preference
–nas-network-scan Scan networks
–nas-get-cell-location-info Get Cell Location Info
–nas-force-network-search Force network search
–nas-get-operator-name Get operator name data
–nas-get-lte-cphy-ca-info Get LTE Cphy CA Info
–nas-get-rf-band-info Get RF Band Info
–nas-get-supported-messages Get supported messages
–nas-reset Reset the service state
–nas-noop Just allocate or release a NAS client. Use with --client-no-release-cid' and/or –client-cid’

/bsp # qmicli --device=/dev/cdc-wdm0 --uim-reset
[01 Feb 2023, 05:00:19] -Warning ** [/dev/cdc-wdm0] requested auto mode but no MBIM QMUX support available
[/dev/cdc-wdm0] Successfully performed UIM service reset
/bsp # qmicli --device=/dev/cdc-wdm0 --uim-get-card-status
[01 Feb 2023, 05:00:30] -Warning ** [/dev/cdc-wdm0] requested auto mode but no MBIM QMUX support available
[/dev/cdc-wdm0] Successfully got card status
Provisioning applications:
Primary GW: slot ‘0’, application ‘0’
Primary 1X: session doesn’t exist
Secondary GW: session doesn’t exist
Secondary 1X: session doesn’t exist
Card [0]:
Card state: ‘present’
UPIN state: ‘not-initialized’
UPIN retries: ‘0’
UPUK retries: ‘0’
Application [0]:
Application type: ‘usim (2)’
Application state: ‘ready’
Application ID:
A0:00:00:00:87:10:02:FF:FF:FF:FF:89:03:02:00:00
Personalization state: ‘ready’
UPIN replaces PIN1: ‘no’
PIN1 state: ‘disabled’
PIN1 retries: ‘3’
PUK1 retries: ‘10’
PIN2 state: ‘enabled-not-verified’
PIN2 retries: ‘3’
PUK2 retries: ‘10’
Application [1]:
Application type: ‘isim (5)’
Application state: ‘detected’
Application ID:
A0:00:00:00:87:10:04:FF:FF:FF:FF:89:03:02:00:00
Personalization state: ‘unknown’
UPIN replaces PIN1: ‘no’
PIN1 state: ‘disabled’
PIN1 retries: ‘3’
PUK1 retries: ‘10’
PIN2 state: ‘not-initialized’
PIN2 retries: ‘0’
PUK2 retries: ‘0’
Card [1]:
Card state: ‘absent’
UPIN state: ‘not-initialized’
UPIN retries: ‘0’
UPUK retries: ‘0’

I would suggest you try the latest FW and first test with AT!SCACT.

Latest Firmware:

https://source.sierrawireless.com/resources/airprime/minicard/75xx/em_mc75xx-approved-fw-packages/#sthash.YXVh7SsM.dpbs

Thank you . Will try it out .

I am having issues with the SIM registering to the network when the 3gpp profile stored on the modem is not valid. i.e. The base profile that is stored on the modem (WDS Get Profile List command) is interfering with the network connection. If there is a profile stored in the modem which has an APN that is not as per the new connection request, the modem never registers to the network. For the modem to register to the network, the profile has to be empty or it has to be correct per the APN provided by the operator.

Once the network established, the profile automatically gets updated.

Test Number 1

Initial 3GPP profile with wrong APN
/usr/1aw/db # qmicli -p -d /dev/cdc-wdm0 --wds-get-profile-list=3gpp

[03 Mar 2023, 06:07:21] -Warning ** [/dev/cdc-wdm0] requested auto mode but no MBIM QMUX support available
Profile list retrieved:
[1] 3gpp -
APN: ‘vi’
PDP type: ‘ipv4-or-ipv6’
Auth: ‘none’
[2] 3gpp -
APN: ‘Junk’
PDP type: ‘ipv4-or-ipv6’
Auth: ‘none’

User AT commands and set the APN value to empty in the profile:

/usr/1aw/db # microcom -s 115200 /dev/ttyUSB2
at+cgdcont=1,“IPV4V6”,“”,“0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0”,0,0,0,0
OK
at+cgdcont=1,“IPV4V6”,“”,“0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0”,0,0,0,0
OK
at+cgdcont=2,“IPV4V6”,“”,“0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0”,0,0,0,0
OK

Check the APN value in the Profile:

/usr/1aw/db # qmicli -p -d /dev/cdc-wdm0 --wds-get-profile-list=3gpp
[03 Mar 2023, 06:09:07] -Warning ** [/dev/cdc-wdm0] requested auto mode but no MBIM QMUX support available
Profile list retrieved:
[1] 3gpp -
PDP type: ‘ipv4-or-ipv6’
Auth: ‘none’
[2] 3gpp -
PDP type: ‘ipv4-or-ipv6’
Auth: ‘none’

Network Started:

/bsp # qmicli -p -v -d /dev/cdc-wdm0 --wds-start-network=“ip-type=4,apn=validapn.com” --client-no-release-cid
[03 Mar 2023, 06:11:48] [Debug] [/dev/cdc-wdm0] Opening device with flags ‘proxy, auto’…
[03 Mar 2023, 06:11:48] [Debug] [/dev/cdc-wdm0] loaded driver of cdc-wdm port: qmi_wwan
[03 Mar 2023, 06:11:48] -Warning ** [/dev/cdc-wdm0] requested auto mode but no MBIM QMUX support available
[03 Mar 2023, 06:11:48] [Debug] cannot connect to proxy: Could not connect: Connection refused
[03 Mar 2023, 06:11:48] [Debug] spawning new qmi-proxy (try 1)…
[03 Mar 2023, 06:11:48] [Debug] [/dev/cdc-wdm0] sent message…
<<<<<< RAW:
<<<<<< length = 28
<<<<<< data = 01:1B:00:00:00:00:00:01:00:FF:10:00:01:0D:00:2F:64:65:76:2F:63:64:63:2D:77:64:6D:30

[03 Mar 2023, 06:11:48] [Debug] [/dev/cdc-wdm0] sent generic request (translated)…
<<<<<< QMUX:
<<<<<< length = 27
<<<<<< flags = 0x00
<<<<<< service = “ctl”
<<<<<< client = 0
<<<<<< QMI:
<<<<<< flags = “none”
<<<<<< transaction = 1
<<<<<< tlv_length = 16
<<<<<< message = “Internal Proxy Open” (0xFF00)
<<<<<< TLV:
<<<<<< type = “Device Path” (0x01)
<<<<<< length = 13
<<<<<< value = 2F:64:65:76:2F:63:64:63:2D:77:64:6D:30
<<<<<< translated = /dev/cdc-wdm0

[03 Mar 2023, 06:11:48] [Debug] [/dev/cdc-wdm0] received message…
<<<<<< RAW:
<<<<<< length = 19
<<<<<< data = 01:12:00:00:00:00:01:01:00:FF:07:00:02:04:00:00:00:00:00

[03 Mar 2023, 06:11:48] [Debug] [/dev/cdc-wdm0] received generic response (translated)…
<<<<<< QMUX:
<<<<<< length = 18
<<<<<< flags = 0x00
<<<<<< service = “ctl”
<<<<<< client = 0
<<<<<< QMI:
<<<<<< flags = “response”
<<<<<< transaction = 1
<<<<<< tlv_length = 7
<<<<<< message = “Internal Proxy Open” (0xFF00)
<<<<<< TLV:
<<<<<< type = “Result” (0x02)
<<<<<< length = 4
<<<<<< value = 00:00:00:00
<<<<<< translated = SUCCESS

[03 Mar 2023, 06:11:48] [Debug] QMI Device at ‘/dev/cdc-wdm0’ ready
[03 Mar 2023, 06:11:48] [Debug] [/dev/cdc-wdm0] Assuming service ‘wds’ is supported…
[03 Mar 2023, 06:11:48] [Debug] [/dev/cdc-wdm0] Allocating new client ID…
[03 Mar 2023, 06:11:48] [Debug] [/dev/cdc-wdm0] sent message…
<<<<<< RAW:
<<<<<< length = 16
<<<<<< data = 01:0F:00:00:00:00:00:02:22:00:04:00:01:01:00:01

[03 Mar 2023, 06:11:48] [Debug] [/dev/cdc-wdm0] sent generic request (translated)…
<<<<<< QMUX:
<<<<<< length = 15
<<<<<< flags = 0x00
<<<<<< service = “ctl”
<<<<<< client = 0
<<<<<< QMI:
<<<<<< flags = “none”
<<<<<< transaction = 2
<<<<<< tlv_length = 4
<<<<<< message = “Allocate CID” (0x0022)
<<<<<< TLV:
<<<<<< type = “Service” (0x01)
<<<<<< length = 1
<<<<<< value = 01
<<<<<< translated = wds

[03 Mar 2023, 06:11:48] [Debug] [/dev/cdc-wdm0] received message…
<<<<<< RAW:
<<<<<< length = 24
<<<<<< data = 01:17:00:80:00:00:01:02:22:00:0C:00:02:04:00:00:00:00:00:01:02:00:01:15

[03 Mar 2023, 06:11:48] [Debug] [/dev/cdc-wdm0] received generic response (translated)…
<<<<<< QMUX:
<<<<<< length = 23
<<<<<< flags = 0x80
<<<<<< service = “ctl”
<<<<<< client = 0
<<<<<< QMI:
<<<<<< flags = “response”
<<<<<< transaction = 2
<<<<<< 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:15
<<<<<< translated = [ service = ‘wds’ cid = ‘21’ ]

[03 Mar 2023, 06:11:48] [Debug] [/dev/cdc-wdm0] Registered ‘wds’ (version unknown) client with ID ‘21’
[03 Mar 2023, 06:11:48] [Debug] Network start parameters set (apn: ‘validapn.com’, 3gpp_profile: ‘0’, 3gpp2_profile: ‘0’, auth: ‘unspecified’, ip-type: ‘4’, username: ‘unspecified’, password: ‘unspecified’, autoconnect: ‘unspecified’)
[03 Mar 2023, 06:11:48] [Debug] Asynchronously starting network…
[03 Mar 2023, 06:11:48] [Debug] [/dev/cdc-wdm0] sent message…
<<<<<< RAW:
<<<<<< length = 40
<<<<<< data = 01:27:00:00:01:15:00:01:00:20:00:1B:00:19:01:00:04:14:14:00:68:6F:6E:65:79:77:65:6C:6C:30:31:2E:63:6F:6D:2E:61:74:74:7A

[03 Mar 2023, 06:11:48] [Debug] [/dev/cdc-wdm0] sent generic request (translated)…
<<<<<< QMUX:
<<<<<< length = 39
<<<<<< flags = 0x00
<<<<<< service = “wds”
<<<<<< client = 21
<<<<<< QMI:
<<<<<< flags = “none”
<<<<<< transaction = 1
<<<<<< tlv_length = 27
<<<<<< message = “Start Network” (0x0020)
<<<<<< TLV:
<<<<<< type = “IP Family Preference” (0x19)
<<<<<< length = 1
<<<<<< value = 04
<<<<<< translated = ipv4
<<<<<< TLV:
<<<<<< type = “APN” (0x14)
<<<<<< length = 20
<<<<<< value = 68:6F:6E:65:79:77:65:6C:6C:30:31:2E:63:6F:6D:2E:61:74:74:7A
<<<<<< translated = validapn.com

[03 Mar 2023, 06:11:49] [Debug] [/dev/cdc-wdm0] received message…
<<<<<< RAW:
<<<<<< length = 27
<<<<<< data = 01:1A:00:80:01:15:02:01:00:20:00:0E:00:02:04:00:00:00:00:00:01:04:00:F0:13:97:E7

[03 Mar 2023, 06:11:49] [Debug] [/dev/cdc-wdm0] received generic response (translated)…
<<<<<< QMUX:
<<<<<< length = 26
<<<<<< flags = 0x80
<<<<<< service = “wds”
<<<<<< client = 21
<<<<<< 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 = F0:13:97:E7
<<<<<< translated = 3885437936

[/dev/cdc-wdm0] Network started
Packet data handle: ‘3885437936’
[/dev/cdc-wdm0] Client ID not released:
Service: ‘wds’
CID: ‘21’
[03 Mar 2023, 06:11:49] [Debug] [/dev/cdc-wdm0] Releasing ‘wds’ client with flags ‘none’…
[03 Mar 2023, 06:11:49] [Debug] [/dev/cdc-wdm0] Unregistered ‘wds’ client with ID ‘21’
[03 Mar 2023, 06:11:49] [Debug] Client released
[03 Mar 2023, 06:11:49] [Debug] Closed

Profile Updated:

/bsp # qmicli -p -d /dev/cdc-wdm0 --wds-get-profile-list=3gpp
[03 Mar 2023, 06:12:10] -Warning ** [/dev/cdc-wdm0] requested auto mode but no MBIM QMUX support available
Profile list retrieved:
[1] 3gpp -
APN: ‘validapn.com
PDP type: ‘ipv4-or-ipv6’
Auth: ‘none’
[2] 3gpp -
PDP type: ‘ipv4-or-ipv6’
Auth: ‘none’

then you should use the correct APN for the connection

This was working fine till the 3G decommissioning in US. The modem is used in an embedded device where the software cannot be modified at this point of time.

no idea then as you are using wrong APN

Do you know how profile affects the network registration?

it makes you cannot register network successfully