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

Developer

API Reference

IBTMGR_SETROLESWITCHPOLICY()

Brew Release
Brew MP 1.0.2
See Also
None
Description
This method sets the role switch policy.
If role switch is allowed, role switch request by remote device will be granted.
Successful operation would generate AEEBTMGR_EV_SET_SW_POL_SUCCESS and may cause AEEBTMGR_EV_SETTINGS_CHANGED to be generated.
Params
po
[in]:
the object
bAllow
[in]:
TRUE if role switch should be allowed; FALSE if disallowed
Return
AEE_SUCCESS
[]:
operation has been scheduled
AEE_EALREADY
[]:
the previous SetRoleSwitchPolicy operation hasn't completed
AEE_EITEMBUSY
[]:
another operation is in progress
Interface
Prototype
  •    int IBTMgr_SetRoleSwitchPolicy (IBTMgr*  po,
                                       boolean  bAllow);
    
Side Effect
  • None
Comments
None