ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / Bluetooth
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
BTChangeConnectivity (Function)
In french: BTChangeConnectivité
Allows you to configure a Bluetooth radio to accept (or not) the requests for connection coming from the devices.
Syntax
<Result> = BTChangeConnectivity([<Radio identifier>, ] <New status>)
<Result>: Boolean
  • True if the change of connectivity was successfully performed,
  • False otherwise. ErrorInfo returns more information on the error.
<Radio identifier>: Optional integer
Identifier of Bluetooth radio to use. This identifier is returned by BTListRadio. If this identifier is not specified, the current Bluetooth radio is used.
<New status>: Boolean
  • True in order for the radio to accept the connections,
  • False in order for the radio to refuse the connections.
Remarks
Only the Microsoft Bluetooth stack is supported by this function. To know the stack used, call BTStack.
For more details, see Which stacks to use?
Business / UI classification: Business Logic
Component: wd290com.dll
Minimum version required
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help