I am sending AT+CUSD command (to dial a ussd code) to a gsm modem. It is working fine. The response is also correct on the handset. But the response is in I think hex format or some encoding unknown to me:
GSM MODEM HARDWARE:
Nokia C6-01
Connected to laptop using USB cable. Usb mode: Nokia Suite
Commands for initializing the encoding:
AT+CSCS=?
+CSCS: ("UCS2","GSM","PCCP437","PCDN","IRA","8859-1","HEX","UTF-8")
AT+CSCS="IRA"
AT+CSCS?
+CSCS: "IRA"
Also tried:
AT+CSCS="GSM"
AT+CSCS="UTF-8"
Actual Ussd Command:
AT+CUSD=1,"*123#",15
Actual Response:
+CUSD: 1,"c47258e1ad7e7f477bb2c6781e0ec72785e691d36136481593cd54f6777d8c2ecb23e1313d6dfd3d36f7764fc26974720fa1b242f8fd161f9b9cc",1
OK
Expected Response:
AT+CUSD=1,"*123#",15
+CUSD: 1,"Dear Customer.... some response in english",1