Error on checking balance via USSD

前端 未结 2 1886
伪装坚强ぢ
伪装坚强ぢ 2021-01-14 19:27

I\'ve been trying to check my balance from by 3g modem via AT commands and seem to be stuck.

The device infomation is as follows:

Manufacturer: QUALCOMM INCO

2条回答
  •  时光取名叫无心
    2021-01-14 19:33

    Ok, I finally found the way to fix this. Apparently there was a problem in the encoding. Here is what I did:

    AT+CSCS="GSM" // change character set to GSM
    AT+CUSD=1,"*111#",15 // Issued balance check ussd code
    

    It now works fine.

    The default encoding was UCS2, I'd appreciate if someone can share how to convert ussd codes to UCS2 encoding in putty.

提交回复
热议问题