electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

SIM340 project


Post new topic  Reply to topic    EDAboard.com Forum Index -> Professional Hardware and Electronics Design -> SIM340 project
Author Message
Lee_na



Joined: 31 Dec 2008
Posts: 3


Post31 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


Post22 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


Post08 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
Google Adsense




Post08 May 2009 12:51   

Ads




Back to top
akswami



Joined: 29 May 2007
Posts: 16


Post07 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


Post07 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


Post07 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
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Professional Hardware and Electronics Design -> SIM340 project
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
SIM300 and SIM340 (5)
SIM340 with PLC (1)
PROBLEM: SIM300/SIM340 NOT ANSWERING (2)
SIM340,548,700 latest manuals (1)
Is it possible to send an email with sim340? (1)
SIM340 etc sending SMS from store (6)
Any suggestion of 8051 based project (final year project)?? (4)
need an academic project,Not a hobby project-can anybodyhelp (8)
Project of Ibias - how can I project a current source (2)
Project Ideas for Communication Project (4)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS