qmicli: assertion failed with --nas-get-serving-system and ZTE MF683
Shawn J. Goff
shawn7400 at gmail.com
Fri Oct 26 06:21:20 PDT 2012
> Could you run the command with --verbose and send the whole output?
# qmicli -d /dev/cdc-wdm0 --verbose --nas-get-serving-system
# qmicli -d /dev/cdc-wdm0 --verbose --nas-get-serving-system
# [01 Jan 1970, 00:01:12] [Debug] [/dev/cdc-wdm0] Received message...
# >>>>>> QMUX:
# >>>>>> length = 21
# >>>>>> flags = 0x80
# >>>>>> service = "nas"
# >>>>>> client = 1
# >>>>>> QMI:
# >>>>>> flags = "indication"
# >>>>>> transaction = 0
# >>>>>> tlv_length = 9
# >>>>>> message = "Serving System" (0x0024)
# >>>>>> TLV:
# >>>>>> type = "Serving System" (0x01)
# >>>>>> length = 6
# >>>>>> value = 01:01:01:02:01:05
# >>>>>> translated = [ registration_state = '1' cs_attach_state =
'1' ps_attach_state = '1' selected_network = '2' radio_interfaces = '{
[0] = '5 '}' ]
#
# [01 Jan 1970, 00:01:12] [Debug] [/dev/cdc-wdm0] Received message...
# >>>>>> QMUX:
# >>>>>> length = 38
# >>>>>> flags = 0x80
# >>>>>> service = "nas"
# >>>>>> client = 1
# >>>>>> QMI:
# >>>>>> flags = "indication"
# >>>>>> transaction = 0
# >>>>>> tlv_length = 26
# >>>>>> message = "Serving System" (0x0024)
# >>>>>> TLV:
# >>>>>> type = "Current PLMN" (0x12)
# >>>>>> length = 14
# >>>>>> value = 36:01:04:01:09:20:54:2D:4D:6F:62:69:6C:65
# >>>>>> translated = [ mcc = '310' mnc = '260' description = ' T-Mobile' ]
# >>>>>> TLV:
# >>>>>> type = "Serving System" (0x01)
# >>>>>> length = 6
# >>>>>> value = 01:01:01:02:01:05
# >>>>>> translated = [ registration_state = '1' cs_attach_state =
'1' ps_attach_state = '1' selected_network = '2' radio_interfaces = '{
[0] = '5 '}' ]
#
# [01 Jan 1970, 00:01:12] [Debug] QMI Device at '/dev/cdc-wdm0' ready
# [01 Jan 1970, 00:01:12] [Debug] [/dev/cdc-wdm0] Assuming service
'nas' is supported...
# [01 Jan 1970, 00:01:12] [Debug] [/dev/cdc-wdm0] Allocating new client ID...
# [01 Jan 1970, 00:01:12] [Debug] [/dev/cdc-wdm0] Sending message...
# <<<<<< 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 = 03
# <<<<<< translated = 3
#
# [01 Jan 1970, 00:01:12] [Debug] [/dev/cdc-wdm0] Received message...
# >>>>>> QMUX:
# >>>>>> length = 26
# >>>>>> flags = 0x80
# >>>>>> service = "nas"
# >>>>>> client = 1
# >>>>>> QMI:
# >>>>>> flags = "indication"
# >>>>>> transaction = 0
# >>>>>> tlv_length = 14
# >>>>>> message = "Serving System" (0x0024)
# >>>>>> TLV:
# >>>>>> type = "LAC 3GPP" (0x1d)
# >>>>>> length = 2
# >>>>>> value = 03:57
# >>>>>> translated = 22275
# >>>>>> TLV:
# >>>>>> type = "Serving System" (0x01)
# >>>>>> length = 6
# >>>>>> value = 01:01:01:02:01:05
# >>>>>> translated = [ registration_state = '1' cs_attach_state =
'1' ps_attach_state = '1' selected_network = '2' radio_interfaces = '{
[0] = '5 '}' ]
#
# [01 Jan 1970, 00:01:12] [Debug] [/dev/cdc-wdm0] Received message...
# >>>>>> 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 = 03:02
# >>>>>> translated = [ service = '3' cid = '2' ]
#
# [01 Jan 1970, 00:01:12] [Debug] [/dev/cdc-wdm0] Registered 'nas'
(version unknown) client with ID '2'
# [01 Jan 1970, 00:01:12] [Debug] Asynchronously getting serving system...
# [01 Jan 1970, 00:01:12] [Debug] [/dev/cdc-wdm0] Sending message...
# <<<<<< QMUX:
# <<<<<< length = 12
# <<<<<< flags = 0x00
# <<<<<< service = "nas"
# <<<<<< client = 2
# <<<<<< QMI:
# <<<<<< flags = "none"
# <<<<<< transaction = 1
# <<<<<< tlv_length = 0
# <<<<<< message = "Get Serving System" (0x0024)
#
# **
# ERROR:qmi-utils.c:125:qmi_utils_read_guint8_from_buffer: assertion
failed: (*buffer_size >= 1)
# Aborted
# #
More information about the libqmi-devel
mailing list