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!
Using SIMCOM SIM900 GSM GPRS w/Arduino as server
Re: Using SIMCOM SIM900 GSM GPRS w/Arduino as server
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
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