I’m using an MC8795V module that does not seem to be coping with long SMS messages.
I put the modem into plain text mode (ie, not PDU Mode) using the AT+CMGF command.
When I send a message < 160 characters I get the following after issuing AT+CMGL=“ALL”…
+CMGL: 0,"REC UNREAD","+642122xxxxx",,"14/05/06,16:55:00+48"
Long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long
OK
but if the message is longer than 160 characters I get…
+CMGL: 0,"REC UNREAD","+642122xxxxx",,"14/05/06,16:56:00+48"
67206C6F6E670A4C6F6E67206C6F6E67206C6F6E67206C6F6E67206C6F6E67206C6F6E67206C6F6E67206C6F6E67206C6F6E67206C6F6E67206C6F6E67206C6F6E67206C6F6E67206C6F6E67206C6F6E67206C6F6E67206C6F6E67206C6F6E67206C6F6E67206C6F6E67206C6F6E67206C6F6E67206C6F6E67206C6F6E67206C6F6E67206C6F6E67206C6F6E67206C6F6E67206C6F6E67206C
+CMGL: 1,"REC UNREAD","+642122xxxxx",,"14/05/06,16:57:00+48"
6F6E67206C6F6E67206C6F6E67
OK
Now before you say it’s switching to PDU mode, it isn’t, there is no header info etc. It seems to be switching to ascii hex!
6F 6E 67 20 6C 6F 6E 67 20 6C 6F 6E 67
o n g l o n g l o n g
To get around this for now, I’ve implemented a way of recognising what’s going on and converting it to text, but I was wondering if anyone else has had this problem and found away to make it work correctly and/or if there is likely to be a fix in the future.
Cheers, Hazel.