btAvailable Function

Purpose:

returns whether BlueTooth is supported or not

Syntax:

btAvailable()

Comments:

Some devices do not have BlueTooth.  Returns 0 if BlueTooth is supported. Otherwise returns a negative error code

Example:

print btAvailable

0