I have a working library for initializing AT-command compatible modems for TCP/IP over cellular.
Protocols: TCP and UDP (both work)
Mode: Transparent Bridge
Rate: 57600 baud
GCS tested: MP and QGCS
HW: APM1 tested, (APM2 testing soon)
Modems Tested: DroneCell (SIM900D module) and Arduino GSM Shield (SIM900 module)
The 3G cellular data shield is compatible with AT-command set and therefore may work with the new experimental Cellular Modem library. The key commands for setting up TCP and UDP are the same.
Let me know if you would like to test it for telemetry.
As for video, that will be a follow on goal, but it is too early yet.
DroneCell has arrived in SATX, so I'm ready for testing.
I'm also ready for testing. Where to get Antonopoulos's latest DroneCell test code.
Andreas, thanks for the patch I would like to try it out with my Arduino Sim900 GSM shield. Unfortunately I'm a bit new with GIT and was wondering if you could point me to somewhere to find out how to convert your patch to code? Earlier the year I started experimenting with connecting an Arduino UNO with the GSM shield to the APM1 through a I2C connection. The setup was chosen to free the APM1 from delays while communicating with the GSM shield. I assume you connect the GSM shield directly to an APM1 serial port?
Andreas, have you tried to read/write many waypoints throught GPRS connection?
I used Siemens TC65 modem for GPRS connection and have good connection at 4800 baud rate slightly decreased some of the data rates in Mission Planner. If I choose higher rate the modem may hang up in several minutes.
But when I try to write or read waypoints using GPRS I usually get an time out error or sometimes other errors. Also reading WP is more faulty than writing. Does anybody faced the same problem?
Hi, yes reading and writing WPs in Mission Planner seems very very sensitive. I have to try several times over before each time it works, even if the link quality meter thing reads 100%. An XBee link has to be quite good too. The USB cable always works.
It sounds great with a library!
I was also developing one. Maybe you can help me decide whether I should continue that work, if you can tell me:
To me, the most important is prevention of deadlocks.
I have some code ready for testing.
It works with the SIM900(D) GSM unit (which is on the DroneCell) and currently probably only with that. It does not use transparent mode, but rather implements a state machine that get the modem through all init until UDP "connection".
It makes use of an extra pair of ring buffers, and implements a new interface that FastSerial also implements. That means, in ArduPlane.pde and system.pde, one just has to define an instance of my class using a serial port, and in GCS_MAVLink.pde have channel 1 to use that instance instead of the FastSerial instance. So a sort of stream filter.
Configuration (access point name, host name and port etc.) is currently hardwired but something settable will come later.
I a not sure how to proceed with making this available.. anyway if anyone is interested in testing it, pse contact me.
I'm interested in testing it! I found your google code page. I tried to use it with ardupilot 2.68, but after a closer look, looks like you are using an earlier version.
Please PM me. I would love to talk to you more about this.
This has been dead for a while. Does anyone know where I can find the latest version of the library. I just got a DroneCell and Arduino Cellular Shield so I'd like to test them with APM 2 for telemetry data.