|
|
|
|
BTListRadio (Function) In french: BTListeRadio Returns the list of Bluetooth radios connected to the computer. sTmpString is string sListDevices is string // Returns the list of radios sListDevices = BTListRadio() // Clear the Table control used to display the list of radios TableDeleteAll(TABLE_Radios) // Fills the Table control IF sListDevices <> "" THEN FOR EACH STRING sTmpString OF sListDevices SEPARATED BY CR TableAdd(TABLE_Radios, sTmpString) 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 + <Version 1 Identifier> + CR + ... + CR + <Radio N Identifier> + TAB + <MAC Address N> + TAB + <Name N> + TAB + <Class N Identifier> + TAB + <Manufacturer N Identifier> + TAB + <Version N Identifier>
The following information is returned: - <Radio Identifier>: Identifier of the radio, will be used in the Bluetooth functions that handle radios.
- <MAC Address>: Physical address of the radio
- <Name>: Name returned by the radio (may be an empty string
- <Class Identifier>: Class of radio (32-bit integter used to get information about the radio type)
- <Manufacturer Identifier>: Identifier of the radio manufacturer
- <Version Identifier>: Identifier specific to the radio (see 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. The Broadcom (Widcomm) stacks are not available in 64 bits.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|