MegaWiFi 1.5
MegaWiFi API documentation
mw_msg_sys_stat Union Reference

System status. More...

#include <mw-msg.h>

Data Fields

uint32_t st_flags
 Accesses all the flags at once. More...
 
struct {
   enum mw_state   sys_stat:8
 System status. More...
 
   uint8_t   online:1
 Module is connected to the Internet. More...
 
   uint8_t   cfg_ok:1
 Configuration OK. More...
 
   uint8_t   dt_ok:1
 Date and time synchronized at least once. More...
 
   uint8_t   cfg:2
 Default network configuration. More...
 
   uint16_t   reserved:3
 Reserved flags. More...
 
   uint16_t   ch_ev:16
 Channel flags with the pending event. More...
 
}; 
 

Detailed Description

System status.

Definition at line 272 of file mw-msg.h.

Field Documentation

◆ cfg

uint8_t mw_msg_sys_stat::cfg

Default network configuration.

Definition at line 280 of file mw-msg.h.

◆ cfg_ok

uint8_t mw_msg_sys_stat::cfg_ok

Configuration OK.

Definition at line 278 of file mw-msg.h.

◆ ch_ev

uint16_t mw_msg_sys_stat::ch_ev

Channel flags with the pending event.

Definition at line 282 of file mw-msg.h.

◆ dt_ok

uint8_t mw_msg_sys_stat::dt_ok

Date and time synchronized at least once.

Definition at line 279 of file mw-msg.h.

◆ online

uint8_t mw_msg_sys_stat::online

Module is connected to the Internet.

Definition at line 277 of file mw-msg.h.

◆ reserved

uint16_t mw_msg_sys_stat::reserved

Reserved flags.

Definition at line 281 of file mw-msg.h.

◆ st_flags

uint32_t mw_msg_sys_stat::st_flags

Accesses all the flags at once.

Definition at line 273 of file mw-msg.h.

◆ sys_stat

enum mw_state mw_msg_sys_stat::sys_stat

System status.

Definition at line 276 of file mw-msg.h.


The documentation for this union was generated from the following file: