- Service-Based Device List: Only specific types of devices can be shown to the user using Service IDs that represent different device types.
- Automatic Selection: Previously connected devices are detected using SavedDeviceAvailable, and if they are nearby, connection can be attempted directly instead of scanning devices.
- Post-Process Page Refresh: The page data can be automatically refreshed after scanning with the executePageInitActionAfterClose = true parameter.
- Scan Timer: If the user cannot find a device within a specified time, automatic scanning can be restarted.
Technical Risks and Precautions
- Bluetooth is turned off: Scanning is not performed; a preliminary check should be performed with the Bluetooth Is Open action.
- Permission issue: Scanning cannot be performed if permission has not been obtained from the user with Bluetooth Permission Is Given.
- Device density: Performance may be affected if a large number of devices are listed at the same time. A limit can be imposed on the list.
- User Interaction: If the user exits the scan window without selecting a device, the next steps should be checked.
- UUID Mismatch: If the serviceIds UUIDs are not defined in the correct format, the scan will fail.
Scan Devices is a powerful action that enables users to quickly detect nearby Bluetooth devices and connect to the appropriate device. It can be used to significantly simplify the user experience in medical devices, smart home applications, and IoT projects. With advanced customization and integration options, it provides full compatibility with your system.