Bluetooth device scan

An action block that scans for nearby Bluetooth devices.

The fiber will pause until a new scan has completed.

The arrays assigned to Device names, Device addresses, Device advertisements and Signal strengths are of equal length, sorted in signal strength order. The names array will often contain null elements since a device may only broadcast its name when “discoverable”. The advertisements array may contain dictionary elements with the “advertising” properties emitted by an Bluetooth LE (iBeacon, Eddystone or URL) beacon. The signal strengths array may contain -Infinity elements if the RSSI is unavailable for the device.

Note! Android 6+ devices require that system Location setting is enabled.

Input arguments

Output variables