|
|
|
|
|
BTListService (Function) In french: BTListeService Returns the list of services provided by a Bluetooth device. nNuméroPériph is int
sListeServices is string
sChaîneTmp is string
ListDeleteAll(LISTE_Services)
IF TableSelect(TABLE_Appareils) <> -1 THEN
nNuméroPériph = TABLE_Appareils.COL_ID[TABLE_Appareils]
sListeServices = BTListService(nNuméroPériph)
FOR EACH STRING sChaîneTmp OF sListeServices SEPARATED BY CR
ListAdd(LISTE_Services, sChaîneTmp)
END
ELSE
Info("Sélectionnez un périphérique Bluetooth")
END
Syntax
<Result> = BTListService(<Device identifier> [, <Level of details> [, <Radio identifier>]])
<Result>: Character string List of services supported by the device. This list has the following format:- in simple mode: <Nom Service 1> + RC + ... + RC + <Nom Service N>
- in detailed mode: <Nom Service 1> + TAB + <Description Service 1> + TAB + <Identifiant Service 1> + RC + ... + <Nom Service N> + TAB + <Description Service N> + TAB + <Identifiant Service N>
<Device identifier>: Integer Identifier of the Bluetooth device to use. This identifier is returned by BTListDevice or BTSelectDevice. <Level of details>: Optional Integer constant Level of result details: | | btDetailedList | <Result> contains the list of services in detailed mode. | btSimpleList (Default value) | <Result> contains the list of services in simple mode. |
<Radio identifier>: Optional integer Identifier of Bluetooth radio to use. This identifier is returned by BTListRadio. Remarks This version only supports Microsoft, Bluesoleil and Broadcom (Widcomm) bluetooth stacks. Broadcom (Widcomm) stacks are not available in 64-bit mode. - To know the stack used, call BTStack. For more details, see Which stacks to use?
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|