API Reference | developer.brewmp.com API Reference | developer.brewmp.com

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).
Params
_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
Comments
None