- Yesterday, I was able to connect via Bluetooth to an OBD2 dongle in the car. It allocated serial ports 8 and 9. I used Port 8. Ports seem to be allocated in pairs although only one is needed. Today I came to connect and Windows 10 said that Port 8 was in use. It allocated Port 10, which is out of range of the software.
- May 08, 2018 Essentially using a db9 serial-bluetooth adapter at the remote end, and my laptop's internal bluetooth on local end. What I want to do is to use an embedded system serial port login for maintenence access, see the bootup log which remote system puts onto db9 serial port, later gives a login prompt that I would like to login to and then be able.
My problem is that the communication works well from BT to the PC, but doesn't work as expected in the other way. When sending from the PC to BT all the characters sent are received by the BT device only when I close the Serial Monitor on the PC or when I reset the Arduino. With this code I can receive and send date to bluetooth from Serial. Yeah, I am having bluetooth problems with an M5-481PT laptop. I can get it to work, but it's klugey. I also have Qualcomm Atheros (nearly 3 years old) and I suspect the Qualcomm Atheros since bluetooth speaker connection was always wonky in windows 8.1 as well. Acer promised to mkae the following link live on launch date.
Try turning off Wireless, We are trying to get the COM ports to work as well. Star wars despecialized.
Try this Microsoft suggestion -
![Bluetooth Serial Failure Bluetooth Serial Failure](https://don.github.io/slides/2014-04-07-apachecon-bluetooth/images/PhoneBluetoothArduino.png)
Installing Legacy COM Ports
The Serial function driver always configures a legacy serial port as a COM port.
Serial detects the presence of legacy ports by reading corresponding COM port subkeys under the .ServicesSerialParameters key. To install a legacy COM port, you must set a legacy COM port subkey for the device under this key. The COM port subkey contains the registry settings for a legacy COM port.
When Serial is loaded it determines which legacy ports were not previously detected by checking the LegacyDiscovered entry value for a legacy port. If this entry value does not exist or is zero, Serial performs the following tasks:
- Calls IoReportDetectedDevice to report the device to the Plug and Play manager.
- Sets the LegacyDiscovered entry value for the port to 0x00000001, which indicates that the port has been reported.
- Copies some of the entry values under the COM port subkey to the Plug and Play device key for the physical device object (PDO) that is returned by IoReportDetectedDevice.
- Serial sets the PortName entry value under the Plug and Play device key to the value of the DosDevicesentry value under the legacy COM port subkey. For all other entry values that Serial copies, it retains the same entry value name. For more information about which entry values that Serial copies, see the Serial sample code provided in the Microsoft Windows Driver Kit (WDK).
The IoReportDetectedDevice call marks the port as a root-enumerated device. On subsequent system boots, the Plug and Play manager automatically configures the device based on the information in its INF file.
The Plug and Play manager creates the following compatible IDs for a legacy COM port: DETECTEDInternalSerial and DETECTEDSerial.
A Bluetooth Serial Failure Has Occurred
0