When a user arrives at the “Add Device” screen in the application, the system scans nearby Bluetooth devices and presents a list to the user. The user can select a device from this list to initiate the connection process.
1. Go to the UI Design module.
2. For the button action, from the + ADD ACTION menu:
3. Set the action parameters:
4. (Optional) To connect after a device is selected:
With this scenario, the user can see the devices in a list when the scan is started and easily connect to the desired device. To enhance the user experience, the name of the selected device can be displayed or a connection success notification can be added.