Documentation
Includes
tuya_cloud_types.h
#include "tuya_cloud_types.h"
tuya_error_code.h
#include "tuya_error_code.h"
Macros
Marco __TUYA_SVC_SCHEMA_UPGRADE_H__
#define __TUYA_SVC_SCHEMA_UPGRADE_H__
Marco EVT_DEV_SCHEMA_UPGRADE
#define EVT_DEV_SCHEMA_UPGRADE "schema.ug.cid"
Functions
Func ty_schema_upgrade_init
OPERATE_RET ty_schema_upgrade_init(VOID);
Func ty_schema_upgrade_active
OPERATE_RET ty_schema_upgrade_active(VOID);
Func ty_schema_upgrade_notify
OPERATE_RET ty_schema_upgrade_notify(CHAR_T *dev_id);
Func ty_schema_upgrade_register
OPERATE_RET ty_schema_upgrade_register(ACTION_CB cb_update, ACTION_CB cb_get);
Vars
Consts
Types
Typedefs
Typedef Action_e;
typedef enum tagAction_e {
/** this action will redo */
ACTION_CONTINUE,
/** switch to next action */
ACTION_NEXT,
/** action list is complete */
ACTION_COMPLETE,
ACTION_MAX
}Action_e;
Typedef Action_e
typedef Action_e (*ACTION_CB)(OUT VOID *data);