Skip to contentSkip to conversation

Incoming sms problem on Motorola Droid 4

DISCUSSION Pavel Machek 1 participant 2 messages May 9, 2018 – May 11, 2018 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Hi!

Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 2 lines
Quoted 1 line

AT+CNMI=1,2,2,1,0

< OK

Well you can try to see what Android is doing for SMS with:

# echo 0x7fffffff > /sys/module/ts27010mux/parameters/debug_level
# dmesg | grep ts27010 | grep AT

To send SMS, looks like Android RIL first does:

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

2 AT+CMGS=327 where 327 seems to be the size of the whatever encoded message. Then the next packet to dlci 2 contains the encoded message that is of size 327.

Sending SMSes seems to work with ofono.

OK is this over ttyUSB or ngsm port?

ttyUSB. ngsm port behaves too strangely for me.

Quoted 17 lines
Quoted 10 lines
Quoted 10 lines

When receiving, mdm6600 sends these on dlci 1:
~+WAKEUP
~+WAKEUP
~+WAKEUP

Then mdm6600 sends this on dlci 9:
~+CMT=372

And that's probably the incoming SMS size. But I don't see anything for what actually reads the incoming SMS.

Hmm it occured to me that maybe the incoming messages are read using QMI over USB.

Quoted 3 lines

That seems to be standard message ftp://www.3gpp.org/tsg_t/TSG_T/TSGT_04/Docs/PDFs/TP-99129.pdf .

Quoted 7 lines
Quoted 1 line

Do you see AT+CNMI during boot and AT+CNMA after message is received?

I'm only seeing AT+CNMA=0,0 on dlci 9 after resume. I think that is used to query for new messages.

No CNMI in my logs it seems. But if QMI over USB is used to read the messages that would explain it only checks for new SMS.

Thanks for info. No real leads there :-(.
Pavel

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
#2 lore raw
In reply to a message not in the archive

Hi!

Quoted 9 lines
Quoted 2 lines
Quoted 2 lines

And that's probably the incoming SMS size. But I don't see anything for what actually reads the incoming SMS.

Hmm it occured to me that maybe the incoming messages are read using QMI over USB.

Quoted 3 lines

That seems to be standard message ftp://www.3gpp.org/tsg_t/TSG_T/TSGT_04/Docs/PDFs/TP-99129.pdf .

Quoted 7 lines
Quoted 1 line

Do you see AT+CNMI during boot and AT+CNMA after message is received?

I'm only seeing AT+CNMA=0,0 on dlci 9 after resume. I think that is used to query for new messages.

No CNMI in my logs it seems. But if QMI over USB is used to read the messages that would explain it only checks for new SMS.

I tried debugging this some more, and it is rather frustrating :-(.

State of the modem is kept over tries, which makes me reboot rather often.

Is there way to power cycle the modem without reboot? That should make the debugging... less bad.

Best regards,

Pavel

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html