|
|
|
|
|
BTInfoDevice (Function) In french: BTInfoPériphérique Returns specific information about a Bluetooth device. sListePeriphériques is string
sUnPeripherique is string
sId is string
sNom is string
sAdresseMAC is string
TableDeleteAll(TABLE_Periphériques)
sListePeriphériques = BTListDevice(btSimpleList)
FOR EACH STRING sUnPeripherique OF sListePeriphériques SEPARATED BY CR
sId = ExtractString(sUnPeripherique, 1)
sNom = ExtractString(sUnPeripherique, 3)
sAdresseMAC = ExtractString(sUnPeripherique, 2)
IF sNom ~= "" THEN sNom = BTInfoDevice(sId, btName)
TableAddLine(TABLE_Periphériques, False, sId, sNom, sAdresseMAC)
END
Syntax
<Result> = BTInfoDevice(<Device identifier> , <Requested information>)
<Result>: Character string Requested information about the specified device. <Device identifier>: Integer Identifier of the Bluetooth device to use. This identifier is returned by BTListDevice or BTSelectDevice. <Requested information>: Integer constant Information about the device. The table below lists the available information as well as the values that can be returned:
| | btClassOfDevice | Class of the device, may correspond to one of the following constants:- btCoD_NetworkAccess
- btCoD_AudioVideo
- btCoD_Miscellaneous
- btCoD_Imaging
- btCoD_Unknown
- btCoD_Toy
- btCoD_Computer
- btCoD_Device
- btCoD_Phone
- btCoD_Wearable
| btLastTimeSeen | Date and time when the device was viewed for the last time by the current computer. This date is in DDMMYYYYHHMMSS format. | btLastTimeUsed | Date and time when the device was used for the last time by the current computer. This date is in DDMMYYYYHHMMSS format. | btMACAddress | MAC address of the device | btName | Device name | btStatusAuthenticated | - 1 if the device is currently authenticated beside the current computer,
- 0 otherwise.
| btStatusConnected | - 1 if the device is currently "connected" to the current computer,
- 0 otherwise.
| btStatusRemembered | - 1 if the device is currently "remembered" by the Bluetooth device of the current computer,
- 0 otherwise.
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|