log服务应用接口描述文件
更多...
#include "tuya_cloud_types.h"
浏览源代码.
log服务应用接口描述文件
- 作者
- 愚者(maht@.nosp@m.tuya.nosp@m..com)
- 版本
- 0.1
- 日期
- 2019-08-29
- 版权所有
- Copyright (c) tuya.inc 2019
◆ tuya_svc_online_log_active()
OPERATE_RET tuya_svc_online_log_active |
( |
VOID |
| ) |
|
online log module activate
- 返回
- OPRT_OK on success, others on failed, please refer to tuya_error_code.h
◆ tuya_svc_online_log_init()
OPERATE_RET tuya_svc_online_log_init |
( |
const char * |
p_env | ) |
|
online log module initialization
- 参数
-
[in] | p_env | the online log enviroment, used to report to cloud |
- 返回
- OPRT_OK on success, others on failed, please refer to tuya_error_code.h
◆ tuya_svc_online_log_upload_custom_seq_log()
OPERATE_RET tuya_svc_online_log_upload_custom_seq_log |
( |
const char * |
p_log | ) |
|
upload user sequnence log
- 参数
-
[in] | p_log | custom sequnence log string |
- 返回
- OPRT_OK on success, others on failed, please refer to tuya_error_code.h
◆ tuya_svc_online_log_upload_realtime()
OPERATE_RET tuya_svc_online_log_upload_realtime |
( |
const char * |
p_log | ) |
|
upload user realtime log
- 参数
-
- 返回
- OPRT_OK on success, others on failed, please refer to tuya_error_code.h
◆ tuya_svc_online_log_upload_runstat()
OPERATE_RET tuya_svc_online_log_upload_runstat |
( |
const char * |
p_log | ) |
|
upload user runtime status log
- 参数
-
- 返回
- OPRT_OK on success, others on failed, please refer to tuya_error_code.h