SerialTest icon indicating copy to clipboard operation
SerialTest copied to clipboard

BLE Central not working on Windows

Open arbrauns opened this issue 10 months ago • 6 comments

  • After connecting to the device using the Windows bluetooth settings screen, it shows up in the Connect tab.
  • Clicking "Connect" shows the attribute UUIDs in the right screen, and allows selecting the correct characteristics for RX/TX.
  • Upon clicking "Open", the bottom bar changes to show "Status: √" and "Remote: [MAC] Local: 00:00:00:00:00:00", but no data is ever received, and from the device's logs, I can see that the NOTIFY characteristic is never enabled.

Using the latest Windows binary (V0.3.4-win64.7z) on Windows 10 Pro 22H2.

arbrauns avatar Apr 04 '24 10:04 arbrauns

Would you mind telling me which BLE device you are using?

wh201906 avatar Apr 04 '24 10:04 wh201906

It's a custom device running the Zephyr RTOS.

arbrauns avatar Apr 04 '24 10:04 arbrauns

Did you set the Tx characteristic? If so, does it support WRITE operation?

wh201906 avatar Apr 04 '24 10:04 wh201906

I did set the TX characteristic, but no writes are arriving at the device. Worth noting that the Android app works fine with the same device.

arbrauns avatar Apr 04 '24 10:04 arbrauns

Could you please check if this executable is working? ~~msvc.zip~~ msvc.zip (compiled on commit 9760cccda87cd8bed31b83e744d615c728153771)

The releases on GitHub are compiled with MinGW, but this one is compiled on MSVC. I think this might help.

wh201906 avatar Apr 04 '24 17:04 wh201906

You can check if the V0.3.5-win64-MSVC.7z is working for your device. https://github.com/wh201906/SerialTest/releases/tag/V0.3.5

wh201906 avatar Apr 18 '24 12:04 wh201906