Version: Smart Feature Phone 3.0

BluetoothGattServer.onattributereadreq

Description#

A event handler to trigger when a remote client has requested to read a local characteristic or descriptor.

Syntax#

instanceOfBluetoothGattServer.onattributereadreq = funcRef

Where funcRef is a function to be called when the attributereadreq event occurs. That function gets a BluetoothGattAttributeEvent object as its first parameter.