Click here to Skip to main content
15,905,420 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
the command execute susses and i get response message on my mobile phone
but cannot read any thing in my vb .net app unless ok
but not getting the balance

What I have tried:

i tried to use threading.sleep different values
Posted
Updated 12-Dec-16 1:31am
Comments
Richard MacCutchan 12-Dec-16 3:45am    
Does this have something to do with programming?

1 solution

Quote:
but cannot read any thing in my vb .net app unless ok
So you got a response but it is just OK and no data.

Note that it might be necessary to enable reporting first using a AT+CUSD=1 command (which should respone with OK) before querying data using another command like AT+CUSD=1,"*111*2#". The option is usually disabled by default when powering up or sending a reset / default initialisation command.

Finally you should check if the "android samsung modem" and your SIM card supports the command. While the device should (otherwise there should be an error response), the SIM card might not (ask your provider).
 
Share this answer
 
Comments
maher qa 13-Dec-16 7:07am    
THANK YOU FOR YOUR ATTENTION
I USE THE COMMAND AT+CUSD=1,"*100#",15
AND IN MY MOBILE DISPLAY I GET THE RESPONSE "YOU HAVE 250 SP" BUT NO THING IN MY PORT MODEM RECEIVE ONLY OK
Jochen Arndt 13-Dec-16 7:15am    
As I wrote:
It depends on the device (mobile vs. modem) and the SIM card.

Did you use the same SIM card?
If not, try to use the SIM card from your mobile within the modem.
If yes, check the documentation of your modem.
maher qa 13-Dec-16 7:18am    
I USE THE SAME SIM CARD WITH ANOTHER MOBILE PHONE NOKIA
AND WORKS NORMALY
maher qa 13-Dec-16 7:22am    
I HAVE USED THE SAME SIM CARD WITH ANOTHER NOKIA PHONES AND WORKS GOOD
maher qa 13-Dec-16 7:20am    
I HAVE USED ANOTHER MOBILE PHONES NOKIA AND WORKS GOOD

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