Xegara
Newbie level 1
- Joined
- Nov 21, 2013
- Messages
- 1
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 11
I used this series of AT commands to be able to connect and transmit/receive data with my laptop via the SIM900D GSM/GPRS module.
https://stackoverflow.com/questions/261092/gprs-communication-microcontroller
The TCP connection does not end not until either of the two endpoints decided to terminate the TCP connection.. On the other hand, when I tried to connect with our webserver (e.g. AT+CIPSTART="TCP","www.mydomain.com","80")
It achieves connection.. But if the GPRS module does not immediately send any data, soon the webserver terminates the TCP connection.. If I tried sending by sending the url (e.g. PUT /send.php?g0=21 HTTP/1.1\r\nHost: dlsu-ect.com\r\n\r\n$1A\r), the webserver receives the data but it ends the terminate right after that transmission. Transparent mode only permit one transmission per TCP connection..
Am I doing it right? Is my way of transmitting the data to our webserver the right way for transparent mode?
https://stackoverflow.com/questions/261092/gprs-communication-microcontroller
The TCP connection does not end not until either of the two endpoints decided to terminate the TCP connection.. On the other hand, when I tried to connect with our webserver (e.g. AT+CIPSTART="TCP","www.mydomain.com","80")
It achieves connection.. But if the GPRS module does not immediately send any data, soon the webserver terminates the TCP connection.. If I tried sending by sending the url (e.g. PUT /send.php?g0=21 HTTP/1.1\r\nHost: dlsu-ect.com\r\n\r\n$1A\r), the webserver receives the data but it ends the terminate right after that transmission. Transparent mode only permit one transmission per TCP connection..
Am I doing it right? Is my way of transmitting the data to our webserver the right way for transparent mode?