Can a Windows C# app receive Leafony BLE data?
Use this page with AI
Explore with your favorite AI
Gemini & other AI
Copy this page’s context into your AI to explore how it works and what you can build.
Copy the prompt, then paste it into Gemini’s message box.
View prompt
On this page
Yes. If your configuration runs a BLE sample that uses GATT communication, you can build a receiver using Windows BLE APIs. Match the PC receiver to the program running on Leafony.
Start with the AVR Web Bluetooth sample or STM32 sample and its receiver code.
- Identify the leaves and the program running on them.
- Check service and characteristic UUIDs and how Read, Write, and Notify are used.
- Discover the service on Windows and implement the appropriate operations, such as subscribing to notifications.
- Interpret the received bytes using the same format as the sample.
Microsoft’s GATT client guide includes C# examples for service discovery and notifications. A device name alone does not explain its data, so also check the BLE data format.
Also check support for your Windows SDK, app type, adapter, and driver. A beacon-only sample behaves differently from connection-based GATT communication.
Historical question consulted: “leafonyの開発環境について教えてください” by ike (April 15, 2024, Japanese). Operation with the post’s combination of Windows 10, Visual Studio 2017, and a particular BLE dongle, and the resolution of that request, are unconfirmed. This answer does not recommend that older environment; it describes how to build a receiver using current official documentation.
