1、封装 usr_le_code 为静态库,并增加 Release 客户包自动生成工具
2、将 BLE 协议实现收敛为 libusr_le_code.a + 公开头文件,应用侧通过 usr_le_api / usr_le_product 对接;新增 package_release.py,按 version.txt 3、生成去除协议源码的客户交付包,开发工程继续保留完整源码。
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
#ifndef APP_MAIN_H
|
||||
#define APP_MAIN_H
|
||||
#include "bleproto.h"
|
||||
#include "bleproto_api.h"
|
||||
|
||||
typedef struct _USR_VAR {
|
||||
u8 usr_start_write_flash ;
|
||||
@@ -131,7 +129,6 @@ typedef struct _BT_USER_COMM_VAR {
|
||||
extern APP_VAR app_var;
|
||||
extern USR_VAR usr_var;
|
||||
extern BT_USER_PRIV_VAR bt_user_priv_var;
|
||||
extern bleproto_authsetup_req_t usr_auth_data;
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -34,8 +34,6 @@
|
||||
/* #define LOG_DUMP_ENABLE */
|
||||
#define LOG_CLI_ENABLE
|
||||
#include "debug.h"
|
||||
#include "bleproto.h"
|
||||
#include "bleproto_api.h"
|
||||
|
||||
#define POWER_OFF_CNT 10
|
||||
|
||||
@@ -46,7 +44,6 @@ extern bool get_tws_sibling_connect_state(void);
|
||||
extern int bt_get_low_latency_mode();
|
||||
extern void bt_set_low_latency_mode(int enable);
|
||||
|
||||
extern void usr_ble_adv_init();
|
||||
void audio_aec_pitch_change_ctrl();
|
||||
void audio_surround_voice_ctrl();
|
||||
extern void start_streamer_test(void);
|
||||
|
||||
Reference in New Issue
Block a user