Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Problem with GPRS communication of a device with sim340

Status
Not open for further replies.

Lee_na

Newbie level 3
Joined
Dec 31, 2008
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,302
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
 

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
 

sim340 restart

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.
 

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
 

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.
 

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.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top