awenzhong / ardupilot-mega

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

Mission Planner cant open BT serial port #948

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Connecting using BT serial port on W8P Czech is not possible 

Problem I thing is in name of the serial port, it have 58 letters with 
diacritics. Even Beta MP 1.2.80.7 says that serial port not exist. 

Workaround is set serial port to com5 for example, set MP to com5, in com port 
propertities change, port setting - advanced change port to com6. then rapiddly 
connect MP and it connects OK. MP says com5 and port is com6 in real. I thing 
that becase I take the time where port have not so complicated name. 

ERROR MissionPlanner.MAVLink - System.IO.IOException: Port COM5 neexistuje - 
not exist.
   v System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)
   v System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity
parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout
, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull
, Byte parityReplace)
   v System.IO.Ports.SerialPort.Open()
   v MissionPlanner.Comms.SerialPort.Open() v c:\Users\hog\Documents\Visual Stud
io 
2010\Projects\ArdupilotMega\ArdupilotMega\ExtLibs\Comms\CommsSerialPort.cs:řá
dek 65
   v MissionPlanner.MAVLink.OpenBg(Boolean getparams, ProgressWorkerEventArgs pr
ogressWorkerEventArgs) v c:\Users\hog\Documents\Visual Studio 2010\Projects\Ardu
pilotMega\ArdupilotMega\Mavlink\MAVLink.cs:řádek 312  

What is the expected output? What do you see instead?
working BT serial link

What version of the product are you using? On what operating system?
W8P 64 Czech, MP 1.2.80

Please provide any additional information below.

Original issue reported on code.google.com by urbanek....@gmail.com on 2 Oct 2013 at 3:46

GoogleCodeExporter commented 8 years ago
Hmm looks that name is not that problem I change in registy name to bluetooth 
com5 and not work too. why does MP show in error log c:\Users\hog folder ? It 
is not my user ...
Workaround still work 

Original comment by urbanek....@gmail.com on 2 Oct 2013 at 4:13