• Welcome to Forum.Deepsoftware.Com. Please login or sign up.
 
April 19, 2024, 09:30:43 am

News:

SMF - Just Installed!


I can't receive USSD result

Started by leprintemp, March 28, 2020, 10:09:37 am

Previous topic - Next topic

leprintemp

I have D-Link GSM Modem model :  DWM-156 and i can't receive ussd result.
Second :  when i try send AT command
AT+CUSD=1,"*777 # ",15 i receive "ERROR"
The log file :
Quote from: undefined[28/03/2020 13:02:12] nrComm Lib v9.44 Pro Windows 7 [6.1.7601] Service Pack 1
[28/03/2020 13:02:12] nrComm: The port COM4 is opened succesfully
[28/03/2020 13:02:12] nrGsm: Medium Opened
[28/03/2020 13:02:12] nrGsm: Check driver: Nokia 6230i
[28/03/2020 13:02:12] nrGsm: cmd: ATI<cr>
[28/03/2020 13:02:12] nrComm: Try to send the data with 4 length ...
[28/03/2020 13:02:12] nrComm: ... the data transmittion is OK!
[28/03/2020 13:02:12] nrGsm: DoDataSend: 4 bytes
[28/03/2020 13:02:12] nrGsm: send:ATI\0Dh
[28/03/2020 13:02:12] nrComm: Input data length: 42
[28/03/2020 13:02:12] nrGsm: ERROR Returned !!! \0Dh\0AhMTK2\0Dh\0AhMOLY.WR8.W1231.DC.WG.MP.V3\0Dh\0Ah\0Dh\0AhOK\0Dh\0Ah
[28/03/2020 13:02:12] nrGsm: Check driver: Nokia 7110
[28/03/2020 13:02:12] nrGsm: cmd: ATI<cr>
[28/03/2020 13:02:12] nrGsm: Check driver: Nokia 6120
[28/03/2020 13:02:12] nrGsm: cmd: ATI<cr>
[28/03/2020 13:02:12] nrGsm: Check driver: Nokia 5310
[28/03/2020 13:02:12] nrGsm: cmd: ATI<cr>
[28/03/2020 13:02:12] nrGsm: Check driver: Nokia CS-10
[28/03/2020 13:02:12] nrGsm: cmd: AT+CGMM<cr>
[28/03/2020 13:02:12] nrComm: Try to send the data with 8 length ...
[28/03/2020 13:02:12] nrComm: ... the data transmittion is OK!
[28/03/2020 13:02:12] nrGsm: DoDataSend: 8 bytes
[28/03/2020 13:02:12] nrGsm: send:AT+CGMM\0Dh
[28/03/2020 13:02:12] nrComm: Input data length: 21
[28/03/2020 13:02:12] nrGsm: ERROR Returned !!! \0Dh\0Ah+CGMM: MTK2\0Dh\0Ah\0Dh\0AhOK\0Dh\0Ah
[28/03/2020 13:02:12] nrGsm: Check driver: Samsung SGH-C120
[28/03/2020 13:02:12] nrGsm: cmd: AT+CGMI<cr>
[28/03/2020 13:02:12] nrComm: Try to send the data with 8 length ...
[28/03/2020 13:02:12] nrComm: ... the data transmittion is OK!
[28/03/2020 13:02:12] nrGsm: DoDataSend: 8 bytes
[28/03/2020 13:02:12] nrGsm: send:AT+CGMI\0Dh
[28/03/2020 13:02:12] nrComm: Input data length: 21
[28/03/2020 13:02:12] nrGsm: ERROR Returned !!! \0Dh\0Ah+CGMI: MTK1\0Dh\0Ah\0Dh\0AhOK\0Dh\0Ah
[28/03/2020 13:02:12] nrGsm: Check driver: Sony Ericsson T630
[28/03/2020 13:02:12] nrGsm: cmd: ATI<cr>
[28/03/2020 13:02:12] nrGsm: Check driver: Siemens A65
[28/03/2020 13:02:12] nrGsm: cmd: AT+CGMI<cr>
[28/03/2020 13:02:12] nrGsm: Check driver: Siemens M35i[t]
[28/03/2020 13:02:12] nrGsm: cmd: AT+CGMI<cr>
[28/03/2020 13:02:12] nrGsm: Check driver: Wavecom Modem
[28/03/2020 13:02:12] nrGsm: cmd: ATI0<cr>
[28/03/2020 13:02:12] nrComm: Try to send the data with 5 length ...
[28/03/2020 13:02:12] nrComm: ... the data transmittion is OK!
[28/03/2020 13:02:12] nrGsm: DoDataSend: 5 bytes
[28/03/2020 13:02:12] nrGsm: send:ATI0\0Dh
[28/03/2020 13:02:12] nrComm: Input data length: 42
[28/03/2020 13:02:12] nrGsm: ERROR Returned !!! \0Dh\0AhMTK2\0Dh\0AhMOLY.WR8.W1231.DC.WG.MP.V3\0Dh\0Ah\0Dh\0AhOK\0Dh\0Ah
[28/03/2020 13:02:12] nrGsm: Check driver: Wavecom Wireless CPU
[28/03/2020 13:02:12] nrGsm: cmd: AT+CGMI<cr>
[28/03/2020 13:02:12] nrGsm: Check driver: BenQ M2x
[28/03/2020 13:02:12] nrGsm: cmd: AT+CGMI<cr>
[28/03/2020 13:02:12] nrGsm: Check driver: Huawei E220
[28/03/2020 13:02:12] nrGsm: cmd: AT+CGMI<cr>
[28/03/2020 13:02:12] nrGsm: Check driver: Simcom SIM340
[28/03/2020 13:02:12] nrGsm: cmd: AT+CGMI<cr>
[28/03/2020 13:02:12] nrGsm: Check driver: iTegno (iWOW)
[28/03/2020 13:02:12] nrGsm: cmd: AT+CGMI<cr>
[28/03/2020 13:02:12] nrGsm: Check driver: Novatel Ovation MC950D
[28/03/2020 13:02:12] nrGsm: cmd: AT+CGMI<cr>
[28/03/2020 13:02:12] nrGsm: Check driver: Sierra Wireless
[28/03/2020 13:02:12] nrGsm: cmd: AT+CGMI<cr>
[28/03/2020 13:02:12] nrGsm: Check driver: ZTE
[28/03/2020 13:02:12] nrGsm: cmd: AT+CGMI<cr>
[28/03/2020 13:02:12] nrGsm: === Autodetect failed. Use default driver: Nokia 6230i
[28/03/2020 13:02:12] nrComm: Try to send the data with 3 length ...
[28/03/2020 13:02:12] nrComm: ... the data transmittion is OK!
[28/03/2020 13:02:12] nrGsm: DoDataSend: 3 bytes
[28/03/2020 13:02:12] nrGsm: send:AT\0Dh
[28/03/2020 13:02:12] nrComm: Input data length: 6
[28/03/2020 13:02:12] nrGsm: OK Returned !!! \0Dh\0AhOK\0Dh\0Ah
[28/03/2020 13:02:12] nrComm: Try to send the data with 4 length ...
[28/03/2020 13:02:12] nrComm: ... the data transmittion is OK!
[28/03/2020 13:02:12] nrGsm: DoDataSend: 4 bytes
[28/03/2020 13:02:12] nrGsm: send:ATZ\0Dh
[28/03/2020 13:02:12] nrComm: Input data length: 6
[28/03/2020 13:02:12] nrGsm: OK Returned !!! \0Dh\0AhOK\0Dh\0Ah
[28/03/2020 13:02:12] nrComm: Try to send the data with 5 length ...
[28/03/2020 13:02:12] nrComm: ... the data transmittion is OK!
[28/03/2020 13:02:12] nrGsm: DoDataSend: 5 bytes
[28/03/2020 13:02:12] nrGsm: send:ATE0\0Dh
[28/03/2020 13:02:12] nrComm: Input data length: 11
[28/03/2020 13:02:12] nrGsm: OK Returned !!! ATE0\0Dh\0Dh\0AhOK\0Dh\0Ah
[28/03/2020 13:02:12] nrComm: Try to send the data with 8 length ...
[28/03/2020 13:02:12] nrComm: ... the data transmittion is OK!
[28/03/2020 13:02:12] nrGsm: DoDataSend: 8 bytes
[28/03/2020 13:02:12] nrGsm: send:AT+CGMI\0Dh
[28/03/2020 13:02:12] nrComm: Input data length: 21
[28/03/2020 13:02:12] nrGsm: OK Returned !!! \0Dh\0Ah+CGMI: MTK1\0Dh\0Ah\0Dh\0AhOK\0Dh\0Ah
[28/03/2020 13:02:12] nrComm: Try to send the data with 8 length ...
[28/03/2020 13:02:12] nrComm: ... the data transmittion is OK!
[28/03/2020 13:02:12] nrGsm: DoDataSend: 8 bytes
[28/03/2020 13:02:12] nrGsm: send:AT+CGMM\0Dh
[28/03/2020 13:02:12] nrComm: Input data length: 21
[28/03/2020 13:02:12] nrGsm: OK Returned !!! \0Dh\0Ah+CGMM: MTK2\0Dh\0Ah\0Dh\0AhOK\0Dh\0Ah
[28/03/2020 13:02:12] nrComm: Try to send the data with 8 length ...
[28/03/2020 13:02:12] nrComm: ... the data transmittion is OK!
[28/03/2020 13:02:12] nrGsm: DoDataSend: 8 bytes
[28/03/2020 13:02:12] nrGsm: send:AT+CGMR\0Dh
[28/03/2020 13:02:12] nrComm: Input data length: 22
[28/03/2020 13:02:12] nrGsm: OK Returned !!! \0Dh\0Ah+CGMR: 1.2.1\0Dh\0Ah\0Dh\0AhOK\0Dh\0Ah
[28/03/2020 13:02:12] nrComm: Try to send the data with 9 length ...
[28/03/2020 13:02:12] nrComm: ... the data transmittion is OK!
[28/03/2020 13:02:12] nrGsm: DoDataSend: 9 bytes
[28/03/2020 13:02:12] nrGsm: send:AT+CPIN?\0Dh
[28/03/2020 13:02:12] nrComm: Input data length: 24
[28/03/2020 13:02:12] nrGsm: PIN is NECESSARY
[28/03/2020 13:02:12] nrGsm: OK Returned !!! \0Dh\0Ah+CPIN: SIM PIN\0Dh\0Ah\0Dh\0AhOK\0Dh\0Ah
[28/03/2020 13:02:12] nrComm: Try to send the data with 13 length ...
[28/03/2020 13:02:12] nrComm: ... the data transmittion is OK!
[28/03/2020 13:02:12] nrGsm: DoDataSend: 13 bytes
[28/03/2020 13:02:12] nrGsm: send:AT+CPIN=1804\0Dh
[28/03/2020 13:02:12] nrComm: Input data length: 9
[28/03/2020 13:02:12] nrGsm: Enter PIN/PUK is failed!
[28/03/2020 13:02:12] nrGsm: OK Returned !!! \0Dh\0AhERROR\0Dh\0Ah
[28/03/2020 13:02:12] nrComm: Try to send the data with 8 length ...
[28/03/2020 13:02:12] nrComm: ... the data transmittion is OK!
[28/03/2020 13:02:12] nrGsm: DoDataSend: 8 bytes
[28/03/2020 13:02:12] nrGsm: send:AT+CGSN\0Dh
[28/03/2020 13:02:12] nrComm: Input data length: 25
[28/03/2020 13:02:12] nrGsm: OK Returned !!! \0Dh\0Ah355619054850175\0Dh\0Ah\0Dh\0AhOK\0Dh\0Ah
[28/03/2020 13:02:12] nrComm: Try to send the data with 8 length ...
[28/03/2020 13:02:12] nrComm: ... the data transmittion is OK!
[28/03/2020 13:02:12] nrGsm: DoDataSend: 8 bytes
[28/03/2020 13:02:12] nrGsm: send:AT+CIMI\0Dh
[28/03/2020 13:02:12] nrComm: Input data length: 9
[28/03/2020 13:02:12] nrGsm: OK Returned !!! \0Dh\0AhERROR\0Dh\0Ah
[28/03/2020 13:02:12] nrComm: Try to send the data with 9 length ...
[28/03/2020 13:02:12] nrComm: ... the data transmittion is OK!
[28/03/2020 13:02:12] nrGsm: DoDataSend: 9 bytes
[28/03/2020 13:02:12] nrGsm: send:AT+CPMS?\0Dh
[28/03/2020 13:02:12] nrComm: Input data length: 9
[28/03/2020 13:02:12] nrGsm: OK Returned !!! \0Dh\0AhERROR\0Dh\0Ah
[28/03/2020 13:02:12] nrComm: Try to send the data with 7 length ...
[28/03/2020 13:02:12] nrComm: ... the data transmittion is OK!
[28/03/2020 13:02:12] nrGsm: DoDataSend: 7 bytes
[28/03/2020 13:02:12] nrGsm: send:AT+CBC\0Dh
[28/03/2020 13:02:12] nrComm: Input data length: 20
[28/03/2020 13:02:13] nrGsm: OK Returned !!! \0Dh\0Ah+CBC: 0, 0\0Dh\0Ah\0Dh\0AhOK\0Dh\0Ah
[28/03/2020 13:02:13] nrComm: Try to send the data with 7 length ...
[28/03/2020 13:02:13] nrComm: ... the data transmittion is OK!
[28/03/2020 13:02:13] nrGsm: DoDataSend: 7 bytes
[28/03/2020 13:02:13] nrGsm: send:AT+CSQ\0Dh
[28/03/2020 13:02:13] nrComm: Input data length: 22
[28/03/2020 13:02:13] nrGsm: OK Returned !!! \0Dh\0Ah+CSQ: 14, 99\0Dh\0Ah\0Dh\0AhOK\0Dh\0Ah
[28/03/2020 13:02:13] nrComm: Try to send the data with 10 length ...
[28/03/2020 13:02:13] nrComm: ... the data transmittion is OK!
[28/03/2020 13:02:13] nrGsm: DoDataSend: 10 bytes
[28/03/2020 13:02:13] nrGsm: send:AT+CMGF=0\0Dh
[28/03/2020 13:02:13] nrComm: Input data length: 9
[28/03/2020 13:02:13] nrGsm: OK Returned !!! \0Dh\0AhERROR\0Dh\0Ah
[28/03/2020 13:02:13] nrComm: Try to send the data with 15 length ...
[28/03/2020 13:02:13] nrComm: ... the data transmittion is OK!
[28/03/2020 13:02:13] nrGsm: DoDataSend: 15 bytes
[28/03/2020 13:02:13] nrGsm: send:AT+CNMI=2,2,,1\0Dh
[28/03/2020 13:02:13] nrComm: Input data length: 9
[28/03/2020 13:02:13] nrGsm: OK Returned !!! \0Dh\0AhERROR\0Dh\0Ah
[28/03/2020 13:02:13] nrComm: Try to send the data with 10 length ...
[28/03/2020 13:02:13] nrComm: ... the data transmittion is OK!
[28/03/2020 13:02:13] nrGsm: DoDataSend: 10 bytes
[28/03/2020 13:02:13] nrGsm: send:AT+CLIP=1\0Dh
[28/03/2020 13:02:13] nrComm: Input data length: 6
[28/03/2020 13:02:13] nrGsm: OK Returned !!! \0Dh\0AhOK\0Dh\0Ah
[28/03/2020 13:02:13] nrGsm: Queue finished
[28/03/2020 13:02:25] nrGsm: cmd: AT+CUSD=1,<q><RequestUSSD><q>,0<cr>
[28/03/2020 13:02:25] nrComm: Try to send the data with 20 length ...
[28/03/2020 13:02:25] nrComm: ... the data transmittion is OK!
[28/03/2020 13:02:25] nrGsm: DoDataSend: 20 bytes
[28/03/2020 13:02:25] nrGsm: send:AT+CUSD=1,"*777#",0\0Dh
[28/03/2020 13:02:25] nrComm: Input data length: 9
[28/03/2020 13:02:25] nrGsm: ERROR Returned !!! \0Dh\0AhERROR\0Dh\0Ah
[28/03/2020 13:04:09] nrComm: Try to send the data with 20 length ...
[28/03/2020 13:04:09] nrComm: ... the data transmittion is OK!
[28/03/2020 13:04:09] nrGsm: DoDataSend: 20 bytes
[28/03/2020 13:04:09] nrGsm: send:AT+CUSD=1,"*777#",15
[28/03/2020 13:04:19] nrGsm: Timeout!!! 10000 ms ""

Roman Novgorodov

Hello

Possible you need enter the correct PIN.
I see following ERROR lines:

[28/03/2020 13:02:12] nrGsm: PIN is NECESSARY
[28/03/2020 13:02:12] nrGsm: OK Returned !!! \0Dh\0Ah+CPIN: SIM PIN\0Dh\0Ah\0Dh\0AhOK\0Dh\0Ah
[28/03/2020 13:02:12] nrComm: Try to send the data with 13 length ...
[28/03/2020 13:02:12] nrComm: ... the data transmittion is OK!
[28/03/2020 13:02:12] nrGsm: DoDataSend: 13 bytes
[28/03/2020 13:02:12] nrGsm: send:AT+CPIN=1804\0Dh
[28/03/2020 13:02:12] nrComm: Input data length: 9
[28/03/2020 13:02:12] nrGsm: Enter PIN/PUK is failed!
[28/03/2020 13:02:12] nrGsm: OK Returned !!! \0Dh\0AhERROR\0Dh\0Ah


Roman Novgorodov
DeepSoftware
DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.

leprintemp

Hello Roman Novgorodov ;
I enter the correct PIN in PIN case !
I use delphi berlin 10.1

Roman Novgorodov

Hello

But modem returns ERROR after enter 1804. why ?
Does GSM demo works correctly with all its functions (sms sending receiving)?

Roman Novgorodov
DeepSoftware
DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.