|
WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
|
#include "log_oam_logger.h"

结构体 | |
| struct | om_ota_header_t |
| struct | om_ota_data_t |
宏定义 | |
| #define | OTA_DATA_MAX_SIZE 1200 |
| #define | bt_ota_write(msgId, length, msg_buffer) |
类型定义 | |
| typedef void(* | log_oml_ota_write_handler) (uint8_t mode_id, uint16_t msg_id, uint16_t length, const uint8_t *msg_buffer) |
枚举 | |
| enum | om_ota_config_t { OM_OTA_OPEN , OM_OTA_CLOSED } |
函数 | |
| void | log_oml_ota_init (void) |
| void | log_oml_ota_write (uint8_t mode_id, uint16_t msg_id, uint16_t length, const uint8_t *msg_buffer) |
| void | log_oml_ota_switch (uint8_t on) |
| void | log_oml_ota_set (om_ota_config_t value) |
| uint32_t | log_oml_ota_get (void) |
| void | log_oml_ota_write_deal (uint8_t mode_id, uint16_t msg_id, uint16_t length, const uint8_t *msg_buffer) |
| void | log_oml_ota_write_register_callback (log_oml_ota_write_handler callback) |
| void | log_oml_ota_write_unregister_callback (void) |
| void | log_oml_ota_write_trigger_callback (uint8_t mode_id, uint16_t msg_id, uint16_t length, const uint8_t *msg_buffer) |
| #define bt_ota_write | ( | msgId, | |
| length, | |||
| msg_buffer | |||
| ) |
| #define OTA_DATA_MAX_SIZE 1200 |
| typedef void(* log_oml_ota_write_handler) (uint8_t mode_id, uint16_t msg_id, uint16_t length, const uint8_t *msg_buffer) |
| enum om_ota_config_t |
| uint32_t log_oml_ota_get | ( | void | ) |
| void log_oml_ota_init | ( | void | ) |
| void log_oml_ota_set | ( | om_ota_config_t | value | ) |
| void log_oml_ota_switch | ( | uint8_t | on | ) |
| void log_oml_ota_write | ( | uint8_t | mode_id, |
| uint16_t | msg_id, | ||
| uint16_t | length, | ||
| const uint8_t * | msg_buffer | ||
| ) |
| void log_oml_ota_write_deal | ( | uint8_t | mode_id, |
| uint16_t | msg_id, | ||
| uint16_t | length, | ||
| const uint8_t * | msg_buffer | ||
| ) |
| void log_oml_ota_write_register_callback | ( | log_oml_ota_write_handler | callback | ) |
| void log_oml_ota_write_trigger_callback | ( | uint8_t | mode_id, |
| uint16_t | msg_id, | ||
| uint16_t | length, | ||
| const uint8_t * | msg_buffer | ||
| ) |
| void log_oml_ota_write_unregister_callback | ( | void | ) |