Click here to Skip to main content
15,895,799 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
CSS
i am using siemens modem (MC39i), and i want to use sim toolkit using this modem.
according to datasheet i applied  SAT commands,and its work fine. but at the end when we send request to network after this i don't get response.my code is given below,tell me what is missing in this...
how can i send and get response from network.
m stuck-off at this point please help me.
here it is my code:

AT
OK
AT+CMEE=2
OK
AT^SSTA?
^SSTA: 1,1,1,"7FFFFFFF7F0300DF57"

OK
AT^SSTA=1,0

OK

^SSTN: 37
AT^SSTGI=37             //here i got toolkit main menu
^SSTGI: 37,0,2,"UTop-Up",0,1,1,0
^SSTGI: 37,1,"Top-Up Customer",0,0
^SSTGI: 37,2,"Top-Up Retailer",0,0

OK

AT^SSTR=37,0
OK

^SSTN: 254
AT^SSTR=211,0,1         //here i select "Top-Up Customer" option
OK
at
^SSTN: 36
AT^SSTGI=36
^SSTGI: 36,0,6,"Top-Up Customer",0,0,0,0,0
^SSTGI: 36,1,"Balance Transfer",0,0
^SSTGI: 36,2,"Balance Inquiry",0,0
^SSTGI: 36,3,"Last Transaction",0,0
^SSTGI: 36,4,"Check Trans ID",0,0
^SSTGI: 36,5,"Change PIN",0,0
^SSTGI: 36,6,"U-Top Up Help Line",0,0

OK
AT^SSTR=36,0,1          //here i select "Balance Transfer" option
OK

^SSTN: 35

AT^SSTGI=35
^SSTGI: 35,0,"Enter Customer Mobile Number",11,11,"",0,0

OK
AT^SSTR=35,0,,03331234567
OK

^SSTN: 35

AT^SSTGI=35
^SSTGI: 35,0,"Enter Top-Up Amount",2,4,"",0,0

OK
AT^SSTR=35,0,,20
OK

^SSTN: 35
AT^SSTGI=35
^SSTGI: 35,4,"Enter Your PIN",6,6,"",0,0

OK
AT^SSTR=35,0,,123456
OK

^SSTN: 33

AT^SSTGI=33
^SSTGI: 33,129,"Would you like to transfer Rs.20 to 03331234567?",0,1,0

OK
AT^SSTR=33,0
OK

^SSTN: 17
AT^SSTGI=17
^SSTGI: 17,0,"Sending",0,0

OK

//after this i don't get response from network.
//Help me!

Posted
Comments
Member 9871074 6-Feb-14 4:42am    
APPLYING THIS COMMAND AT YOUR SUGGESTION,BUT IT NOT WORKED :(
^SSTN: 17
AT^SSTGI=17
^SSTGI: 17,0,"Sending",0,0

OK
AT^SSTR=17,0
^SSTR: 17,1,"Call denied!"

OK

^SSTN: 254
Jochen Arndt 6-Feb-14 5:07am    
You should have posted this to my solution. See my answer below.

1 solution

I don't know much about Remote Sat, but your listing does not send the acknowledge for the last command. According to the Remote-SAT Users' Guide, sending SSTR is required for command type 17. So you should send:
AT^SSTR=17,0
 
Share this answer
 
Comments
Jochen Arndt 6-Feb-14 5:06am    
Member 9871074 wrote (copied from above):
APPLYING THIS COMMAND AT YOUR SUGGESTION,BUT IT NOT WORKED :(
^SSTN: 17
AT^SSTGI=17
^SSTGI: 17,0,"Sending",0,0
OK
AT^SSTR=17,0
^SSTR: 17,1,"Call denied!"
OK
^SSTN: 254

So there is some kind of error, but you get a response know (and must acknowledge the 'SSTN: 254').

As already noted, I did not know moch about Remote-SAT. So you should find out how to handle it.

Basically, you have to wait for SSTN commands, request the parameter details by sending SSTGI commands and finally acknowledge with SSTR when it is required for the command.
antosujeshj 11-Oct-17 14:47pm    
did u find the answer ?
Jochen Arndt 12-Oct-17 13:17pm    
No, because I only tried to help and can't check it without having an approprtiate modem.

If you want a reply from Member 9871074 you should write a comment to his question.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900