R71

Hiya,

Is this with WIP or using the GPRS API?

Good to know that it works though.

Do you have to send keep-alive packets to stop the socket being closed, or is your data regular enough to keep the socket open anyway?

Are you doing both read & write operations on the socket?

ciao, Dave

using WIP.

i send a 1 byte packet every 14 minutes

yes, both read and write.

can u tell me from where and how u have downloaded the wipsoft.

Hiya,

it’s in the OpenAT bundle downloadable from the Wavecom Developer website.

Check under Plugins once you have downloaded and installed OpenAT

ciao, Dave

Dear Dave,

I have used the existing sample application to create TCP Client. I got following message on the terminal. I am running a custom TCP Server in my PC. At end of the below debug messgae i am able to see “Connection Established” in the custom server. But I am not able to see any data getting transferred from the modem to the server.

I have established the connection. I would like to know how to transfer the data. I am able to successfully transfer the data using UDP but not using TCP.

Help me establishing the communication over TCP.

+WIND: 13

+WIND: 1

+WIND: 7

+WIND: 16

+WIND: 4

+WIND: 10,“SM”,1,“FD”,0,“ON”,0,“EN”,0

+WIND: 11,“81210191274E08F31E8F16B3DA4ECD88”,“1A28AA33ED366498405424BD3487E848”,“AF98A5F671C183636BE8CF9627B69358”
[GPRS]: open: -> DISCONNECTED
[GPRS]: start: -> CONNECTING
[GPRS]: GPRS EVENT SETUP OK (cid=1): GPRS activate
[GPRS]: GPRS EVENT: 27 (cid=1)

+WIND: 15,1,“Airtel”,2,“Airtel”,3,"+22",4,“09/03/25,19:24:02+22”,6,“0”
[GPRS]: GPRS EVENT ACTIVATE OK (cid=5)
[GPRS]: GPRS: -> CONNECTED
[SAMPLE]: connecting to client 122.165.48.88:2000…
[WIP] new TCPCLIENT 0x468760
[SAMPLE] Connection established successfully
[SAMPLE] Can send more data
[SAMPLE] Everything has been sent, won’t send more.