Returns the Bluetooth stack currently used. This gives you the ability to propose specific features according to the type of key used. Indeed, some functions for handling keys may not be available according to the type of key used.
StackUsed is int
StackUsed = BTStack()
SWITCH StackUsed
CASE btStackNone: Info("No stack is installed")
CASE btStackBlueSoleil: Info("BlueSoleil stack")
CASE btStackBroadcom: Info("Broadcom stack")
CASE btStackMicrosoft: Info("Microsoft stack")
END
Syntax
<Result>: Integer constant
Type of stack used by the Bluetooth key: | |
btStackBlueSoleil | The local key uses a BlueSoleil stack. |
btStackBroadcom | The local key uses a Broadcom stack (formerly Widcomm). |
btStackMicrosoft | The local key uses a Microsoft stack. |
btStackNone | The local key uses an unsupported stack or no Bluetooth key is installed. |