2
votes

I have a modem ZTE model MF190 and would like send SMS through AT commands on the serial port. My problem is: when I send AT commands, the modem responds with an error +CMS ERROR: 305

Researched a lot about the error, and he is due some invalid character in the message, but am not writing anything wrong in the message.

check:

commands sent

The funny thing is that if I send an empty message, I get the SMS (obviously empty)

Someone has been there and knows how to configure or send SMS by this model of modem?

2
This is a non-answer, but you may solve your problem using PDU mode.smeso
Yes, I tried that but the error persisted. I believe there is something I'm missing.Renato

2 Answers

1
votes

The error seems to signify that one or more parameter values assigned to the AT command are invalid for a text mode initiated SMS.

What is the command string being sent?

0
votes

Try hitting Ctrl+Z instead of Enter.

EDIT 2016-04-05: Note for anyone doing this using socat or similar under *nix: you will need to hit Ctrl+V prior to hitting Ctrl+Z or it will suspend socat to the background instead of sending the control character to the port.