Hi everyone,
I'm really struggling with BLE implementation in UIFlow 2 and could use some advice. Here's what I'm trying to accomplish:
Goal:
- Continuously scan for Bluetooth devices
- React when a specific BLE beacon appears (e.g., change the screen color to white)
What I've achieved so far:
- Successfully scanning for devices
- Retrieving the RSSI (signal strength) of discovered devices
Current issues:
- Unable to display the names of the discovered devices
- Not sure how to detect a specific beacon and trigger an action
I've been working on this for days now and I'm stuck. Can someone please provide some guidance? Here are some specific questions:
- How can I display the names of discovered BLE devices?
- What's the best way to identify a specific BLE beacon among the scanned devices?
- How can I trigger an action (like changing screen color) when the specific beacon is detected?
Any help, code examples, or resources would be greatly appreciated. Thank you in advance!
My Code:
Terminal: