DBR701::GetPowerStatus
10/16/2008
This method requests up-to-date data about the power status from the MSN Direct receiver. Power-status information includes battery power level.
Syntax
int GetPowerStatus();
Parameters
None.
Return Value
Returns the transaction ID of the request that is sent to the MSN Direct receiver; returns -1 if the request fails.
Remarks
The GetPowerStatus method uses RequestSync to perform the transaction, with POWER_STATUS specified in the applicationType parameter.
The power-status messages are returned asynchronously in the messageFromReceiver parameter of the ProcessInMessageFromReceiver call. You can parse this message by using the PowerStatusMsg object.
Requirements
Header | DBR701.h |
Library | DBRLib.lib |
Windows Embedded CE | Windows CE 5.0, Windows Embedded NavReady 2009 |
See Also
Reference
DBR701::GetSubscriberStatus
DBR701::GetTuningData
DBR701::ReadPowerStatusFromApplication
DBR701 Class
MSN Direct Services Classes