From: hcj <1224667075@qq.com> Date: Mon, 19 May 2025 03:05:32 +0000 (+0800) Subject: 增加app应用接口 X-Git-Tag: leiniao_debug_1.0.0_20250922_020716~298^2~1^2~9 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=867754f21d24602d88d9f24c2876ffd0c823e752;p=mirrors%2FFD230.git 增加app应用接口 --- diff --git a/code/sdk/zhihui/services/ble_service/blemoder/bleInstruct.cpp b/code/sdk/zhihui/services/ble_service/blemoder/bleInstruct.cpp index 35f21cc2f..2c8566872 100644 --- a/code/sdk/zhihui/services/ble_service/blemoder/bleInstruct.cpp +++ b/code/sdk/zhihui/services/ble_service/blemoder/bleInstruct.cpp @@ -1235,6 +1235,17 @@ void ble_bin_install(void) } +void ble_app_delete(char *data) +{ + return bleInstruct_t.ble_app_delete(data); +} + + +cJSON* ble_app_list(void) +{ + return bleInstruct_t.ble_app_list(); +} + #endif diff --git a/code/sdk/zhihui/services/ble_service/blemoder/bleInstruct.h b/code/sdk/zhihui/services/ble_service/blemoder/bleInstruct.h index e60fcacad..986520236 100644 --- a/code/sdk/zhihui/services/ble_service/blemoder/bleInstruct.h +++ b/code/sdk/zhihui/services/ble_service/blemoder/bleInstruct.h @@ -633,6 +633,9 @@ typedef struct bleInstruct void (*ble_bin_install)(void); + void (*ble_app_delete)(char * data); + + cJSON* (*ble_app_list)(void); } bleInstruct_t_;