I sended “AT#SD blah blah” to server with command mode. Module alwasy return OK when connected or could not connected. After i was check socket status with “AT#SS”. Socket was opened when cannot connected.
Is it should be return “ERROR” when cannot connect to server? How can i sense that operation.
Thanks.
Hi, please read Telit IP Easy User Guide, is all described there. Post a command log here with the problem.
Hi, i readed this document but could not be found solution about that. AT#SD alwasy return OK in command mode. I did as follows: Wait for “NO CARRIER” after “OK”. Server connection successfull if did not return “NO CARRIER”.
But it must be different solution. Also sometimes return “NO CARRIER” even connected to server.
Firmware version please?
10.00.155
GL865-DUAL
Any idea?
I just wanna receive “ERROR” when can not connect to server.
are you talking about TCP or UDP? Please post AT command log
Working on TCP. I want to be connect to server over TCP/IP. And sense connect or disconnect.
I added my log file to attachment. I putted stars on the major lines.
Also i seen “IP Easy related errors” header in pdf file page 26. But i could not be activate that related errors even set SELINT to 2.
Tested that commands but still could not received “IP Easy related errors”.
ATQ0
AT#CMEEMODE=1
AT+CMEE=2
Can you connect to that server in online mode?
Can you connect to that server with other means (ex: telnet from a computer)?
AT+CMEE working while coming error codes. But i could not receive error. AT#SD alwasy send “OK” in command mode.
Server working not problem this point. I closed server socket for get error message from telit module.
Heeeeeeeeeelp.
Please clarify your problem:
you say that AT#SD returns OK, then NO CARRIER, in command mode, if the server at 85.95.257 port 4666 is not running?
AT#SD alwasy return OK. While connect to server or cannot connect. I closed my “socket listener software” on server because i want to be receive ERROR while cannot connecting.
Simply:
When socket opened: AT#SD…… reponse:OK
When socket closed: AT#SD…… response:ERROR (but again return OK)
When socket closed: AT#SD…… response:ERROR (but again return OK)
A log snippet with this please (with AT+CMEE=2)?
AT+CMEE=2 did not work because server did not returned “ERROR”. Pls look at the log.
Please post only the lines in log where you think the problem is.
Maybe this is it?
19.08.2015 16:06:22 : MCU:AT#SD=1,0,4622,85.95.252.44,0,0,1 19.08.2015 16:06:24 : MODULE: OK
19.08.2015 16:06:27 : MODULE: NO CARRIER
This is what I get:
AT#SD=1,0,4666,85.95.257.66,0,0,1
+CME ERROR: timeout in opening socket
But of course the address provided in the first log is wrong. With the one in the second log:
AT#SD=1,0,4622,85.95.252.44,0,0,1
OK
and after some time, more than a minute:
NO CARRIER
Is obvious the server is running. The cause of closure:
AT#SLASTCLOSURE
#SLASTCLOSURE: 1,3 …
OK
meaning 3 – socket inactivity timeout
All good for now.
Trying a nonexistent server:
AT#SD=1,0,4111,85.95.252.44,0,0,1
+CME ERROR: timeout in opening socket
Good again.
Please stop the server and notify me to be able to test.
I was stop server software. You can test it.
Here is:
AT#SD=1,0,4622,85.95.252.44,0,0,1
+CME ERROR: timeout in opening socket
As it should be. I see no problem here.
Still return OK on me. Also AT#SLASTCLOSURE alwasy return ERROR.
Maybe problem at my module. How can i set factory default or firmware update?
@Cosmin pls tell me your AT#SCFG configuration line.
my config : AT#SCFG=1,1,0,180,10,3
My #SCFG was the default one, however even with yours the “+CME ERROR: timeout in opening socket” comes back, of course much quicker.
Simply upgrade the module to the latest firmware, you’ll have factory default settings and #SLASTCLOSURE.
Ok thank you for all. I will try firmware update.
I could not found GL865 Dual firwmare binary file. Pls share.
We use cookies to enhance your browsing experience and help us improve our websites. To improve our website, we carefully select third parties that use cookies to allow us to serve specific content and achieve the purposes set out in our cookie policy. For more information on how to make adjustments through your browser to the cookies being used on your device, please click Find Out More link. By closing this banner or continuing to browse our website, you agree to our use of such cookies. FIND OUT MORE
Hi,
How can i understand connected to server or not?
I sended “AT#SD blah blah” to server with command mode. Module alwasy return OK when connected or could not connected. After i was check socket status with “AT#SS”. Socket was opened when cannot connected.
Is it should be return “ERROR” when cannot connect to server? How can i sense that operation.
Thanks.
Hi, please read Telit IP Easy User Guide, is all described there. Post a command log here with the problem.
Hi, i readed this document but could not be found solution about that. AT#SD alwasy return OK in command mode.
I did as follows: Wait for “NO CARRIER” after “OK”. Server connection successfull if did not return “NO CARRIER”.
But it must be different solution. Also sometimes return “NO CARRIER” even connected to server.
Firmware version please?
10.00.155
GL865-DUAL
Any idea?
I just wanna receive “ERROR” when can not connect to server.
are you talking about TCP or UDP? Please post AT command log
Working on TCP. I want to be connect to server over TCP/IP. And sense connect or disconnect.
I added my log file to attachment. I putted stars on the major lines.
Also i seen “IP Easy related errors” header in pdf file page 26. But i could not be activate that related errors even set SELINT to 2.
Tested that commands but still could not received “IP Easy related errors”.
ATQ0
AT#CMEEMODE=1
AT+CMEE=2
Can you connect to that server in online mode?
Can you connect to that server with other means (ex: telnet from a computer)?
AT+CMEE working while coming error codes. But i could not receive error. AT#SD alwasy send “OK” in command mode.
Server working not problem this point. I closed server socket for get error message from telit module.
Heeeeeeeeeelp.
Please clarify your problem:
you say that AT#SD returns OK, then NO CARRIER, in command mode, if the server at 85.95.257 port 4666 is not running?
AT#SD alwasy return OK. While connect to server or cannot connect. I closed my “socket listener software” on server because i want to be receive ERROR while cannot connecting.
Simply:
When socket opened: AT#SD…… reponse:OK
When socket closed: AT#SD…… response:ERROR (but again return OK)
A log snippet with this please (with AT+CMEE=2)?
AT+CMEE=2 did not work because server did not returned “ERROR”. Pls look at the log.
Please post only the lines in log where you think the problem is.
Maybe this is it?
This is what I get:
But of course the address provided in the first log is wrong. With the one in the second log:
and after some time, more than a minute:
Is obvious the server is running. The cause of closure:
meaning 3 – socket inactivity timeout
All good for now.
Trying a nonexistent server:
Good again.
Please stop the server and notify me to be able to test.
I was stop server software. You can test it.
Here is:
As it should be. I see no problem here.
Still return OK on me. Also AT#SLASTCLOSURE alwasy return ERROR.
Maybe problem at my module. How can i set factory default or firmware update?
@Cosmin pls tell me your AT#SCFG configuration line.
my config : AT#SCFG=1,1,0,180,10,3
My #SCFG was the default one, however even with yours the “+CME ERROR: timeout in opening socket” comes back, of course much quicker.
Simply upgrade the module to the latest firmware, you’ll have factory default settings and #SLASTCLOSURE.
Ok thank you for all. I will try firmware update.
I could not found GL865 Dual firwmare binary file. Pls share.
Check your email.
Thank you soo much.