Hi all,
I need to develop a project with Arduino Due and SIM900 module. After some testing, I managed to establish a connection between the SIM900 module, acting as a TCP client, and a PC listening to a specific port, so acting as a TCP server. My need is to have a streaming as much fast as possible, that is, I can't obviously expect high speeds but I have to understand if this module can fit my needs and in which conditions and limitations. I have a problem regarding the streaming of data, in particular, I can't make more of one send at a time. For example, if I send 64 bytes to the server in a first time, and then I send other 64 bytes in a second time, the server only receives the first 64 bytes. This happens with both transparent and not-transparent mode. It seems that, after the established TCP connection, the module can send only once some data.
The following is the list of AT commands I send to the SIM900 module in transparent mode:
AT+CPIN=xxxx
AT+IFC=2,2
AT+CREG?
AT+CGATT?
AT+CIPMUX=0
AT+CIPMODE=1
AT+CIPCCFG=3,2,1024,1
AT+CSTT="mobile.vodafone.it","",""
AT+CIICR
AT+CIFSR
AT+CIPSTART="TCP","...hostname...","...portnumber..."
After this commands, since the transparent mode is enabled, I try to send some data as said before, just by transmitting to the serial port established between Arduino and SIM900. In the first send it works, but the module got stuck and doesn't send any other data.
Am I missing something?
Thank you in advance.
SIM900 and TCP/UDP streaming
-
- Posts: 1
- Joined: Sat May 28, 2016 5:58 pm
Jump to
- Update Announcement/Product Release
- Firmware
- 3D Printer
- ↳ Thunder
- ↳ Mizar Pro
- ↳ Mizar S
- ↳ Mizar
- ↳ Geeetech I3/DIY Printer Series
- ↳ FAQ-Geeetech I3/DIY Printer series
- ↳ Geeetech I3 Pro B
- ↳ Geeetech I3 Pro W
- ↳ Geeetech I3 Pro X
- ↳ Geeetech I3 Aluminum
- ↳ Geeetech I3 Aluminum Pro
- ↳ Geeetech I3 Duplicator 5
- ↳ Geeetech I3 Pro C
- ↳ Geeetech I3 M201
- ↳ Geeetech A10 Series
- ↳ A10T
- ↳ Geeetech A20 Series
- ↳ Geeetech A20
- ↳ Geeetech A20M
- ↳ A20T
- ↳ Geeetech A30 Series
- ↳ A30M
- ↳ A30 PRO
- ↳ Geeetech E180 Mini
- ↳ Geeetech MeCreator2
- ↳ GiantArm D200
- ↳ Geeetech Delta Series
- ↳ Geeetech DP200 Series
- 3D Printing Software
- ↳ Configuration Profiles Sharing
- ↳ Software
- ↳ Wifi Box
- ↳ Bug report
- ↳ Download
- Hardware
- ↳ 3D Printer Hardware
- ↳ Stepper Motor
- ↳ Control Board
- ↳ Extruder
- ↳ Hot bed
- ↳ LCD Panel
- ↳ Power Supply Unit
- ↳ Assembly
- ↳ Others
- ↳ Video about cleaning and replacing nozzles
- Print Quality
- Resoures Sharing
- Feedback&Suggestion
- Project Talent Show
- Other Discussion
- ↳ Leveling Guide
- ↳ Open Hardware
- ↳ Mods And Hacks
- ↳ Products FAQ
- ↳ Tips & Tricks
- ↳ Discuss & Help
- ↳ Windows
- ↳ MAC