WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
sle_ota.h
浏览该文件的文档.
1
7#ifndef SLE_OTA_H
8#define SLE_OTA_H
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
38
56errcode_t sle_ota_data_ack(uint16_t value_len, uint8_t *value);
57
71typedef void (*sle_ota_chan_data_report) (const uint8_t *data_ptr, const uint16_t data_len);
72
81
82#ifdef __cplusplus
83}
84#endif
85#endif /* SLE_SRV_OTA_H */
86
uint32_t errcode_t
Definition of error code.
Definition errcode.h:30
void sle_ota_reg_chan_data_report_cbk(sle_ota_chan_data_report data_report)
服务端接收ota升级数据回调。
errcode_t sle_ota_data_ack(uint16_t value_len, uint8_t *value)
SLE OTA服务器发送数据ack。
errcode_t sle_ota_service_init(uint8_t server_id)
SLE OTA服务器初始化。
void(* sle_ota_chan_data_report)(const uint8_t *data_ptr, const uint16_t data_len)
通用获取数据回调定义。
Definition sle_ota.h:71