TuyaOS
|
Init param of IoT device 更多...
#include <tuya_svc_devos.h>
成员变量 | |
GW_ABI | abi |
UINT_T | attr_num |
GW_ATTACH_ATTR_T * | attrs |
BOOL_T | factory_reset |
CHAR_T * | firmware_key |
CHAR_T * | product_key |
CHAR_T * | sw_ver |
DEV_TYPE_T | tp |
Init param of IoT device
GW_ABI devos_init_t::abi |
device ability
UINT_T devos_init_t::attr_num |
The count of attach modules
GW_ATTACH_ATTR_T* devos_init_t::attrs |
The attributes of attach modules
BOOL_T devos_init_t::factory_reset |
device need factory reset first
CHAR_T* devos_init_t::firmware_key |
The key of firmware, assigned by TUYA
CHAR_T* devos_init_t::product_key |
The key of product, assigned by TUYA
CHAR_T* devos_init_t::sw_ver |
The version of firmware, format is "x.y.z"
DEV_TYPE_T devos_init_t::tp |
device ota channel