Version: Smart Feature Phone 3.0

BluetoothGattServer.onattributewritereq

Description#

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

Syntax#

instanceOfBluetoothGattServer.onattributewritereq = funcRef

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