ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / OBEX functions
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
OBEXDisconnect (Function)
In french: OBEXDéconnecte
Used to disconnect from a device that supports the OBEX protocol.
Example
// OBEX disconnection
IF OBEXDisconnect(nObexID) = True THEN
Info("Disconnection successful")
END
Syntax
<Result> = OBEXDisconnect(<Identifier of OBEX connection>)
<Result>: Boolean
  • True if the disconnection was successful,
  • False otherwise. ErrorInfo returns more information on the error.
<Identifier of OBEX connection>: Integer
Identifier of OBEX connection to close. This identifier is returned by OBEXConnect.
Remarks
Only the Microsoft bluetooth stacks are supported by this function. To get the stack used, call BTStack.
For more details, see Which stacks to use?
Component: wd290com.dll
Minimum version required
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help