Where's my LAC/CI?

Bjørn Mork bjorn at mork.no
Fri Sep 21 03:18:31 PDT 2012


Aleksander Morgado <aleksander at lanedo.com> writes:

> Hey,
>
> The "NAS Get Serving System" (0x0024) response has some optional TLVs to
> report location area code (0x1C) and cell id (0x1D); but it seems I
> don't get any of them with any of my test modems. Do you guys get them,
> or is it that I'm missing some setup in ModemManager to enable them?


I get them with the Sierra MC7710:


[21 Sep 2012, 11:59:50] [Debug] KEY: 01:00:02:03:00:00:00:00
[21 Sep 2012, 11:59:50] [Debug]   Service: 03
[21 Sep 2012, 11:59:50] [Debug]   Client ID: 02
[21 Sep 2012, 11:59:50] [Debug]   Transaction ID: 01:00
[21 Sep 2012, 11:59:50] [Debug] [/dev/cdc-wdm0] Received message...
>>>>>> QMUX:
>>>>>>   length  = 91
>>>>>>   flags   = 0x80
>>>>>>   service = "nas"
>>>>>>   client  = 2
>>>>>> QMI:
>>>>>>   flags       = "response"
>>>>>>   transaction = 1
>>>>>>   tlv_length  = 79
>>>>>>   message     = "Get Serving System" (0x0024)
>>>>>> TLV:
>>>>>>   type       = "Result" (0x02)
>>>>>>   length     = 4
>>>>>>   value      = 00:00:00:00
>>>>>>   translated = SUCCESS
>>>>>> TLV:
>>>>>>   type       = "MNC PCS Digit Include Status" (0x27)
>>>>>>   length     = 5
>>>>>>   value      = F2:00:01:00:00
>>>>>>   translated = [ mcc = '242' mnc = '1' includes_pcs_digit = '0' ]
>>>>>> TLV:
>>>>>>   type       = "LTE TAC" (0x24)
>>>>>>   length     = 2
>>>>>>   value      = BF:78
>>>>>>   translated = 30911
>>>>>> TLV:
>>>>>>   type       = "Detailed Service Status" (0x21)
>>>>>>   length     = 5
>>>>>>   value      = 02:03:00:00:00
>>>>>>   translated = [ status = '2' capability = '3' hdr_status = '0' hdr_hybrid = '0' forbidden = '0' ]
>>>>>> TLV:
>>>>>>   type       = "CID 3GPP" (0x1d)
>>>>>>   length     = 4
>>>>>>   value      = 00:67:03:01
>>>>>>   translated = 17000192
>>>>>> TLV:
>>>>>>   type       = "LAC 3GPP" (0x1c)
>>>>>>   length     = 2
>>>>>>   value      = FE:FF
>>>>>>   translated = 65534
>>>>>> TLV:
>>>>>>   type       = "Roaming Indicator List" (0x15)
>>>>>>   length     = 3
>>>>>>   value      = 01:08:01
>>>>>>   translated = { [0] = '[ radio_interface = '8' roaming_indicator = '1' ] '}
>>>>>> TLV:
>>>>>>   type       = "Current PLMN" (0x12)
>>>>>>   length     = 12
>>>>>>   value      = F2:00:01:00:07:54:45:4C:45:4E:4F:52
>>>>>>   translated = [ mcc = '242' mnc = '1' description = 'TELENOR' ]
>>>>>> TLV:
>>>>>>   type       = "Data Service Capability" (0x11)
>>>>>>   length     = 2
>>>>>>   value      = 01:0B
>>>>>>   translated = { [0] = '11 '}
>>>>>> TLV:
>>>>>>   type       = "Roaming Indicator" (0x10)
>>>>>>   length     = 1
>>>>>>   value      = 01
>>>>>>   translated = 1
>>>>>> TLV:
>>>>>>   type       = "Serving System" (0x01)
>>>>>>   length     = 6
>>>>>>   value      = 01:02:01:02:01:08
>>>>>>   translated = [ registration_state = '1' cs_attach_state = '2' ps_attach_state = '1' selected_network = '2' radio_interfaces = '{ [0] = '8 '}' ]

[21 Sep 2012, 11:59:50] [Debug] KEY: 01:00:02:03:00:00:00:00
[21 Sep 2012, 11:59:50] [Debug]   Service: 03
[21 Sep 2012, 11:59:50] [Debug]   Client ID: 02
[21 Sep 2012, 11:59:50] [Debug]   Transaction ID: 01:00
[/dev/cdc-wdm0] Successfully got serving system:
        Registration state: 'registered'
        CS: 'detached'
        PS: 'attached'
        Selected network: '3gpp'
        Radio interfaces: '1'
                [0]: 'lte'
        Roaming status: 'off'
        Data service capabilities: '1'
                [0]: 'lte'
        Current PLMN:
                MCC: '242'
                MNC: '1'
                Description: 'TELENOR'
        Roaming indicators: '1'
                [0]: 'off' (lte)
        3GPP location area code: '65534'
        3GPP cell ID: '17000192'
        Detailed status:
                Status: 'available'
                Capability: 'cs-ps'
                HDR Status: 'none'
                HDR Hybrid: 'no'
                Forbidden: 'no'
        LTE tracking area code: '30911'
        Full operator code info:
                MCC: '242'
                MNC: '1'
                MNC with PCS digit: 'no'
[21 Sep 2012, 11:59:50] [Debug] [/dev/cdc-wdm0] Unregistered 'nas' client with ID '2'



But not with the Huawei E367:


[21 Sep 2012, 12:12:40] [Debug] KEY: 01:00:02:03:00:00:00:00
[21 Sep 2012, 12:12:40] [Debug]   Service: 03
[21 Sep 2012, 12:12:40] [Debug]   Client ID: 02
[21 Sep 2012, 12:12:40] [Debug]   Transaction ID: 01:00
[21 Sep 2012, 12:12:40] [Debug] [/dev/cdc-wdm2] Received message...
>>>>>> QMUX:
>>>>>>   length  = 55
>>>>>>   flags   = 0x80
>>>>>>   service = "nas"
>>>>>>   client  = 2
>>>>>> QMI:
>>>>>>   flags       = "response"
>>>>>>   transaction = 1
>>>>>>   tlv_length  = 43
>>>>>>   message     = "Get Serving System" (0x0024)
>>>>>> TLV:
>>>>>>   type       = "Result" (0x02)
>>>>>>   length     = 4
>>>>>>   value      = 00:00:00:00
>>>>>>   translated = SUCCESS
>>>>>> 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 '}' ]
>>>>>> TLV:
>>>>>>   type       = "Roaming Indicator" (0x10)
>>>>>>   length     = 1
>>>>>>   value      = 01
>>>>>>   translated = 1
>>>>>> TLV:
>>>>>>   type       = "Current PLMN" (0x12)
>>>>>>   length     = 14
>>>>>>   value      = F2:00:01:00:09:4E:20:54:65:6C:65:6E:6F:72
>>>>>>   translated = [ mcc = '242' mnc = '1' description = 'N Telenor' ]
>>>>>> TLV:
>>>>>>   type       = "Data Service Capability" (0x11)
>>>>>>   length     = 3
>>>>>>   value      = 02:03:04
>>>>>>   translated = { [0] = '3 ' [1] = '4 '}

[21 Sep 2012, 12:12:40] [Debug] KEY: 01:00:02:03:00:00:00:00
[21 Sep 2012, 12:12:40] [Debug]   Service: 03
[21 Sep 2012, 12:12:40] [Debug]   Client ID: 02
[21 Sep 2012, 12:12:40] [Debug]   Transaction ID: 01:00
[/dev/cdc-wdm2] Successfully got serving system:
        Registration state: 'registered'
        CS: 'attached'
        PS: 'attached'
        Selected network: '3gpp'
        Radio interfaces: '1'
                [0]: 'umts'
        Roaming status: 'off'
        Data service capabilities: '2'
                [0]: 'hsdpa'
                [1]: 'hsupa'
        Current PLMN:
                MCC: '242'
                MNC: '1'
                Description: 'N Telenor'
[21 Sep 2012, 12:12:40] [Debug] [/dev/cdc-wdm2] Unregistered 'nas' client with ID '2'



Guess this depend on the NAS version?  The MC7710 has 1.16 while the
E367 has 1.0.




Bjørn


More information about the libqmi-devel mailing list