Developer

API Reference

IBTOPPServer_Enable()

Brew Release
Brew MP 1.0.2
See Also
IBTOPPServer_Disable
Description
Enables OPP server and allows for incoming connections from potential OPP clients. Per Bluetooth OPP specs, OPP server must support at least AEEBT_OBEX_FORMAT_VCARD_2_1.
Parameters
  • _me
    [in]:
    the object
  • cSec
    [in]:
    Service security level for OPPServer
  • pszName
    [in]:
    name of server to register with SDDB; empty string indicates no name
  • cFormat
    [in]:
    bitmap of supported formats
    Return
  • AEE_SUCCESS
    []:
    The command has been scheduled, and ENABLED event will be generated at a later time.
  • AEE_EBADPARM
    []:
    invalid input parameters
  • AEE_EALREADY
    []:
    The OPP service is already enabled, and the implementation only supports one enabled object at a time.
Interface
Prototype
   AEEResult IBTOPPServer_Enable (IBTOPPServer* _me, 
                                  BTSecurityLevel cSec,
                                  const char* pszName,
                                  BTOBEXFormat cFormat);
Side Effect
None
Comment
None
  • Follow