I'm tired of looking for how to send the USSD command to Google. I want to check if the balance can work with the operator.
All the samples I've seen use the following commands:
"AT+CUSD=1,\"*140*1#\"\r\n";
This seems to be right. I am using something like this, which I think works. I have a D-Link GSM modem, and when I send this command with it, it creates some noise on my speaker, which, it seems to me, tells me that something happened.
my modem has its own application for Windows, when I disconnected the modem with my application, I check it with the modem application and on the USSD tab I can find the result of my commands that I sent by the application itself.
then this command works fine, but I confuse what happens when I send my command, it returns me βOKβ and does not return the operatorβs response, and how can my modem application read this answer ????????
I am testing these commands, but I canβt get the result, and my modem just returns something like this: "Only AT + CUSD = 1, \" * 140 * 1 # \ "\ r \ n \ OK \ r \ n" .
1) "AT+CUSD=1,\"*140*1#\",15\r\n" 2) "AT+CUSD=1,\"*140*1#\",1\r\n" 3) "AT+CUSD=1,\"*140*1#\",15\r" 4) "AT+CUSD=1,\"*140*1#\",1\r" 5) "AT+CUSD=1,\"*140*1#\""
I think that the result of the read command may have a difference command, or I should install some configuration on my modem.
I am very interested that my modem does not return an error to me and always returns OK.