Version: Smart Feature Phone 3.0

BluetoothGattServer.onconnectionstatechanged

Description#

A event handler to trigger when a remote LE device has been connected or disconnected.

Syntax#

instanceOfBluetoothGattServer.onconnectionstatechanged = funcRef

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