|
|
|
|
BTDisconnectDevice( Función) Cancela la autenticación junto a un dispositivo Bluetooth. La autentificación fue realizada por Dispositivo BTConnect. // Bluetooth connection with code 123 // COL_ID is the Table control column used to list the devices IF BTConnectDevice(COL_ID, "123") = True THEN // OBEX connection to the device according to the MAC address of the device nIDOBEXConnection = OBEXConnect(obexBluetooth, COL_MACAddress) ... // OBEX disconnection OBEXDisconnect(nIDOBEXConnection) // Bluetooth disconnection BTDisconnectDevice(COL_ID) ELSE // The Bluetooth connection failed Error("Unable to connect to the Bluetooth device", ErrorInfo(errFullDetails)) END
Sintaxis
<Result> = BTDisconnectDevice(<Device identifier>)
<Result>: booleano - True si se realizó la desconexión correctamente,
- False en caso contrario. ErrorInfo devuelve más información sobre el error.
<Device identifier>: Integro Identificador del dispositivo Bluetooth a utilizar. Este identificador es devuelto por BTListDevice. Observaciones Esta versión sólo es compatible con las pilas bluetooth de Microsoft, Bluesoleil y Broadcom (Widcomm). Para conocer la pila utilizada, llame a BTStack. Las pilas Broadcom (Widcomm) no están disponibles en 64 bits.
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|