To be able to SMS we need the SMSC number stored in the SIM card.
I did not find an AT command to read this, so I gues we need to use the +CSIM or +CRSM?
Regards,
Frode
To be able to SMS we need the SMSC number stored in the SIM card.
I did not find an AT command to read this, so I gues we need to use the +CSIM or +CRSM?
Regards,
Frode
Hello Frode,
have a look at this thread: https://devzone.nordicsemi.com/f/nordic-q-a/41755/sending-sms-using-at_client-example
- David
Hi Frode,
I'm checking internally on this matter, and key personnel for answering such questions are not available right now. I'll update you as soon as I hear something, most likely by tomorrow.
Kind regards,
Håkon
not all telecom vendors require SMSC when sending/receiving sms. In the case you're linking to, the SMSC is omitted.
kind regards,
Håkon
Hi,
You can fetch the SMSC using AT+CRSM:
AT+CRSM=178,28482,1,4,0
The return is this on my telenor sim card:
+CRSM: 144,0,"54454C454E4F52FFFFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFF06917409001200FFFFFFFFFFFFFFFF"
This data format is described in "3GPP TS 31.102 version 15.1.0 Release 15", chapter 4.2.27:
The alpha identifier is variable in length. As the "Service Centre address" is defined in the middle of the read out format (length of string - 15 bytes, 12 bytes long), you have to start counting from the end:
54454C454E4F52FFFFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFF06917409001200FFFFFFFFFFFFFFFF
Kind regards,
Håkon
Thanks, we got passed on the tests using the +CRSM to read the SMSC from the SIM card.
Regards,
Frode