|
|
|
|
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.
AdresseMAC is string // Récupération de l'adresse MAC du périphérique Bluetooth // L'adresse est stockée dans une colonne de table AdresseMAC = TABLE_Appareils.COL_AdrMAC[TABLE_Appareils] // Connexion OBEX SAI_IDOBEX = OBEXConnect(obexBluetooth, AdresseMAC)
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: | | obexBluetooth | Transport of data performed by Bluetooth | obexInfrared | Transport of data performed by infrared |
<Device Address>: Optional character string Address of the device used (for a Bluetooth device only): this Address corresponds to the Address MAC (obtained by the BTInfoDevice or BTListDevice function). Remarks Only the Microsoft bluetooth stacks are supported by this function. To get the stack used, call BTStack.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|