• Welcome to Forum.Deepsoftware.Com. Please login or sign up.
 

onUSSD.. sData is there but not shown

Started by heo, August 17, 2017, 06:13:55 am

Previous topic - Next topic

heo

Hello

I am nrComm Lib 9.42 user

I tried to send at command  at+cusd=1,"*888#",15<cr>  with Wavecom Modem Pool 8 port
and replied OK with no further detail information like "how much remains in balance or something.."

nrGSM1Ussd method, sData looks empty
I just found that sData is not empty but only not shown.

                           ListBox1.Items.Add('USSD:' + intTOstr(length(sData)) + sData)
the results is -->   USSD : 37

please let me know how i get the result string (sData)

below is LogFile which shown nice sData

thanks
Heo


/////////// Log File ////////////
[17/08/2017 16:06:26] nrGsm: send:at+cusd=1,"*888#",15\0Dh
[17/08/2017 16:06:26] nrGsm: OK Returned !!! \0Dh\0AhOK\0Dh\0Ah
[17/08/2017 16:06:29] nrGsm: USSD Notify:  1,"Sisa pulsa Rp.7500.Penggunaan pulsa Rp.2750.Aktif sd 15/09/2017.\0AhPromo Paket dgn kuota internet lebih besar dan kuota FB. Mau?\0Ah1.YA\0Ah2.Telp MURAH\0Ah3.Cek Kuota\0Ah",0
[17/08/2017 16:07:28] nrGsm: USSD Notify:  4
[17/08/2017 16:07:58] nrGsm: DoDataSend: 23 bytes
[17/08/2017 16:07:58] nrGsm: send:at+cusd=1,\"*888#\",15\0Dh
[17/08/2017 16:07:59] nrGsm: ERROR Returned !!! \0Dh\0AhERROR\0Dh\0Ah
[17/08/2017 16:09:04] nrGsm: DoDataSend: 18 bytes
[17/08/2017 16:09:04] nrGsm: send:at+cusd=1,"*888#"\0Dh
[17/08/2017 16:09:04] nrGsm: OK Returned !!! \0Dh\0AhOK\0Dh\0Ah
[17/08/2017 16:09:08] nrGsm: USSD Notify:  1,"Sisa pulsa Rp.7500.Penggunaan pulsa Rp.2750.Aktif sd 15/09/2017.\0AhPromo Paket dgn kuota internet lebih besar dan kuota FB. Mau?\0Ah1.YA\0Ah2.Telp MURAH\0Ah3.Cek Kuota\0Ah",0
/////////////// Log File End /////////////////////////////////