Content:
- Methods

The CreateBluetoothSerial object is used for communicating with other Bluetooth devices.The 'Text' mode is set by default, but integer and hexadecimal values can also be sent.

bls = app.CreateBluetoothSerial( mode ) → app object: BluetoothSerial

Example - Connect to Device click to expand contents 

Methods

The following methods are available on the BluetoothSerial object:

Clear()
GetType() → String: “BluetoothSerial”
IsBluetoothEnabled() → Boolean
IsConnected() → Boolean
IsPaired( name ) → Boolean
Method( name, types, p1, p2, p3, p4 ) → all types
Write( data )