|
|
|
|
|
BTListRadio (Function) In french: BTListeRadio Returns the list of Bluetooth radios connected to the computer. sChaîneTmp is string
sListePériphs is string
sListePériphs = BTListRadio()
TableDeleteAll(TABLE_Radios)
IF sListePériphs <> "" THEN
FOR EACH STRING sChaîneTmp OF sListePériphs SEPARATED BY CR
TableAdd(TABLE_Radios, sChaîneTmp)
END
ELSE
Info(ErrorInfo(errFullDetails))
END
Syntax
<Result> = BTListRadio([<Level of details>])
<Result>: Character string List of available radios. This list has the following format:- in simple mode:
<Radio 1 Identifier> + TAB + <MAC Address 1> + TAB + <Name 1> + CR +... + + CR + <Radio N Identifier> + TAB + <MAC Address N> + TAB + <Name N> - in detailed mode:
<Radio 1 Identifier> + TAB + <MAC Address 1> + TAB + <Name 1> + TAB + <Class 1 Identifier> + TAB + <Manufacturer 1 Identifier> + TAB + <Identifier Version 1> + CR + ... + CR + <Radio Identifier N> + TAB + <MAC Address N> + TAB + <Name N> + TAB + <Class N Identifier> + TAB + <Manufacturer N Identifier> + TAB + <Version N Identifier>
The following information is returned: - <Identifiant Radio> Radio identifier, to be used in Bluetooth functions handling radios.
- <Adresse MAC> Physical address of the radio
- <Name>: Name returned by the radio (may be an empty string
- <Identifiant Classe> Radio class (integer out of 32 for information on radio type)
- <Identifiant fabricant> Radio manufacturer identifier
- <Identifiant Version> Radio's own identifier (please consult its documentation)
<Level of details>: Optional Integer constant Level of result details:
| | btDetailedList | <Result> contains the list of radios in detailed mode. | btSimpleList (Default value) | <Result> contains the list of radios in simple mode. |
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…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|