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


Bluetooth device pairing


BTClose


BTConnect


BTDiscoverable


BTGetAddress$()


BTGetError$()


BTGetName$()


BTGetPaired$()


BTGetSize()


BTGetState()


BTListen


BTRead$()


BTRead


BTReadln


BTReadUTF


BTWrite


BTWriteln


BTWriteUTF







Become a Patron