I'm trying to use a Bluetooth LE device with a computer. I can connect just fine and I'm receiving data as expected. If I lose connection then try to reconnect, however, I am no longer seeing data. The computer's Bluetooth Settings still say it's connected and the status LED on the device still indicates a connection, but I do not see any data.
To regain a proper connection I have to power down the BLE device, remove the device from the device list, power up the device, search for Bluetooth devices, then add it back. The process doesn't take very long, but this is being used in a live performance and that sort of interruption is quite disruptive.
I'm also unable to automatically connect when the computer is powered on.
I've tried removing all Bluetooth related items in the Device Manager to no avail.
My question is, where do I begin troubleshooting this? Is there a software tool I can use to tell me if it's still connected and sending data? I'm not sure if it's a Bluetooth LE issue, a hardware issue, or if it's something else in the software path.
Here are some of the particulars:
- OS: Windows 10 Pro, Ver 1809, Build 17763.437
- Computer: Lenovo ThinkPad X130e
- USB BLE Receiver: Tripp Lite U261-001-BT4 (Uses CSR8510 A10 Chipset). Using this because the computer's internal Bluetooth is not BLE compatible. I have the internal Bluetooth turned off in the BIOS.
- Device: Yamaha MD-BT01
- Software to create the MIDI bridge: LoopMIDI, MIDIberry 1.1.0
Update 4/24/19 Did a lot of testing last night on two different laptops both running the same version and build of Windows 10 Pro. One computer used the Tripp Lite USB Bluetooth adapter, the other used an internal adapter. The results were identical between the two computers.
Here's a scenario of interest...
- Power up computer.
- Power up MD-BT01.
- Go to Bluetooth Settings, Add MD-BT01 device. Device is added with a "Paired" status
- Run loopMIDI
- Run MIDIberry and make connections. MD-BT01 now has a "Connected" status in the Bluetooth Settings window.
- Send MIDI data and verify connection works via MIDI monitor in MIDIberry.
- Power off MD-BT01
- MD-BT01 still has a "Connected" status in the Bluetooth Settings window.
- Power on MD-BT01
- MD-BT01 still has a "Connected" status in the Bluetooth Settings window.
- Send MIDI data
- Notice NO data is received in MIDIberry.
- Close MIDIberry
- MD-BT01 goes from "Connected" to "Paired" in the Bluetooth Settings window.
- Run MIDIberry
- MD-BT01 goes from "Paired" to "Connected" in the Bluetooth Settings window.
- Send MIDI data and verify connection works via MIDI monitor in MIDIberry.
So, by closing then reopening MIDIberry it appears the connection is reset and MIDI data flow has been reestablished. At this point it appears to be more of a MIDIberry issue than a BLE issue.
Update 4/29/19
I sent a message to the makers of MIDIberry. Their statement was:
"The problem occurs because the Windows 10 BLE stack can not get the MIDI device’s power state. There is nothing we can do."