Sending SMS - problem setting SMS center number

Started by glux, November 23, 2015, 11:32:58 PM

Previous topic - Next topic

glux

Hi,

i have problem with AT command setting to send SMS. I need after ATZ set SMS center number (AT+CSCA="00420602909909"). Currently my logs contains this:


[23-Nov-2015 22:24:17.782] [DEBUG] SMS: send to {602620026}: {test6}
[23-Nov-2015 22:24:20.385] [DEBUG] SMS: ReadToOK: readToMark returned -1
[23-Nov-2015 22:24:20.495] [DEBUG] SMS: ATZ sent, got OK
[23-Nov-2015 22:24:20.601] [DEBUG] SMS: ATE0 sent, got OK
[23-Nov-2015 22:24:20.706] [DEBUG] SMS: AT+CMGF=1 sent, got OK
[23-Nov-2015 22:24:20.812] [DEBUG] SMS: wrong response to AT+CMGS="XXXXXXXXX" (ERROR: 330
)


GSM error 330 is missing SMS center number, and my GSM modem does not allow to save it to profile with AT+CSAS...

How to add custom AT init command (AT+CSCA="00420602909909") after ATZ?

glux

Another solution can be try to restore saved profile: "AT+CRES"...

Victor Kirhenshtein

Hi,

it will require changes in SMS driver. I've registered it as feature request (https://dev.raden.solutions/issues/1017) - change is easy so I hope I'll make it until 2.0 release.

Best regards,
Victor