|
TuyaOS
|
Definition of core device management 更多...
#include <gw_intf.h>

成员变量 | |
| TY_IOT_CBS_S | cbs |
| TIME_MS | data_update_time |
| DEV_CNTL_N_S * | dev_cntl |
| UINT_T | ext_attribute |
| GW_EXT_STAT_T | ext_stat |
| GW_ACTV_IF_S | gw_actv |
| GW_BASE_IF_S | gw_base |
| GW_DESC_IF_S | gw_if |
| GW_WORK_STAT_MAG_S | gw_wsm |
| BOOL_T | is_init |
| BOOL_T | is_need_recovery |
| BOOL_T | is_oem |
| BOOL_T | is_stride |
| CHAR_T * | serial_no |
| subdev_dev_cntl_get_cb | subdev_dev_get_cb |
Definition of core device management
| TY_IOT_CBS_S GW_CNTL_S::cbs |
nofity callback
| TIME_MS GW_CNTL_S::data_update_time |
global data update time
| DEV_CNTL_N_S* GW_CNTL_S::dev_cntl |
device manage
| UINT_T GW_CNTL_S::ext_attribute |
see DEV_ATTRIBUTE
| GW_EXT_STAT_T GW_CNTL_S::ext_stat |
Extension state, see GW_EXT_STAT_T
| GW_ACTV_IF_S GW_CNTL_S::gw_actv |
device active info, see GW_ACTV_IF_S
| GW_BASE_IF_S GW_CNTL_S::gw_base |
device base info, see GW_BASE_IF_S
| GW_DESC_IF_S GW_CNTL_S::gw_if |
device description info, see GW_DESC_IF_S
| GW_WORK_STAT_MAG_S GW_CNTL_S::gw_wsm |
device work state management, see GW_WORK_STAT_MAG_S
| BOOL_T GW_CNTL_S::is_init |
Inited or not
| BOOL_T GW_CNTL_S::is_need_recovery |
Is need recovery or not
| BOOL_T GW_CNTL_S::is_oem |
Is oem device or not
| BOOL_T GW_CNTL_S::is_stride |
Is stride(pid/key) or not
| CHAR_T* GW_CNTL_S::serial_no |
serial num
| subdev_dev_cntl_get_cb GW_CNTL_S::subdev_dev_get_cb |
sub-device related info