ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Your version: 01F250083H (WINDEV 25)

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/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
OBEXConnect (Function)
In french: OBEXConnecte
Used to connect to a device that supports the OBEX protocol.
Reminder: The OBEX protocol is a protocol for exchanging data via Infrared and Bluetooth.
Example
MacAddress is string
// Retrieve the MAC address of Bluetooth device
// The address is stored in a table column
MacAddress = TABLE_Devices.COL_MACAddr[TABLE_Devices]
// OBEX connection
EDT_OBEXID = OBEXConnect(obexBluetooth, MacAddress)
Syntax
<Result> = OBEXConnect(<Type of Device> [, <Device Address>])
<Result>: Integer
Connection identifier. This identifier will be used by the OBEX functions. This function returns no error. Indeed, the connection will be actually established when the next OBEX function is used.
<Type of Device>: Integer constant
Type of device used to exchange data:
obexBluetoothTransport of data performed by Bluetooth
obexInfraredTransport of data performed by infrared
<Device Address>: Optional character string (with quotes)
Address of the device used (for a Bluetooth device only): this address corresponds to the MAC address (returned by BTInfoDevice or BTListDevice).
Remarks
Only the Microsoft bluetooth stacks are supported by this function. To find out the stack used, call BTStack.
See Which stacks to use? for more details
Component : wd250com.dll
Minimum version required
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 04/30/2020

Send a report | Local help