How to send "SIM Data Download" text message.

How to send "SIM Data Download" text message. SearchSearch
Author Message
srini_ussd
New member
Username: Srini_ussd

Post Number: 1
Registered: 07-2009
Posted on Tuesday, September 08, 2009 - 06:12 am:   

Hi,

How to send "SIM Data Download" text message (I am using the pid =7f and dcs=f6.)

1.I have the licensed nowsms (v2006.10.31).
2.I have tried with the following URL http://locallhost:port/PhoneNumber=9650050746&Text=testmessage&PID=7f&DSC=f6

Still it is acting as normal SMS only.

Plz help me to solve this issue.

Thanks,
SrinivasaRao
9312233576
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1210
Registered: 08-2008
Posted on Tuesday, September 08, 2009 - 07:11 pm:   

Hi,

I can't give much advice on this. PID and DCS are ok (should be DCS, not DSC).

However if you are sending invalid data (such as text=testmessage), then you will not get very far.

There's also generally UDH (user data header) involved ... 027000.

You need to construct an ETSI GSM 11.11/11.14 binary message with a valid security code for encryption. ETSI GSM 03.48 defines the security mechanisms for the encryption of the data.

What are you trying to accomplish?

--
Des
NowSMS Support
dinesh s
New member
Username: Dinesh_sms

Post Number: 1
Registered: 10-2009
Posted on Friday, October 23, 2009 - 07:51 am:   

Hi,
I want to change the "IMSI" and "Service Centre Address" in a GSM mobie's SIM. I have SMSC,SMPP Server and SMPP Client(ESME). I shall send Submit-SM from ESME. ( ESME-->(submit-sm)-->SMPPServer-->SMSC-->Mobile Station-->SIM ).

I just know that protocol-id:7f,dcs:f6 must be specified.
I would like to know how to form the submit-sm message(i.e. encoding) so that the IMSI /SMSC Address will get changed in a Mobile Station via SMS.
While updating IMSI/SMSC Addr, is it required to do Authentication? If yes then how?

Please give me info, docs or inputs if u have experience in this. dinesh1510@hotmail.com
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1376
Registered: 08-2008
Posted on Friday, October 23, 2009 - 02:41 pm:   

Start reading the specifications that I referenced above. You can find them at http://www.etsi.org, or more specifically http://pda.etsi.org/pda/queryform.asp.

And yes, you do need to sign your message with appropriate security codes for the SIM ... otherwise that would be a pretty big security hole, don't you think?

--
Des
NowSMS Support
dinesh s
New member
Username: Dinesh_sms

Post Number: 2
Registered: 10-2009
Posted on Monday, October 26, 2009 - 06:27 am:   

Hi Des, Thanks for ur prompt response.
I have gone through the above references.
I do not understand how to form a message which will inform SIM to update the contents of a file. e.g. I want to write "123456" to the file "EF-IMSI", whose file id is "F607". Do I need to form data part of Submit-SM with UDHI enabled and UDH as shown in ETSI GSM 03.48(sec 5,6)? and two commands viz "SELECT"- to select "EF-IMSI" & "UPDATE BINARY"- with new IMSI number to be written to file?
After sending this Submit-SM, shall I wait for a Response from MS?
Dave
New member
Username: Dave10

Post Number: 1
Registered: 08-2010
Posted on Monday, August 16, 2010 - 07:55 am:   

Hi,
for SIM data download, we nee to construct an ETSI GSM 11.11/11.14 binary message with a valid security code for encryption. Can I check is there any means to obtain the values for SPI,KIC,KID and TAR? Only the vendors have it? Can I derive them if I have the sim KI-128-1? Thanks
Casper Helenius
New member
Username: Casperhelenius

Post Number: 2
Registered: 01-2011
Posted on Tuesday, January 25, 2011 - 09:22 am:   

Using the web interface, I am trying to send the following message:

Phonenumber: +45xxxxxxxx
UDH: 027000
Binary data: A0A40000027F10A0A40000026F42A0DC01042A544443FFFFFFFFFFFFFFFFFFFFFFEDFFFFFFFFFFFF FFFFFFFFFFFF06915421436587FFFFFFFFFFFFFFAA
PID: 7f
DCS: f6

This should (supposedly?) change the SMSC/service center number on the SIM-card.

However, nothing seems to get through. NowSMS reports no errors.

Am I missing something?

//Casper
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 2850
Registered: 08-2008
Posted on Tuesday, January 25, 2011 - 09:04 pm:   

Hi Casper,

I wish I knew. If you could explain how you generated the data to update the SIM, I can try to follow through the specifications and see if I notice anything missing.

The following thread might also be helpful to you: http://support.nowsms.com/discus/messages/12/60056.html (Unfortunately the response at the end which indicates that he was eventually successful lacks some detail, and appears to have contradictory advice, although that could be a typo.)

--
Des
NowSMS Support