|
|
|
|
BTDisableService (Function) In french: BTDésactiveService Disables a service on a Bluetooth device. nDeviceNumber is int sService is string // The devices are stored in a Table control nDeviceNumber = TABLE_Device.COL_ID[TABLE_Device] // The services are listed in a List Box control sService = LIST_Services[LIST_Services] // Enable the selected service in the List Box control IF BTEnableService(nDeviceNumber, sService) = True THEN // Disables the service BTDisableService(LIST_EnabledServices, sService) END
Syntax
<Result> = BTDisableService(<Device identifier> , <Service name> [, <Radio identifier>])
<Result>: Boolean - True if the service was disabled,
- False otherwise. ErrorInfo returns more information on the error.
<Device identifier>: Integer Identifier of the Bluetooth device to use. This identifier is returned by BTListDevice. <Service name>: Character string Name of the service to disable. The name of the services is returned by BTListService. <Radio identifier>: Optional integer Identifier of Bluetooth radio to use. This identifier is returned by BTListRadio. If this parameter is not specified, all the available radios will be used. Remarks Only the Microsoft and Bluesoleil bluetooth stacks are supported by this version. To know the stack used, call BTStack.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|