Bluetooth

  • Identifier - BLUETOOTH
  • Description - Allows to control Bluetooth on device.
  • Current Version - 4
  • Initialization - None
  • Destroy - None
  • Dependencies - Core

Trigger Bluetooth Enabled

Name ENABLED
Description Executes when Bluetooth is enabled.

Trigger Bluetooth Disabled

Name DISABLED
Description Executes when Bluetooth is disabled.

Trigger Bluetooth Device Found

Name FOUND
Description Executes when presence of a new Bluetooth device is detected. This can happen in case of execution of performer BLUETOOTH.DISCOVER or in case of manual scan by the user.
  Type Name Required Description
Parameters CORE.TEXT-FILTER NAME-FILTER No If present, activates trigger only if detected device name matches filter criteria.
Variables CORE.STRING DEVICE-NAME Detected device name.
CORE.STRING DEVICE-ADDRESS Detected device hardware address.

Condition Checker Bluetooth Enabled

Name ENABLED
Description Returns true if Bluetooth is enabled, false otherwise.

Condition Checker Bluetooth Disabled

Name DISABLED
Description Returns true if Bluetooth is enabled, false otherwise.

Performer Bluetooth On

Name ON
Description Activates Bluetooth.
  Type Name Required Description
Parameters CORE.BOOLEAN DISCOVERABLE YES Declares if discoverable or not.

Performer Bluetooth Off

Name OFF
Description Deactivates Bluetooth.

Performer Bluetooth Discover

Name DISCOVER
Description Begin search of devices, evantually activating Bluetooth.