TuyaOS
结构体 | 函数
tuya_devos.h 文件参考

Common process - SDK object management 更多...

#include "tuya_cloud_com_defs.h"
tuya_devos.h 的引用(Include)关系图:

浏览源代码.

结构体

struct  ty_devos_t
 Definitioin of cfg params 更多...
 

函数

BOOL_T devos_get_udf_active (CHAR_T **active_api, CHAR_T **active_ver)
 Get customized active info 更多...
 
BOOL_T devos_get_udf_ignore_upgrade (VOID_T)
 Get ignore dp or not when in upgrade state 更多...
 
int devos_set_udf_active (CHAR_T *active_api, CHAR_T *active_ver)
 Set customized active info 更多...
 
int devos_set_udf_ignore_upgrade (const BOOL_T is_ignore)
 Set ignore dp or not when in upgrade state 更多...
 

详细描述

Common process - SDK object management

版本
0.1
日期
2019-08-28

函数说明

◆ devos_get_udf_active()

BOOL_T devos_get_udf_active ( CHAR_T **  active_api,
CHAR_T **  active_ver 
)

Get customized active info

参数
[out]active_apiCustomized active api name
[out]active_verCustomized active api version
返回
TRUE on positive, FALSE on negative

◆ devos_get_udf_ignore_upgrade()

BOOL_T devos_get_udf_ignore_upgrade ( VOID_T  )

Get ignore dp or not when in upgrade state

返回
TRUE on positive, FALSE on negative

◆ devos_set_udf_active()

int devos_set_udf_active ( CHAR_T *  active_api,
CHAR_T *  active_ver 
)

Set customized active info

参数
[in]active_apiCustomized active api name
[in]active_verCustomized active api version
返回
OPRT_OK on success. Others on error, please refer to tuya_error_code.h

◆ devos_set_udf_ignore_upgrade()

int devos_set_udf_ignore_upgrade ( const BOOL_T  is_ignore)

Set ignore dp or not when in upgrade state

参数
[in]is_ignoreIgnore or not
返回
OPRT_OK on success. Others on error, please refer to tuya_error_code.h