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

Developer

API Reference

IBTSECURITYHANDLER_AUTHORIZESVCCONNECTION()

Brew Release
Brew MP 1.0.2
See Also
None
Description
This API accepts or rejects a service level connection request from the specified remote device which is attempting to connect to the service.
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_EITEMBUSY
[]:
another operation is in progress
AEE_EBADSTATE
[]:
Driver error. Another appropriate error code if operation was not successful
Interface
Prototype
  •    AEEResult IBTSecurityHandler_AuthorizeSvcConnection ( IBTSecurityHndlr* _me, 
                                                   const BDAddress*  pBDAddr,
                                                   const BTServiceIdentifier1* psSvcIDfier,
                                                   boolean bAuthorize );
                                   
    
Side Effect
  • None
Comments
None