Hi!
I'm trying to send SMS from a nRF9160 but the sending fails, with the following error printed in the console on SDK 2.2.0:
```
[00:00:32.671,417] <err> sms: Sending AT command failed, err=197125
[00:00:32.671,447] <err> sms: +CMS ERROR: 517
```
Sadly the CMS error list in the docs (https://infocenter.nordicsemi.com/index.jsp?topic=%2Fref_at_commands%2FREF%2Fat_commands%2Ftext_mode%2Fcms.html) doesn't mention this error. I am getting it even when just calling with fixed strings like:
```sms_send_text("+47XXXXXXXX","test");```
Receiving SMS messages does work though, which leads me to think that any necessary connection is established for using SMS?
(PS: by the way, in "message format" (https://infocenter.nordicsemi.com/topic/ref_at_commands/REF/at_commands/text_mode/cmgf_set.html) there is a typo in the example ("AT+CMFG" instead of "AT+CMGF"))
- Kamil
Update: I have tried to manually send an AT+CMGS with a message, both with and without the correct SMSC number, no luck. I have also checked that the SIMs (have tried with two different ones) have a SMSC number on them using this approach: (How to read the SMS centre number on the SIM card using AT command on the nRF9160?).
Am on LTE-M.