cuad4eso / ardupilot-mega

Automatically exported from code.google.com/p/ardupilot-mega
0 stars 0 forks source link

Configure dronecell (or ant GSM900 module) on boot #527

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Dronecell integration have been a long-time wanted feature.
I have it working, flew several trips.

All that's needed now, is to make APM send the few commands (plain text lines) 
- while booting, before sending MAVlink.

Even blind configuration works. (no need to act on feedback from GSM device.)

What you need to send: 500ms between lines unless other stated:
AT+IFC=2,2    //hardware mode   - response is "OK"
AT+CIPMODE=1  //Enable transparent mode   , response is "OK"
AT+CSTT="internet"  //set APN  , response is "OK"
AT+CIICR   //open GPRS  - this can take 2 sec response is "OK"
AT+CIPSTART="UDP","GCS.dyndns.org","14550"   response is "CONNECTED"

of course, the DNS + port number, should be configurable using GUI if possible.

Original issue reported on code.google.com by andre.kj...@gmail.com on 26 Feb 2012 at 8:37

GoogleCodeExporter commented 8 years ago
Working on this too. Have a group up on diydrones: 
http://diydrones.com/group/telemetry-over-cellular-ip

Please join the discussion there too!

Thanks for the AT set!

Original comment by andreas@antonopoulos.com on 3 Apr 2012 at 12:51

GoogleCodeExporter commented 8 years ago
I'm working on testing the dronecell with the above init and writing a module 
for ardupilot that we can test in the community. 

Original comment by andreas@antonopoulos.com on 3 Apr 2012 at 4:03

GoogleCodeExporter commented 8 years ago
BTW: any error (usually may happen to CIPMODE or CSTT command) is easily 
detected by output of "ERROR"

Original comment by andre.kj...@gmail.com on 3 Apr 2012 at 6:20

GoogleCodeExporter commented 8 years ago
Some early ALPHA code for initializing a DroneCell from the APM.

See here for the patch and discussion: http://bit.ly/HKxWL2

Original comment by andreas@antonopoulos.com on 15 Apr 2012 at 9:55

GoogleCodeExporter commented 8 years ago
Issue 354 has been merged into this issue.

Original comment by andreas@antonopoulos.com on 15 Apr 2012 at 9:56

GoogleCodeExporter commented 8 years ago
Thanks, currently using plane, but I'll keep an close eye on this, and maybe 
adapt to plane.

Original comment by andre.kj...@gmail.com on 16 Apr 2012 at 6:20

GoogleCodeExporter commented 8 years ago
The entire footprint in ArduCopter is 8 lines in two files (two lines in 
ArduCopter.pde and 6 in system.pde). It should be trivial to find the same 
location in Arduplane, just before gcs3.init is called. 

If it proves difficult, let me know and I'll have a try.

Original comment by andreas@antonopoulos.com on 16 Apr 2012 at 6:24