BluetoothSerial

class BluetoothSerial()
BluetoothSerial.Clear()
BluetoothSerial.Connect(name, channel)
bt.Connect( "HC-05" );
BluetoothSerial.Disconnect()
BluetoothSerial.IsBluetoothEnabled()
BluetoothSerial.IsConnected()
BluetoothSerial.IsPaired(p1)
BluetoothSerial.RequestEnable()
BluetoothSerial.SetOnConnect(callback)
br.SetOnConnect(function(status){});
BluetoothSerial.SetOnReceive(callback)
bt.SetOnReceive(fucntion(data){});
BluetoothSerial.SetSplitMode(p1, p2, p3)
bt.SetSplitMode( "End", "\n" );
BluetoothSerial.SetTimeout(p1)
BluetoothSerial.Write(p1)