SMS support through MBIM

Aleksander Morgado aleksander at lanedo.com
Fri Jun 21 05:03:32 PDT 2013


On 21/06/13 14:02, Bjørn Mork wrote:
> Bjørn Mork <bjorn at mork.no> writes:
> 
>> Bjørn Mork <bjorn at mork.no> writes:
>>
>>> <<<<<<   cid     = 'device-service-subscriber-list' (0x00000013)
>>>
>>>
>>> I tried manually sending the exact same commands, but I cannot repeat
>>> the problem.  The notifications are still received.  Puzzling.
>>
>> That was because I managed to get the 'device-service-subscriber-list'
>> command wrong.  Sending the same command MM sends turns off
>> notifications.  So that command is indeed the cause.
> 
> 
> And looking closer at it, that shouldn't be a surprise at all. MM
> sends/receives these 3 'device-service-subscriber-list' commands:
> 
> 
> <<<<<<   data   = 03:00:00:00:54:00:00:00:0A:00:00:00:01:00:00:00:00:00:00:00:A2:89:CC:33:BC:BB:8B:4F:B6:B0:13:3E:C2:AA:E6:DF:13:00:00:00:01:00:00:00:24:00:00:00:01:00:00:00:0C:00:00:00:18:00:00:00:A2:89:CC:33:BC:BB:8B:4F:B6:B0:13:3E:C2:AA:E6:DF:01:00:00:00:0B:00:00:00
>>>>>>>   data   = 03:00:00:80:54:00:00:00:0A:00:00:00:01:00:00:00:00:00:00:00:A2:89:CC:33:BC:BB:8B:4F:B6:B0:13:3E:C2:AA:E6:DF:13:00:00:00:00:00:00:00:24:00:00:00:01:00:00:00:0C:00:00:00:18:00:00:00:A2:89:CC:33:BC:BB:8B:4F:B6:B0:13:3E:C2:AA:E6:DF:01:00:00:00:0B:00:00:00
> 
> <<<<<<   data   = 03:00:00:00:58:00:00:00:0B:00:00:00:01:00:00:00:00:00:00:00:A2:89:CC:33:BC:BB:8B:4F:B6:B0:13:3E:C2:AA:E6:DF:13:00:00:00:01:00:00:00:28:00:00:00:01:00:00:00:0C:00:00:00:1C:00:00:00:A2:89:CC:33:BC:BB:8B:4F:B6:B0:13:3E:C2:AA:E6:DF:02:00:00:00:0B:00:00:00:09:00:00:00
>>>>>>>   data   = 03:00:00:80:58:00:00:00:0B:00:00:00:01:00:00:00:00:00:00:00:A2:89:CC:33:BC:BB:8B:4F:B6:B0:13:3E:C2:AA:E6:DF:13:00:00:00:00:00:00:00:28:00:00:00:01:00:00:00:0C:00:00:00:1C:00:00:00:A2:89:CC:33:BC:BB:8B:4F:B6:B0:13:3E:C2:AA:E6:DF:02:00:00:00:0B:00:00:00:09:00:00:00
> 
> <<<<<<   data   = 03:00:00:00:58:00:00:00:0E:00:00:00:01:00:00:00:00:00:00:00:A2:89:CC:33:BC:BB:8B:4F:B6:B0:13:3E:C2:AA:E6:DF:13:00:00:00:01:00:00:00:28:00:00:00:01:00:00:00:0C:00:00:00:1C:00:00:00:A2:89:CC:33:BC:BB:8B:4F:B6:B0:13:3E:C2:AA:E6:DF:02:00:00:00:0B:00:00:00:09:00:00:00
>>>>>>>   data   = 03:00:00:80:58:00:00:00:0E:00:00:00:01:00:00:00:00:00:00:00:A2:89:CC:33:BC:BB:8B:4F:B6:B0:13:3E:C2:AA:E6:DF:13:00:00:00:00:00:00:00:28:00:00:00:01:00:00:00:0C:00:00:00:1C:00:00:00:A2:89:CC:33:BC:BB:8B:4F:B6:B0:13:3E:C2:AA:E6:DF:02:00:00:00:0B:00:00:00:09:00:00:00
> 
> 
> Which decodes to (only listing the replies, as they are identical to the
> commands):
> 
> MBIM_MESSAGE_HEADER
>   MessageType:  0x80000003 (MBIM_COMMAND_DONE)
>   MessageLength:        84
>   TransactionId:        10
> MBIM_FRAGMENT_HEADER
>   TotalFragments:       0x00000001
>   CurrentFragment:      0x00000000
> BASIC_CONNECT (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
> MBIM_CID_DEVICE_SERVICE_SUBSCRIBE_LIST (19)
> MBIM_STATUS_SUCCESS (0)
> InformationBuffer [36]:
>   ElementCount (EC): 1
>   DeviceServiceSubscribeRefList:
>   BASIC_CONNECT (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
>     CidCount:   1
>     CidList:    11
>       MBIM_CID_SIGNAL_STATE
> 
> 
> MBIM_MESSAGE_HEADER
>   MessageType:  0x80000003 (MBIM_COMMAND_DONE)
>   MessageLength:        88
>   TransactionId:        11
> MBIM_FRAGMENT_HEADER
>   TotalFragments:       0x00000001
>   CurrentFragment:      0x00000000
> BASIC_CONNECT (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
> MBIM_CID_DEVICE_SERVICE_SUBSCRIBE_LIST (19)
> MBIM_STATUS_SUCCESS (0)
> InformationBuffer [40]:
>   ElementCount (EC): 1
>   DeviceServiceSubscribeRefList:
>   BASIC_CONNECT (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
>     CidCount:   2
>     CidList:    11, 9
>       MBIM_CID_SIGNAL_STATE
>       MBIM_CID_REGISTER_STATE
> 
> 
> MBIM_MESSAGE_HEADER
>   MessageType:  0x80000003 (MBIM_COMMAND_DONE)
>   MessageLength:        88
>   TransactionId:        14
> MBIM_FRAGMENT_HEADER
>   TotalFragments:       0x00000001
>   CurrentFragment:      0x00000000
> BASIC_CONNECT (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
> MBIM_CID_DEVICE_SERVICE_SUBSCRIBE_LIST (19)
> MBIM_STATUS_SUCCESS (0)
> InformationBuffer [40]:
>   ElementCount (EC): 1
>   DeviceServiceSubscribeRefList:
>   BASIC_CONNECT (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
>     CidCount:   2
>     CidList:    11, 9
>       MBIM_CID_SIGNAL_STATE
>       MBIM_CID_REGISTER_STATE
> 
> 
> Only the BASIC_CONNECT service is enabled, so all SMS notifications are
> disabled.
> 

You already fully debugged the issue for me :) Thanks thanks

-- 
Aleksander


More information about the libmbim-devel mailing list