Bluetooth GATT read

A decision block that reads a characteristic value from a Bluetooth GATT service hosted on a remote device.

If the proceed option is set to Immediately, then the fiber will proceed when the characteristic value has been read. If set to When changed then the characteristic must support either

The YES path is followed if the value was successfully read/received. The NO path is followed if the remote device, service or characteristic was not found.

The address of a device may be randomized at regular intervals unless devices has been paired, and the name may not always be available.

The listed services and characteristic are far from complete, for further documentation visit Specifications and Test Documents List. Use an app like nRF Connect to inspect what services and characteristics a device support, the Advertisements output variable of the Bluetooth device scan block may include "services" property listing its services.

The Android Bluetooth stack is slow, buggy, unreliable and lack proper error reporting. Expect connection establishment and detection of loss to take minutes. Expect generic “error 133” at any time, for any reason, common failure causes include:

Use the Failure catch block to handle a failure.

Examples

Note! This feature requires Android 4.3+.

Options

Input arguments

Output variables