Re: Bluetooth Comm port/W7 64bit
- View SourceQualification on the question: This is using the Windows BT stack.
If I run the Toshiba stack on same machine all works as expected, connection and communications occur.
Major difference being Windows BT stack does not hold connection pegged up unless an app asks to open the device. I had the Toshiba stack set to keep connection pegged up all the time.
--- In ASCOM-Talk@yahoogroups.com, "lynol1000" <lynol1000@...> wrote:
> Hello all,
> Any clues to serial connection over bluetooth
> Possible because of the timeout setting of 2 seconds or something else?
> Serial log trace
> 08:25:06.652 Port Set to: 7
> 08:25:06.653 Speed Set to: ps9600
> 08:25:06.653 ReceiveTimeout Set to: 2 seconds
> 08:25:06.661 Set Connected To True
> 08:25:06.661 Set Connected Using COM port: COM7 Baud rate: ps9600 Timeout: 2000 DTR: False ForcedDTR: True RTS: False ForcedRTS: False Handshake: None Encoding: 1252
> 08:25:06.662 Set Connected Transmission format - Bits: 8 Parity: None Stop bits: One
> 08:25:06.663 AvailableCOMPorts Forcing COM port Com7 to appear
> 08:25:06.663 AvailableCOMPorts Entered AvailableCOMPorts
> 08:25:08.673 WaitForThread 1 Command: AvailableCOMPorts Elapsed: 2007.6296
> 08:25:08.673 AvailableCOMPortsWorker Probing port COM7 took a long time: 1997ms
> 08:25:08.673 AvailableCOMPortsWorker Port 7 exists, elapsed time: 1997ms
> 08:25:29.612 AvailableCOMPortsWorker 1 3 Completed
> 08:25:29.613 WaitForThread 1 Command: AvailableCOMPorts Elapsed: 22947.4685
> 08:25:29.613 AvailableCOMPorts Completed: True
> 08:25:29.614 AvailableCOMPorts COM12
> 08:25:29.614 AvailableCOMPorts COM13ͧ
> 08:25:29.614 AvailableCOMPorts COM7
> 08:25:29.629 Set Connected EXCEPTION: ConnectedWorker - Requested COM Port does not exist: COM7 ASCOM.Utilities.Exceptions.InvalidValueException: Requested COM Port does not exist: COM7[0D][0A] at ASCOM.Utilities.Serial.ConnectedWorker(Object TDataObject) in C:\BuildAgent\work\c9b0aabbc621eced\ASCOM.Utilities\ASCOM.Utilities\Serial.vb:line 476
> 08:25:29.630 WaitForThread 1 Command: Connected Elapsed: 14.879
> 08:25:29.630 Set Connected Completed: True
> 08:25:29.632 Set Connected ASCOM.Utilities.Exceptions.InvalidValueException: Requested COM Port does not exist: COM7[0D][0A] at ASCOM.Utilities.Serial.set_Connected(Boolean Connecting) in C:\BuildAgent\work\c9b0aabbc621eced\ASCOM.Utilities\ASCOM.Utilities\Serial.vb:line 459
> 08:25:29.636 Set Connected To False
> 08:25:29.636 Set Connected Already disconnected
> 08:25:29.637 WaitForThread 1 Command: Connected Elapsed: 0.4683