SparkFun Forums 

Where electronics enthusiasts find answers.

Tips and questions relating to the GPS modules from SFE
By goran56
#121734
Hello and excuse my english

I have a problem with the gm862-gps sms activation service
If i read the latest AT Command reference guide about SMSATRUN
You can send Special SMS to activate sms atrun service

I found in the rev 8 more information.
But i dont understand what they mean.

See below
• By default the SMS ATRUN service is disabled
• If the module receives the following SMS:
Offset Size Value Description0 3 0xD2D2D2 SMSATRUN activation
3 1 0..255 Transaction ID
4 1 0x11 Segment 1 of 1
5 1 Session Id
6 64 RSA Digest

• where the RSA is calculated using the RSA algorithm with the RSA private key on the string SMSATRUN ACTIVATION concatenated with an optional phone number
• the module decodes the digest using the RSA public key and, if the result is the default string expected, the message is accepted and
o activates the SMSATRUN service
o inserts in the white list (which has 8 positions) the phone number if present, in position 7
o inserts in the white list a default password in position 8: as for OTA service, the password is imei+last imei digit (16 digits)
• answers to server sending a SMS to the sender number:

If somebody have more information about RSA key generation