Skip to main content
Use this API to listen for changes in the value of a BLE device characteristic. It is triggered when you call my.readBLECharacteristicValue or when a characteristic with notify or indicate enabled pushes a new value.

Parameters

Success Callback Parameters

Code Example

Basic Usage

Read and Handle Value

Notify-Based Updates

The value is delivered as a hexadecimal string. Parse it according to the characteristic’s GATT profile.

my.offBLECharacteristicValueChange

Stop listening for value changes

my.readBLECharacteristicValue

Trigger a read on a characteristic

my.getBLEDeviceCharacteristics

Get device characteristics