| Author |
Message |
Lee_na
Joined: 31 Dec 2008 Posts: 3
|
31 Dec 2008 21:05 sim340 |
|
|
|
|
Hi All,
I'm trying to develop a project using sim340. I have a evalaution kit and i'm trying to make a tcp ip connection with my remote computer. I'm using cingular simcard and i used apn,username and password from cingular for gprs connection. It's not working for me.
Can somebody help.
Thanks
|
|
| Back to top |
|
 |
lgalhoz
Joined: 22 Apr 2009 Posts: 1
|
22 Apr 2009 23:09 sim340 project |
|
|
|
|
Hi,
I've got a device with sim340 to communicate via GPRS network. I had a problem with the way the communications works in this device. From every 5 seconds my device controller execute those at commands:
at+cipshut
at+cipstart="TCP", "<my wan IP>", "<my wan Port>"
at+cipsend="<my info>", n bytess to send
I don't know if i can use the at+cipsend without repeat from each 5 seconds the at+cipshut and the at+cipstart. the responsabile for the implement of this project, tell-me that is impossible, he must use every time the two previsous commands. My question is if there are a way to do this. My last invoice for communications was something like 1.640,00 €. Becou my operator taxes the minmimium of 1024 kb.
Thank you
|
|
| Back to top |
|
 |
GSM Man
Joined: 15 Apr 2009 Posts: 357 Helped: 46 Location: New Jersey, USA
|
08 May 2009 12:51 sim340 restart |
|
|
|
|
| Quote: |
at+cipshut
at+cipstart="TCP", "<my wan IP>", "<my wan Port>"
at+cipsend="<my info>", n bytess to send
|
You shouldn't have to shut-down and restart the connection unless the server you are connecting to requires it - it closes the connection. For example, if you are talking to a Web server you should add the line "Connection: Keep-Alive" to the HTTP header - this will tell the server not to close the connection.
|
|
| Back to top |
|
 |
Google AdSense

|
08 May 2009 12:51 Ads |
|
|
|
|
|
|
| Back to top |
|
 |
akswami
Joined: 29 May 2007 Posts: 16
|
07 Aug 2009 10:59 sim340 example |
|
|
|
|
Hello,
I am using the following sequence for my application
at+cipstart="TCP","server","wan port"
returns CONNECT OK
at+cipsend
>GET link_for_text_file ctrl+Z
Data
Anyone can please tell me how to decode the received data
|
|
| Back to top |
|
 |
GSM Man
Joined: 15 Apr 2009 Posts: 357 Helped: 46 Location: New Jersey, USA
|
07 Aug 2009 13:37 sim340 gprs connect to server |
|
|
|
|
| You'll have to get that information from the person that wrote your server code. The data returned is whatever the server sent.
|
|
| Back to top |
|
 |
akswami
Joined: 29 May 2007 Posts: 16
|
07 Aug 2009 19:39 sim 340 |
|
|
|
|
Hello GSM Man,
I am using free website.which is having no redirection but multiple proxies.Do you have any example code for handling the redirection and proxies.
thanks in advance.
|
|
| Back to top |
|
 |