SMS support through MBIM
Bjørn Mork
bjorn at mork.no
Fri Jun 21 04:03:11 PDT 2013
Aleksander Morgado <aleksander at lanedo.com> writes:
>>> > Was the notification received in MM but not processed? Or completely not
>>> > processed?
>> Nothing visible at all.
>
> I'll check at which device-service-subscriber-list messages MM sends; we
> may be incorrectly disabling SMS notifications in the modem... otherwise
> I have no idea what could be happening.
MM sent these CIDs:
<<<<<< cid = 'device-caps' (0x00000001)
<<<<<< cid = 'radio-state' (0x00000003)
<<<<<< cid = 'subscriber-ready-status' (0x00000002)
<<<<<< cid = 'pin' (0x00000004)
<<<<<< cid = 'subscriber-ready-status' (0x00000002)
<<<<<< cid = 'subscriber-ready-status' (0x00000002)
<<<<<< cid = 'subscriber-ready-status' (0x00000002)
<<<<<< cid = 'pin-list' (0x00000005)
<<<<<< cid = 'device-service-subscriber-list' (0x00000013)
<<<<<< cid = 'device-service-subscriber-list' (0x00000013)
<<<<<< cid = 'register-state' (0x00000009)
<<<<<< cid = 'register-state' (0x00000009)
<<<<<< 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. I'm
starting to wonder if this is yet another firmware timing issue. Don't
waste much more time on this. It's too magic. Make it work on the
Huawei modem and I'll try to verify the solution with the Mediatek
firmware.
>>> > Was the modem *enabled* when you expected to receive the SMS?
>> Yes. The first time was immediately after successfully sending, without
>> disabling or restarting anything.
>>
>> And listing the messages now using MBIM_CID_SMS_READ with 3 x 0 as
>> infobuffer, I see that they are indeed all received.
>
> Are those listed when using (MBIM_SMS_FLAG_ALL = 0) in SMS_READ?
Yes. I should have been clearer about the 3 x 0:
SmsFormat: 0 MBIMSmsFormatPdu
Flag: 0 MBIMSmsFlagAll
MessageIndex: 0 irrelevant
Bjørn
More information about the libmbim-devel
mailing list