BTGetState()


BTGetState(channel)

This function returns the state of any Bluetooth channel. It can also be used to determine if your device has a Bluetooth adapter installed.


The following values are returned by this function:


0 - Your device does not have a Bluetooth adapter.
1 - The channel is closed.
2 - Listening for an incoming connection.
3 - Attempting to connect to a known device.
4 - Currently connected to a device.
5 - Connection Failed.
6 - Bluetooth Disabled.




Bluetooth On|Off


Pairing a Bluetooth device.


BTGetPaired$()


BTConnect


BTDiscoverable


BTListen


BTGetSize()


BTGetError$()


BTRead$()


BTWrite


BTGetName$()


BTGetAddress$()


BTClose