MegaPirateNG / ardupilot-mpng

MegaPirateNG
GNU General Public License v3.0
116 stars 104 forks source link

Bluetooth MegaPirateNG 3.1.5-R2 Problem #161

Closed nunofmds closed 9 years ago

nunofmds commented 9 years ago

Hi, I'm testing the MegaPirateNG 3.1.5-R2 and i'm having issues with bluetooth and droidplaner for example...On version MegaPirateNG 3.0.1 R4 works fine so I think something is wrong on this new version...

nunofmds commented 9 years ago

I just start reading the code and figure out what's necessary to put bluetooth working like the 3.0 version...

FILE: Parameters.h -> SEARCH FOR: serial1_baud, k_param_gcs1, k_param_serial1_baud REPLACE: serial3_baud, k_param_gcs3, k_param_serial3_baud FILE: Parameters.ino -> SEARCH FOR: SERIAL1_BAUD REPLACE: SERIAL3BAUD FILE: Parameters.ino -> SEARCH FOR: gcs[1], gcs1, "SR1" REPLACE: gcs[3], gcs3, "SR3_" FILE: System.ino -> SERACH FOR: SERIAL1 REPLACE: SERIAL3 FILE: GCS_Mavlink.ino -> SERACH FOR: SERIAL1 REPLACE: SERIAL3

marlb64 commented 9 years ago

Hi Look here I had the same trouble

https://github.com/MegaPirateNG/ardupilot-mpng/issues/149

Grtz

nunofmds commented 9 years ago

Yep, confirmed...Just

define SERIAL1_BAUD 115200 // Bluetooth port speed (Serial3)

define SERIAL2_BAUD 115200 // GPS port speed (Serial2) 38400 by default

define SERIAL3_BAUD 115200 // Bluetooth port speed (Serial3)