Using Sockets in Open AT


#1

Hello Everyone,

I am pretty new to OpenAT and surprisingly I have developed an application which is working, but some fine tuning is what is missing.

Connecting to GPRS, Dialing up, opening Socket, sending data… everything works fine. I am communicating with a HTTP Server on the other end. I use the following line to open the socket

sReturn = ed_SocketTCPStart ( ED_ID_TCPSOCKET_1, 0, (ed_ResponseCbk_f)Response_Handler, (ed_DataHandler_f)Data_Handler, (ed_DataRequest_f)Data_Request );

Only my application can send the data now and I would like to make this a two way communication. Can someone suggest me how to do this. I would appreciate if you could give a snippet.

Rgds
Green


#2

I found the answer in an earlier post. Sorry for the repeated question.

Rgds
Green