TuyaOS
函数
astro_timer.h 文件参考

Common process - astronomy timer 更多...

#include "ty_cJSON.h"
astro_timer.h 的引用(Include)关系图:

浏览源代码.

函数

int tuya_astro_timer_init (void)
 astronomy timer init function 更多...
 
int tuya_astro_timer_mqc_notify (char *atop, char *ver, ty_cJSON *params)
 astronomy timer mqtt notify 更多...
 
int tuya_astro_timer_reset (void)
 astronomy timer reset 更多...
 

详细描述

Common process - astronomy timer

版本
0.1
日期
2020-03-16

函数说明

◆ tuya_astro_timer_init()

int tuya_astro_timer_init ( void  )

astronomy timer init function

返回
OPRT_OK on success. Others on error, please refer to tuya_error_code.h

◆ tuya_astro_timer_mqc_notify()

int tuya_astro_timer_mqc_notify ( char *  atop,
char *  ver,
ty_cJSON params 
)

astronomy timer mqtt notify

参数
[in]atopAtop command
[in]verVersion
[in]paramsJson parameter
返回
OPRT_OK on success. Others on error, please refer to tuya_error_code.h

◆ tuya_astro_timer_reset()

int tuya_astro_timer_reset ( void  )

astronomy timer reset

返回
OPRT_OK on success. Others on error, please refer to tuya_error_code.h