Using SIMCOM SIM900 GSM GPRS w/Arduino as server

Post Reply
ddoomus
Posts: 1
Joined: Thu Jan 08, 2015 3:43 am

Using SIMCOM SIM900 GSM GPRS w/Arduino as server

Post by ddoomus » Thu Jan 08, 2015 5:56 am

On a high level, what I'm looking to do is:

Listen for incoming connection (I'll call it connection A) via GPRS (backed by Arduino Uno):
- Upon receiving a connection:
--Receive a data stream from that connection
--Report data back to that connection

--Once Connection A is established, listen for incoming connection (I'll call it connection B) via GPRS
---Send data on connection B (not expecting to receive data from connection B)

I imagine this working perhaps with a socket library where GPRS is providing the comms, but I haven't found any literature guiding me on how to "listen" for connections using GPRS, nor maintaining more than one active connection.

Has anyone done anything similar?

Any help you're able to provide me is greatly appreciated. Thanks!

kris.mao
Posts: 22
Joined: Tue Dec 23, 2014 10:47 am

Re: Using SIMCOM SIM900 GSM GPRS w/Arduino as server

Post by kris.mao » Fri Jan 09, 2015 4:05 pm

Hi!
SIM900A integrates TCP/IP protocol and extended TCP/IP AT commands which users can transfer data. so we can use AT commands to transfer data between server and client in a wireless network.For example,we can initialize the GPRS module, obtain IP address and assign a port,establish SOKET connection , listen a port and send the data. About AT commands and GPRS,you can reference the below link.I hope it can provide some useful information for you.
http://www.seeedstudio.com/wiki/GPRS_Sh ... hield_V2.0
http://wenku.baidu.com/link?url=KnbuQcn ... yvlZXqaXii

Best Wishes

Post Reply