添加ota功能函数

This commit is contained in:
OPTOC
2025-09-09 18:07:30 +08:00
parent 25b994cb65
commit fb05542e80
4 changed files with 129 additions and 0 deletions

View File

@@ -5,12 +5,15 @@
#include "key.h"
#include "protocol/p_protocol.h"
#include "protocol/kuyi_protl.h"
#include "ota_u.h"
typedef struct
{
device_t device;
os_thread_t embedded_thread;
os_thread_t pc_thread;
os_thread_t task_thread;
ota_u_t otau;
}sertrf_t;
/**
@@ -37,6 +40,11 @@ void sertrf_status(void);
* @brief embedded thread
*/
void embedded_thread(void* arg);
/**
* @brief pc thread
*/
void pc_thread(void* arg);
/**
* @brief task thread
*/