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

Developer

API Reference

IBTCONNECTION_SETROLESWITCHPOLICY()

Brew Release
Brew MP 1.0.2
See Also
None
Description
This method sets the role switch policy for the connection. This API controls whether role switch request from remote device will be accepted or not.
Params
po
[in]:
the object
bAllowed
[in]:
TRUE if role switch should be allowed; FALSE if disallowed
Return
AEE_SUCCESS
[]:
operation has been scheduled
AEE_EBADPARM
[]:
input pointers are invalid
AEE_ENOSUCH
[]:
connection no longer exists
AEE_EPRIVLEVEL
[]:
not sufficient privilege level
AEE_EALREADY
[]:
the previous SetRoleSwitchPolicy operation hasn't completed
AEE_EITEMBUSY
[]:
another operation is in progress
Interface
Prototype
  •    int (IBTConnection_SetRoleSwitchPolicy (IBTConnection*  po,
                                               boolean         bAllowed);
    
Side Effect
  • None
Comments
None