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
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
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
Great to hear, Frode!
Kind regards,
Håkon