Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BLE Central not working on Windows #64

Open
arbrauns opened this issue Apr 4, 2024 · 6 comments
Open

BLE Central not working on Windows #64

arbrauns opened this issue Apr 4, 2024 · 6 comments

Comments

@arbrauns
Copy link

arbrauns commented Apr 4, 2024

  • 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.

@wh201906
Copy link
Owner

wh201906 commented Apr 4, 2024

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

@arbrauns
Copy link
Author

arbrauns commented Apr 4, 2024

It's a custom device running the Zephyr RTOS.

@wh201906
Copy link
Owner

wh201906 commented Apr 4, 2024

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

@arbrauns
Copy link
Author

arbrauns commented Apr 4, 2024

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.

@wh201906
Copy link
Owner

wh201906 commented Apr 4, 2024

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

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

@wh201906
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants