|
|
|
|
|
BTDisconnectDevice (Function) In french: BTDéconnectePériphérique Cancels the authentication beside a Bluetooth device. The authentication was performed by BTConnectDevice.
IF BTConnectDevice(COL_ID, "123") = True THEN
nIDOBEXConnection = OBEXConnect(obexBluetooth, COL_MACAddress)
...
OBEXDisconnect(nIDOBEXConnection)
BTDisconnectDevice(COL_ID)
ELSE
Error("Unable to connect to the Bluetooth device", ErrorInfo(errFullDetails))
END
Syntax
<Result> = BTDisconnectDevice(<Device identifier>)
<Result>: Boolean - True if the disconnection was successful,
- False otherwise. ErrorInfo returns more information on the error.
<Device identifier>: Integer Identifier of the Bluetooth device to use. This identifier is returned by BTListDevice. Remarks This version only supports Microsoft, Bluesoleil and Broadcom (Widcomm) bluetooth stacks. To know the stack used, call BTStack. Broadcom (Widcomm) stacks are not available in 64-bit mode.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|