添加RF、wifi、ble功能开关,以及在连接ble关闭wifi、连接wifi关闭ble的功能

This commit is contained in:
OPTOC
2025-10-20 12:06:29 +08:00
parent ce9fac6b32
commit c026c49fac
5 changed files with 201 additions and 59 deletions

View File

@@ -53,6 +53,11 @@ void sertrf_start(void);
*/
void sertrf_stop(void);
/**
* @brief 射频模块开关
*/
void sertrf_rf_switch(uint8_t on);
/**
* @brief 模块数据查看
*/
@@ -81,12 +86,5 @@ void task_thread(void* arg);
* @param connect 连接状态
*/
void pc_link_rgb_color(device_t* device);
/**
* @brief 打印时间间隔
*/
void printf_chill_time(uint8_t chill_time, uint16_t type);
/**
* @brief 字符串转十进制
*/
uint32_t parse_hex_or_dec(const char *s);