Developer

API Reference

IBTPBAPServer_AcceptConnection()

Brew Release
Brew MP 1.0.2
See Also
IBTPBAPServer_AcceptPBAccessReq
Description
Application should issue this command to accept/reject a connection request from a PhoneBook client(PCE).
Parameters
  • _me
    [in]:
    pointer to the IBTPBAPServer object
  • bAccept
    [in]:
    indicates if the connection to be accepted or not
Interface
Prototype
   IBTPBAPServer_AcceptConnection (IBTPBAPServer* _me, 
                                   boolean bAccept ); 
   
Return
AEE_SUCCESS : the request to accept the connection was initiated, wait for AEEBTPBAPSRV_EV_CONNECTED to be sent to the application AEE_ENOMEMORY : no memory AEE_EBADSTATE : bad state (No outstanding connection requests)
Event(s): AEEBTPBAPSRV_EV_CONNECTED is sent to the application when connection is successfully established.
Side Effect
None
Comment
None
  • Follow