Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | Friends | List of all members
YWakeUpMonitor Class Reference

#include <yocto_wakeupmonitor.h>

Inheritance diagram for YWakeUpMonitor:
Inheritance graph
[legend]

Public Member Functions

virtual int _invokeValueCallback (string value)
 
s64 get_nextWakeUp (void)
 
int get_powerDuration (void)
 
s64 get_rtcTime (void)
 
int get_sleepCountdown (void)
 
Y_WAKEUPREASON_enum get_wakeUpReason (void)
 
Y_WAKEUPSTATE_enum get_wakeUpState (void)
 
YWakeUpMonitornext (void)
 
s64 nextWakeUp (void)
 
YWakeUpMonitornextWakeUpMonitor (void)
 
int powerDuration (void)
 
virtual int registerValueCallback (YWakeUpMonitorValueCallback callback)
 
virtual int resetSleepCountDown (void)
 
s64 rtcTime (void)
 
int set_nextWakeUp (s64 newval)
 
int set_powerDuration (int newval)
 
int set_sleepCountdown (int newval)
 
int set_wakeUpState (Y_WAKEUPSTATE_enum newval)
 
int setNextWakeUp (s64 newval)
 
int setPowerDuration (int newval)
 
int setSleepCountdown (int newval)
 
int setWakeUpState (Y_WAKEUPSTATE_enum newval)
 
virtual int sleep (int secBeforeSleep)
 
int sleepCountdown (void)
 
virtual int sleepFor (int secUntilWakeUp, int secBeforeSleep)
 
virtual int sleepUntil (int wakeUpTime, int secBeforeSleep)
 
virtual int wakeUp (void)
 
Y_WAKEUPREASON_enum wakeUpReason (void)
 
Y_WAKEUPSTATE_enum wakeUpState (void)
 
 ~YWakeUpMonitor ()
 
- Public Member Functions inherited from YFunction
void _clearDataStreamCache ()
 
string _decode_json_string (const string &json)
 
string _download (const string &url)
 
YDataStream_findDataStream (YDataSet &dataset, const string &def)
 
string _get_json_path (const string &json, const string &path)
 
vector< string > _json_get_array (const string &json)
 
string _json_get_key (const string &json, const string &data)
 
string _json_get_string (const string &json)
 
int _parseEx (yJsonStateMachine &j)
 
virtual int _parserHelper (void)
 
string _parseString (yJsonStateMachine &j)
 
string _request (const string &request)
 
string _requestEx (int tcpchan, const string &request, yapiRequestProgressCallback callback, void *context)
 
void _throw (YRETCODE errType, string errMsg)
 
YRETCODE _upload (const string &path, const string &content)
 
YRETCODE _uploadWithProgress (const string &path, const string &content, yapiRequestProgressCallback callback, void *context)
 
string advertisedValue (void)
 
void clearCache ()
 
string describe (void)
 
string errMessage (void)
 
string errorMessage (void)
 
YRETCODE errorType (void)
 
YRETCODE errType (void)
 
YFUN_DESCR functionDescriptor (void)
 
string get_advertisedValue (void)
 
string get_errorMessage (void)
 
YRETCODE get_errorType (void)
 
virtual string get_friendlyName (void)
 
YFUN_DESCR get_functionDescriptor (void)
 
string get_functionId (void)
 
string get_hardwareId (void)
 
string get_hubSerial ()
 
string get_logicalName (void)
 
YModuleget_module (void)
 
void * get_userData (void)
 
bool isOnline (void)
 
YRETCODE load (int msValidity)
 
virtual string loadAttribute (string attrName)
 
string logicalName (void)
 
YModulemodule (void)
 
virtual int muteValueCallbacks (void)
 
YFunctionnext (void)
 
YFunctionnextFunction (void)
 
virtual int registerValueCallback (YFunctionValueCallback callback)
 
int set_advertisedValue (const string &newval)
 
int set_logicalName (const string &newval)
 
void set_userData (void *data)
 
int setAdvertisedValue (const string &newval)
 
int setLogicalName (const string &newval)
 
void setUserData (void *data)
 
virtual int unmuteValueCallbacks (void)
 
void * userData (void)
 
virtual ~YFunction ()
 

Static Public Member Functions

static YWakeUpMonitorFind (string func)
 
static YWakeUpMonitorFindWakeUpMonitor (string func)
 
static YWakeUpMonitorFirst (void)
 
static YWakeUpMonitorFirstWakeUpMonitor (void)
 
- Static Public Member Functions inherited from YFunction
static void _ClearCache (void)
 
static YFunctionFind (string func)
 
static YFunctionFindFunction (string func)
 
static YFunctionFirst (void)
 
static YFunctionFirstFunction (void)
 

Static Public Attributes

static const s64 NEXTWAKEUP_INVALID = YAPI_INVALID_LONG
 
static const int POWERDURATION_INVALID = YAPI_INVALID_INT
 
static const s64 RTCTIME_INVALID = YAPI_INVALID_LONG
 
static const int SLEEPCOUNTDOWN_INVALID = YAPI_INVALID_INT
 
static const Y_WAKEUPREASON_enum WAKEUPREASON_ENDOFSLEEP = Y_WAKEUPREASON_ENDOFSLEEP
 
static const Y_WAKEUPREASON_enum WAKEUPREASON_EXTPOWER = Y_WAKEUPREASON_EXTPOWER
 
static const Y_WAKEUPREASON_enum WAKEUPREASON_EXTSIG1 = Y_WAKEUPREASON_EXTSIG1
 
static const Y_WAKEUPREASON_enum WAKEUPREASON_INVALID = Y_WAKEUPREASON_INVALID
 
static const Y_WAKEUPREASON_enum WAKEUPREASON_SCHEDULE1 = Y_WAKEUPREASON_SCHEDULE1
 
static const Y_WAKEUPREASON_enum WAKEUPREASON_SCHEDULE2 = Y_WAKEUPREASON_SCHEDULE2
 
static const Y_WAKEUPREASON_enum WAKEUPREASON_USBPOWER = Y_WAKEUPREASON_USBPOWER
 
static const Y_WAKEUPSTATE_enum WAKEUPSTATE_AWAKE = Y_WAKEUPSTATE_AWAKE
 
static const Y_WAKEUPSTATE_enum WAKEUPSTATE_INVALID = Y_WAKEUPSTATE_INVALID
 
static const Y_WAKEUPSTATE_enum WAKEUPSTATE_SLEEPING = Y_WAKEUPSTATE_SLEEPING
 
- Static Public Attributes inherited from YFunction
static const string ADVERTISEDVALUE_INVALID = YAPI_INVALID_STRING
 
static const string FRIENDLYNAME_INVALID = YAPI_INVALID_STRING
 
static const YFUN_DESCR FUNCTIONDESCRIPTOR_INVALID = Y_FUNCTIONDESCRIPTOR_INVALID
 
static const string FUNCTIONID_INVALID = YAPI_INVALID_STRING
 
static const string HARDWAREID_INVALID = YAPI_INVALID_STRING
 
static const string LOGICALNAME_INVALID = YAPI_INVALID_STRING
 

Protected Member Functions

virtual int _parseAttr (YJSONObject *json_val)
 
 YWakeUpMonitor (const string &func)
 
- Protected Member Functions inherited from YFunction
YRETCODE _buildSetRequest (const string &changeattr, const string *changeval, string &request, string &errmsg)
 
string _escapeAttr (const string &changeval)
 
YRETCODE _getDescriptor (YFUN_DESCR &fundescr, string &errMsg)
 
YRETCODE _getDevice (YDevice *&dev, string &errMsg)
 
YRETCODE _load_unsafe (int msValidity)
 
YRETCODE _nextFunction (string &hwId)
 
int _parse (YJSONObject *j)
 
YRETCODE _setAttr (string attrname, string newvalue)
 
 YFunction (const string &func)
 

Protected Attributes

int _endOfTime
 
s64 _nextWakeUp
 
int _powerDuration
 
s64 _rtcTime
 
int _sleepCountdown
 
YWakeUpMonitorValueCallback _valueCallbackWakeUpMonitor
 
Y_WAKEUPREASON_enum _wakeUpReason
 
Y_WAKEUPSTATE_enum _wakeUpState
 
- Protected Attributes inherited from YFunction
string _advertisedValue
 
u64 _cacheExpiration
 
string _className
 
std::map< string, YDataStream * > _dataStreams
 
string _func
 
YFUN_DESCR _fundescr
 
string _funId
 
string _hwId
 
string _lastErrorMsg
 
YRETCODE _lastErrorType
 
string _logicalName
 
string _serial
 
yCRITICAL_SECTION _this_cs
 
void * _userData
 
YFunctionValueCallback _valueCallbackFunction
 

Friends

YWakeUpMonitoryFindWakeUpMonitor (const string &func)
 
YWakeUpMonitoryFirstWakeUpMonitor (void)
 

Additional Inherited Members

- Static Protected Member Functions inherited from YFunction
static void _AddToCache (const string &classname, const string &func, YFunction *obj)
 
static YFunction_FindFromCache (const string &classname, const string &func)
 
static void _UpdateTimedReportCallbackList (YFunction *func, bool add)
 
static void _UpdateValueCallbackList (YFunction *func, bool add)
 
- Static Protected Attributes inherited from YFunction
static std::map< string, YFunction * > _cache
 

Detailed Description

YWakeUpMonitor Class: WakeUpMonitor function interface

The WakeUpMonitor function handles globally all wake-up sources, as well as automated sleep mode.

Definition at line 88 of file yocto_wakeupmonitor.h.

Constructor & Destructor Documentation

YWakeUpMonitor::YWakeUpMonitor ( const string &  func)
protected

Definition at line 51 of file yocto_wakeupmonitor.cpp.

YWakeUpMonitor::~YWakeUpMonitor ( )

Definition at line 66 of file yocto_wakeupmonitor.cpp.

Member Function Documentation

int YWakeUpMonitor::_invokeValueCallback ( string  value)
virtual

Reimplemented from YFunction.

Definition at line 437 of file yocto_wakeupmonitor.cpp.

int YWakeUpMonitor::_parseAttr ( YJSONObject json_val)
protectedvirtual

Reimplemented from YFunction.

Definition at line 74 of file yocto_wakeupmonitor.cpp.

static YWakeUpMonitor* YWakeUpMonitor::Find ( string  func)
inlinestatic

Definition at line 344 of file yocto_wakeupmonitor.h.

YWakeUpMonitor * YWakeUpMonitor::FindWakeUpMonitor ( string  func)
static

Retrieves a monitor for a given identifier. The identifier can be specified using several formats:

  • FunctionLogicalName
  • ModuleSerialNumber.FunctionIdentifier
  • ModuleSerialNumber.FunctionLogicalName
  • ModuleLogicalName.FunctionIdentifier
  • ModuleLogicalName.FunctionLogicalName

This function does not require that the monitor is online at the time it is invoked. The returned object is nevertheless valid. Use the method YWakeUpMonitor.isOnline() to test if the monitor is indeed online at a given time. In case of ambiguity when looking for a monitor by logical name, no error is notified: the first instance found is returned. The search is performed first by hardware name, then by logical name.

If a call to this object's is_online() method returns FALSE although you are certain that the matching device is plugged, make sure that you did call registerHub() at application initialization time.

Parameters
func: a string that uniquely characterizes the monitor
Returns
a YWakeUpMonitor object allowing you to drive the monitor.

Definition at line 386 of file yocto_wakeupmonitor.cpp.

static YWakeUpMonitor* YWakeUpMonitor::First ( void  )
inlinestatic

Definition at line 368 of file yocto_wakeupmonitor.h.

YWakeUpMonitor * YWakeUpMonitor::FirstWakeUpMonitor ( void  )
static

Starts the enumeration of monitors currently accessible. Use the method YWakeUpMonitor.nextWakeUpMonitor() to iterate on next monitors.

Returns
a pointer to a YWakeUpMonitor object, corresponding to the first monitor currently online, or a NULL pointer if there are none.

Definition at line 551 of file yocto_wakeupmonitor.cpp.

s64 YWakeUpMonitor::get_nextWakeUp ( void  )

Returns the next scheduled wake up date/time (UNIX format).

Returns
an integer corresponding to the next scheduled wake up date/time (UNIX format)

On failure, throws an exception or returns Y_NEXTWAKEUP_INVALID.

Definition at line 214 of file yocto_wakeupmonitor.cpp.

int YWakeUpMonitor::get_powerDuration ( void  )

Returns the maximal wake up time (in seconds) before automatically going to sleep.

Returns
an integer corresponding to the maximal wake up time (in seconds) before automatically going to sleep

On failure, throws an exception or returns Y_POWERDURATION_INVALID.

Definition at line 105 of file yocto_wakeupmonitor.cpp.

s64 YWakeUpMonitor::get_rtcTime ( void  )

Definition at line 337 of file yocto_wakeupmonitor.cpp.

int YWakeUpMonitor::get_sleepCountdown ( void  )

Returns the delay before the next sleep period.

Returns
an integer corresponding to the delay before the next sleep period

On failure, throws an exception or returns Y_SLEEPCOUNTDOWN_INVALID.

Definition at line 160 of file yocto_wakeupmonitor.cpp.

Y_WAKEUPREASON_enum YWakeUpMonitor::get_wakeUpReason ( void  )

Returns the latest wake up reason.

Returns
a value among Y_WAKEUPREASON_USBPOWER, Y_WAKEUPREASON_EXTPOWER, Y_WAKEUPREASON_ENDOFSLEEP, Y_WAKEUPREASON_EXTSIG1, Y_WAKEUPREASON_SCHEDULE1 and Y_WAKEUPREASON_SCHEDULE2 corresponding to the latest wake up reason

On failure, throws an exception or returns Y_WAKEUPREASON_INVALID.

Definition at line 270 of file yocto_wakeupmonitor.cpp.

Y_WAKEUPSTATE_enum YWakeUpMonitor::get_wakeUpState ( void  )

Returns the current state of the monitor.

Returns
either Y_WAKEUPSTATE_SLEEPING or Y_WAKEUPSTATE_AWAKE, according to the current state of the monitor

On failure, throws an exception or returns Y_WAKEUPSTATE_INVALID.

Definition at line 299 of file yocto_wakeupmonitor.cpp.

YWakeUpMonitor* YWakeUpMonitor::next ( void  )
inline

Definition at line 355 of file yocto_wakeupmonitor.h.

s64 YWakeUpMonitor::nextWakeUp ( void  )
inline

Definition at line 194 of file yocto_wakeupmonitor.h.

YWakeUpMonitor * YWakeUpMonitor::nextWakeUpMonitor ( void  )

Continues the enumeration of monitors started using yFirstWakeUpMonitor().

Returns
a pointer to a YWakeUpMonitor object, corresponding to a monitor currently online, or a NULL pointer if there are no more monitors to enumerate.

Definition at line 541 of file yocto_wakeupmonitor.cpp.

int YWakeUpMonitor::powerDuration ( void  )
inline

Definition at line 143 of file yocto_wakeupmonitor.h.

int YWakeUpMonitor::registerValueCallback ( YWakeUpMonitorValueCallback  callback)
virtual

Registers the callback function that is invoked on every change of advertised value. The callback is invoked only during the execution of ySleep or yHandleEvents. This provides control over the time when the callback is triggered. For good responsiveness, remember to call one of these two functions periodically. To unregister a callback, pass a NULL pointer as argument.

Parameters
callback: the callback function to call, or a NULL pointer. The callback function should take two arguments: the function object of which the value has changed, and the character string describing the new advertised value.

Definition at line 418 of file yocto_wakeupmonitor.cpp.

int YWakeUpMonitor::resetSleepCountDown ( void  )
virtual

Resets the sleep countdown.

Returns
YAPI_SUCCESS if the call succeeds. On failure, throws an exception or returns a negative error code.

Definition at line 534 of file yocto_wakeupmonitor.cpp.

s64 YWakeUpMonitor::rtcTime ( void  )
inline

Definition at line 242 of file yocto_wakeupmonitor.h.

int YWakeUpMonitor::set_nextWakeUp ( s64  newval)

Changes the days of the week when a wake up must take place.

Parameters
newval: an integer corresponding to the days of the week when a wake up must take place
Returns
YAPI_SUCCESS if the call succeeds.

On failure, throws an exception or returns a negative error code.

Definition at line 245 of file yocto_wakeupmonitor.cpp.

int YWakeUpMonitor::set_powerDuration ( int  newval)

Changes the maximal wake up time (seconds) before automatically going to sleep.

Parameters
newval: an integer corresponding to the maximal wake up time (seconds) before automatically going to sleep
Returns
YAPI_SUCCESS if the call succeeds.

On failure, throws an exception or returns a negative error code.

Definition at line 137 of file yocto_wakeupmonitor.cpp.

int YWakeUpMonitor::set_sleepCountdown ( int  newval)

Changes the delay before the next sleep period.

Parameters
newval: an integer corresponding to the delay before the next sleep period
Returns
YAPI_SUCCESS if the call succeeds.

On failure, throws an exception or returns a negative error code.

Definition at line 191 of file yocto_wakeupmonitor.cpp.

int YWakeUpMonitor::set_wakeUpState ( Y_WAKEUPSTATE_enum  newval)

Definition at line 321 of file yocto_wakeupmonitor.cpp.

int YWakeUpMonitor::setNextWakeUp ( s64  newval)
inline

Definition at line 207 of file yocto_wakeupmonitor.h.

int YWakeUpMonitor::setPowerDuration ( int  newval)
inline

Definition at line 157 of file yocto_wakeupmonitor.h.

int YWakeUpMonitor::setSleepCountdown ( int  newval)
inline

Definition at line 182 of file yocto_wakeupmonitor.h.

int YWakeUpMonitor::setWakeUpState ( Y_WAKEUPSTATE_enum  newval)
inline

Definition at line 237 of file yocto_wakeupmonitor.h.

int YWakeUpMonitor::sleep ( int  secBeforeSleep)
virtual

Goes to sleep until the next wake up condition is met, the RTC time must have been set before calling this function.

Parameters
secBeforeSleep: number of seconds before going into sleep mode,
Returns
YAPI_SUCCESS if the call succeeds.

On failure, throws an exception or returns a negative error code.

Definition at line 465 of file yocto_wakeupmonitor.cpp.

int YWakeUpMonitor::sleepCountdown ( void  )
inline

Definition at line 169 of file yocto_wakeupmonitor.h.

int YWakeUpMonitor::sleepFor ( int  secUntilWakeUp,
int  secBeforeSleep 
)
virtual

Goes to sleep for a specific duration or until the next wake up condition is met, the RTC time must have been set before calling this function. The count down before sleep can be canceled with resetSleepCountDown.

Parameters
secUntilWakeUp: number of seconds before next wake up
secBeforeSleep: number of seconds before going into sleep mode
Returns
YAPI_SUCCESS if the call succeeds.

On failure, throws an exception or returns a negative error code.

Definition at line 490 of file yocto_wakeupmonitor.cpp.

int YWakeUpMonitor::sleepUntil ( int  wakeUpTime,
int  secBeforeSleep 
)
virtual

Go to sleep until a specific date is reached or until the next wake up condition is met, the RTC time must have been set before calling this function. The count down before sleep can be canceled with resetSleepCountDown.

Parameters
wakeUpTime: wake-up datetime (UNIX format)
secBeforeSleep: number of seconds before going into sleep mode
Returns
YAPI_SUCCESS if the call succeeds.

On failure, throws an exception or returns a negative error code.

Definition at line 515 of file yocto_wakeupmonitor.cpp.

int YWakeUpMonitor::wakeUp ( void  )
virtual

Forces a wake up.

Definition at line 450 of file yocto_wakeupmonitor.cpp.

Y_WAKEUPREASON_enum YWakeUpMonitor::wakeUpReason ( void  )
inline

Definition at line 221 of file yocto_wakeupmonitor.h.

Y_WAKEUPSTATE_enum YWakeUpMonitor::wakeUpState ( void  )
inline

Definition at line 233 of file yocto_wakeupmonitor.h.

Friends And Related Function Documentation

YWakeUpMonitor* yFindWakeUpMonitor ( const string &  func)
friend

Retrieves a monitor for a given identifier. The identifier can be specified using several formats:

  • FunctionLogicalName
  • ModuleSerialNumber.FunctionIdentifier
  • ModuleSerialNumber.FunctionLogicalName
  • ModuleLogicalName.FunctionIdentifier
  • ModuleLogicalName.FunctionLogicalName

This function does not require that the monitor is online at the time it is invoked. The returned object is nevertheless valid. Use the method YWakeUpMonitor.isOnline() to test if the monitor is indeed online at a given time. In case of ambiguity when looking for a monitor by logical name, no error is notified: the first instance found is returned. The search is performed first by hardware name, then by logical name.

If a call to this object's is_online() method returns FALSE although you are certain that the matching device is plugged, make sure that you did call registerHub() at application initialization time.

Parameters
func: a string that uniquely characterizes the monitor
Returns
a YWakeUpMonitor object allowing you to drive the monitor.

Definition at line 405 of file yocto_wakeupmonitor.h.

YWakeUpMonitor* yFirstWakeUpMonitor ( void  )
friend

Starts the enumeration of monitors currently accessible. Use the method YWakeUpMonitor.nextWakeUpMonitor() to iterate on next monitors.

Returns
a pointer to a YWakeUpMonitor object, corresponding to the first monitor currently online, or a NULL pointer if there are none.

Definition at line 416 of file yocto_wakeupmonitor.h.

Member Data Documentation

int YWakeUpMonitor::_endOfTime
protected

Definition at line 102 of file yocto_wakeupmonitor.h.

s64 YWakeUpMonitor::_nextWakeUp
protected

Definition at line 98 of file yocto_wakeupmonitor.h.

int YWakeUpMonitor::_powerDuration
protected

Definition at line 96 of file yocto_wakeupmonitor.h.

s64 YWakeUpMonitor::_rtcTime
protected

Definition at line 101 of file yocto_wakeupmonitor.h.

int YWakeUpMonitor::_sleepCountdown
protected

Definition at line 97 of file yocto_wakeupmonitor.h.

YWakeUpMonitorValueCallback YWakeUpMonitor::_valueCallbackWakeUpMonitor
protected

Definition at line 103 of file yocto_wakeupmonitor.h.

Y_WAKEUPREASON_enum YWakeUpMonitor::_wakeUpReason
protected

Definition at line 99 of file yocto_wakeupmonitor.h.

Y_WAKEUPSTATE_enum YWakeUpMonitor::_wakeUpState
protected

Definition at line 100 of file yocto_wakeupmonitor.h.

const s64 YWakeUpMonitor::NEXTWAKEUP_INVALID = YAPI_INVALID_LONG
static

Definition at line 121 of file yocto_wakeupmonitor.h.

const int YWakeUpMonitor::POWERDURATION_INVALID = YAPI_INVALID_INT
static

Definition at line 119 of file yocto_wakeupmonitor.h.

const s64 YWakeUpMonitor::RTCTIME_INVALID = YAPI_INVALID_LONG
static

Definition at line 132 of file yocto_wakeupmonitor.h.

const int YWakeUpMonitor::SLEEPCOUNTDOWN_INVALID = YAPI_INVALID_INT
static

Definition at line 120 of file yocto_wakeupmonitor.h.

const Y_WAKEUPREASON_enum YWakeUpMonitor::WAKEUPREASON_ENDOFSLEEP = Y_WAKEUPREASON_ENDOFSLEEP
static

Definition at line 124 of file yocto_wakeupmonitor.h.

const Y_WAKEUPREASON_enum YWakeUpMonitor::WAKEUPREASON_EXTPOWER = Y_WAKEUPREASON_EXTPOWER
static

Definition at line 123 of file yocto_wakeupmonitor.h.

const Y_WAKEUPREASON_enum YWakeUpMonitor::WAKEUPREASON_EXTSIG1 = Y_WAKEUPREASON_EXTSIG1
static

Definition at line 125 of file yocto_wakeupmonitor.h.

const Y_WAKEUPREASON_enum YWakeUpMonitor::WAKEUPREASON_INVALID = Y_WAKEUPREASON_INVALID
static

Definition at line 128 of file yocto_wakeupmonitor.h.

const Y_WAKEUPREASON_enum YWakeUpMonitor::WAKEUPREASON_SCHEDULE1 = Y_WAKEUPREASON_SCHEDULE1
static

Definition at line 126 of file yocto_wakeupmonitor.h.

const Y_WAKEUPREASON_enum YWakeUpMonitor::WAKEUPREASON_SCHEDULE2 = Y_WAKEUPREASON_SCHEDULE2
static

Definition at line 127 of file yocto_wakeupmonitor.h.

const Y_WAKEUPREASON_enum YWakeUpMonitor::WAKEUPREASON_USBPOWER = Y_WAKEUPREASON_USBPOWER
static

Definition at line 122 of file yocto_wakeupmonitor.h.

const Y_WAKEUPSTATE_enum YWakeUpMonitor::WAKEUPSTATE_AWAKE = Y_WAKEUPSTATE_AWAKE
static

Definition at line 130 of file yocto_wakeupmonitor.h.

const Y_WAKEUPSTATE_enum YWakeUpMonitor::WAKEUPSTATE_INVALID = Y_WAKEUPSTATE_INVALID
static

Definition at line 131 of file yocto_wakeupmonitor.h.

const Y_WAKEUPSTATE_enum YWakeUpMonitor::WAKEUPSTATE_SLEEPING = Y_WAKEUPSTATE_SLEEPING
static

Definition at line 129 of file yocto_wakeupmonitor.h.


The documentation for this class was generated from the following files:


yoctopuce_altimeter
Author(s): Anja Sheppard
autogenerated on Mon Jun 10 2019 15:49:14