3

I have bought ZTE MF667 GSM Modem and i am using Hyper Terminal to send AT COMMANDS, i have a problem with USSD e.g :

AT+CUSD=1,"*111#",15 (to check balance) but it returns only OK

AT+CUSD=1,"*111#" returns only OK

I have tested another AT COMMADS which work fine like

AT+CMGL="ALL" to read SMS (WORKS)

How could i resolve the problem please ?

PHP5
  • 69
  • 2
  • 6

3 Answers3

6

First of all USSD messages are fairly similar to SMS in that a message is sent from the mobile device to the operator network. This means when you execute a USSD command on your mobile device you will not receive an immediate response as the operator network's USSD service must answer your message. This explains why you receive only a "OK" answer to your USSD command. The "OK" is basically telling you the USSD command syntax was valid and a USSD command was sent from your mobile device to the operator network, nothing more.

Secondly as USSD command responses will be returned as an unsolicited response and therefore will not be stored alongside your SMS's.

Quote from wikipedia regarding this:

USSD is generally associated with real-time or instant messaging services. There is no store-and-forward capability, as is typical of other short-message protocols like SMS.

Addressing concretely your problem I would either assume that the operator network is being incredibly slow in responding. Or alternatively the "get balance" command you are sending is incorrect for your operator network. I would recommend checking your operator networks website to check the "get balance" USSD command code.

Matt Aldridge
  • 2,037
  • 16
  • 21
  • my ussd code is correct but still am getting this issues. any idea how to solve this ? – Anto sujesh Aug 29 '17 at 11:53
  • Just waiting does not bring the answer...After getting OK, nothing else is happening... – Jason Krs Jan 22 '18 at 21:22
  • If this is the case I would check if the code works on a mobile phone using the same SIM card you used in the modem. This is a quick and easy sanity check before digging into the configuration of the modem – Matt Aldridge Jan 23 '18 at 13:52
1

for past 20 days i try to solve this issues on my GSM Modem. finally i solved by follow below steps here its a solution :

STEP 01 :  AT+CSCS="GSM"  Enter, it will return ok
STEP 02 : AT+QURCCFG="urcport","uart1"  Enter, it will return ok

Now test your USSD like : AT+CUSD=1,"USSD CODE",15

My GSM modem Details - 4G Quectel (4G) EC20 Revision: EC20EQAR02A11E2G

Anto sujesh
  • 325
  • 3
  • 14
  • Wow, thanks so much. I was trying to get Neoway M590E module to work with Arduino and I wasn't receiving the USSD commands. After changing the character set to GSM (ie. AT+CSCS="GSM") it is now working perfectly. – Jeromy Adofo Mar 07 '18 at 19:07
-3

Just send the command "AT" and you'll receive your ussd response.

user1104916
  • 103
  • 1
  • 11