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

Developer

API Reference

IBTMGR_AUTHORIZECONNREQ()

Brew Release
Brew MP 1.0.2
See Also
None
Description
This method accepts or rejects connection request from the given remote device which is attempting to use a service on the given protocol.
Params
po
[in]:
the object
pBDAddr
[in]:
address of requesting device
psSvcIDfier
[in]:
requested service
bAuthorize
[in]:
TRUE to accept the request; FALSE to reject
Return
AEE_SUCCESS
[]:
operation has been scheduled
AEE_EBADPARM
[]:
input parameters are invalid
AEE_EALREADY
[]:
the previous AuthorizeConnReq operation hasn't completed
AEE_EITEMBUSY
[]:
another operation is in progress
Interface
Prototype
  •    int IBTMgr_AuthorizeConnReq (IBTMgr*                     po,
                                    const BDAddress*            pBDAddr,
                                    const BTServiceIdentifier*  psSvcIDfier,
                                    boolean                     bAuthorize);
    
       Successful operation would generate AEEBTMGR_EV_AUTH_CONN_SUCCESS.
       
Side Effect
  • None
Comments
None