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

Developer

API Reference

IBTMGR_TUNESCANPERFORMANCE()

Brew Release
Brew MP 1.0.2
See Also
None
Description
This method sets the performance parameters used in page scanning and inquiry scanning. The shorter the connection time (or faster connection), the more the power would be consumed. New settings will not take effect until the local radio is power cycled which can be achieved via IBTMgr_DisableRadio() and IBTMgr_EnableRadio().
Successful operation would generate AEEBTMGR_EV_PERF_TUNING_SUCCESS and may cause AEEBTMGR_EV_SETTINGS_CHANGED to be generated.
Params
po
[in]:
the object
dPgScanParam
[in]:
performance parameter for page scanning
dInqScanParam
[in]:
performance parameter for inquiry scanning
Return
AEE_SUCCESS
[]:
operation has been scheduled
AEE_EBADPARM
[]:
input parameters are invalid
AEE_EALREADY
[]:
the previous TuneScanPerformance operation hasn't completed
AEE_EITEMBUSY
[]:
another operation is in progress
Interface
Prototype
  •    int IBTMgr_TuneScanPerformance (IBTMgr*       po,
                                       BTActVsPwr    dPgScanParam,
                                       BTActVsPwr    dInqScanParam);
    
Side Effect
  • None
Comments
None