SIM OTA Messages

SIM OTA Messages SearchSearch
Author Message
Anonymous
Posted on Tuesday, October 14, 2003 - 06:29 pm:   

I am interested in doing is being able to send binary messages to the SIM. Although this qualifies as OTA messages, OTA referring to SIMs is very different from OTA referring to terminals. The idea is that a data SMS is sent, which the SIM recognises as being meant for itself and starts to interpret the message. The message can be composed of commands that will be executed on the SIM and the commands may result in updating the files present on the SIM.

My concern is that there is a fair amount of settings that need to be done for this type of a message which are not available in the web interface for binary SMSes in NowSMS. For example, I would like to send the following set of commands to the mobile, all of which can fit into 1 SMS.

A02000010830303030FFFFFFFF (HEX) ;Verify security code
A0A40000023F00 (HEX) ;Select Masterfile
A0A40000027F20 (HEX) ;Select Diretoryfile
A0A40000026F30 (HEX) ;Select Preferred networks file
A0D6000003414141 (HEX) ;Update with 3 bytes of data

Am I right to assume that if I place the binary equivalent of the above script in the binary data field of the binary message, everything else will be done by itself? I just need to get some clarification on this.

Would you have examples of how to achieve this?
Bryce Norwood - NowSMS Support
Posted on Tuesday, October 14, 2003 - 06:39 pm:   

It looks like you're working with messages from the ETSI GSM 11.11 specification.

You would just need to supply an appropriate DCS (data coding scheme) and PID (protocol id) value for the message, and then your hex data will work ok.

I believe that you would want to use a DCS value of 16, which indicates SMS message class 2 (SIM specific), 8-bit data.

And the PID value should be set to 7F, which indicates that this is a SIM data download message.