c code for data transfer between gprs modem and remote server

Status
Not open for further replies.

ravi8820

Junior Member level 1
Joined
May 24, 2012
Messages
16
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,483
How to develop a C code using AT commands for transferring the data between GPRS modem and Remote server by setting up a TCP connection to the webserver.............The GPRS modem is interfaced with an ATMEGA 16A microcontroller...................Please help...............
 

first of all bring your GPRS connection up by setting PRIMARY SECONDARY DNS, APN etc. and then use following
AT+CIPSTART=”TCP”,”ip to send to”,”port number to be used”
AT+CIPSEND
> type data to send and press Ctrl Z at end
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…