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

Developer

API Reference

IBTCONNECTION_SETLOWPOWERCONFIG()

Brew Release
Brew MP 1.0.2
See Also
None
Description
This method sets the low power mode for the connection.
If dMode is either AEEBT_LPM_DEFAULT or AEEBT_LPM_ACTIVE, uMaxInterval and uIdleTimeout would be ignored. Default value for uMaxInterval is 1280 ms and for uIdleTimeout is 7000 ms.
Params
po
[in]:
the connection object
dMode
[in]:
low power mode
uMaxInterval
[in]:
maximum number of milliseconds between
uIdleTimeout
[in]:
number of milliseconds of non-activity before lower power mode is entered
Return
AEE_SUCCESS
[]:
operation has been scheduled
AEE_EBADPARM
[]:
input parameters are invalid
AEE_EPRIVLEVEL
[]:
not sufficient privilege level
AEE_ENOSUCH
[]:
connection no longer exists
AEE_EALREADY
[]:
the previous SetLowPowerConfig operation hasn't completed
AEE_EITEMBUSY
[]:
another operation is in progress
Interface
Prototype
  •    int IBTConnection_SetLowPowerConfig (IBTConnection*   po,
                                            BTLowPowerMode   dMode,
                                            uint16           uMaxInterval, 
                                            uint16           uIdleTimeout);
    
Side Effect
  • None
Comments
None