Navigation :
bluetooth.connect()
Type Function
Return value none
See also bluetooth.*
Overview
Syntax
bluetooth.connect( params )
params required
Table. Contains parameters for the call — see the next section for details.
Parameter Reference
The params
table includes parameters for the call.
device required
Device.
autoConnect optional
Boolean. default is false
.
onCharacteristicChanged optional
Listener.
onCharacteristicRead optional
Listener.
onCharacteristicWrite optional
Listener.
onConnectionStateChange optional
Listener.
onDescriptorRead optional
Listener.
onDescriptorWrite optional
Listener.
Listener.
onReliableWriteCompleted optional
Listener.
onServicesDiscovered optional
Listener.