I have two Q2687 modules.
I programmed one of them with the sample application TCP_Server, and the other with the sample application TCP_Client.
the sever gave the following result:
[GPRS]: open: -> DISCONNECTED
[GPRS]: start: -> CONNECTING
[GPRS]: GPRS EVENT SETUP OK (cid=1): GPRS activate
[GPRS]: GPRS EVENT: 27 (cid=1)
[GPRS]: GPRS EVENT ACTIVATE OK (cid=5)
[GPRS]: GPRS: -> CONNECTED
[WIP] new TCPSERVER 0x180c5fa8
while the client gave:
[GPRS]: open: -> DISCONNECTED
[GPRS]: start: -> CONNECTING
[GPRS]: GPRS EVENT SETUP OK (cid=1): GPRS activate
[GPRS]: GPRS EVENT: 27 (cid=1)
[GPRS]: GPRS EVENT ACTIVATE OK (cid=5)
[GPRS]: GPRS: -> CONNECTED
[SAMPLE]: connecting to client 10.70.70.41:2000...
[WIP] new TCPCLIENT 0x180c60dc
As I know the client must send something to the server automatically. but nothing happen at the server side.
then after a while the client closes the TCPCLIENT
[SAMPLE]: Error -986 on socket. Closing.
[WIP] closing TCPCLIENT 0x180c60dc
[GPRS]: GPRS EVENT: 27 (cid=5)
what is that error -986
is there something missing?
please help
working with M2M Studio Ver1.02