Allows you to configure a Bluetooth radio to accept (or not) the requests for connection coming from the devices.
Syntax
<Result> = BTChangeConnectivity([<Radio identifier>, ] <New status>)
<Result>: Boolean
- True if the change of connectivity was successfully performed,
- False otherwise. ErrorInfo returns more information on the error.
<Radio identifier>: Optional integer
Identifier of Bluetooth radio to use. This identifier is returned by BTListRadio. If this identifier is not specified, the current Bluetooth radio is used.
<New status>: Boolean
- True in order for the radio to accept the connections,
- False in order for the radio to refuse the connections.
Remarks
Only the Microsoft Bluetooth stack is supported by this function. To know the stack used, call
BTStack.
Business / UI classification: Business Logic