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.

sim300 gprs connections problem

Status
Not open for further replies.

albualex

Newbie level 2
Joined
Mar 24, 2011
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,293
Hello, i am working on a project and i am using SIM300Z. The main ideea is that i am using a SIM300 as server and i have multiple connection. The problem is that i don't know how to communicate with all the clients simultaneously, beacause i can send data only at the last connected client.

Please help me! Thank you.
 

I think you can't. The modem will allow only one TCP connection at a time, aka one client served. This is the limitation of the integrated TCP stack.
If you need more clients, I'm afraid you have to implement a TCP stack with multiple sockets capability (in an external MCU), all by yourself. It is not an easy task, you have to write all stack starting from PPP, and ending with HTTP.
Another problem would be the allocation for a real IP address. Be really careful, the IP address you see when you attach to GPRS context is not always real. It happened to me when testing with Orange.
 
i can have multiple connection if i use UDP? and why when i set my sim300 as server, i can connect using TCP but using UDP the sim300 send nothing on serial?

thank you
 

Well, to be honest I've never used UDP, so I don't know what to say.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top