From 6c7756f4082dd0cd686841e69bce9cca63b322bd Mon Sep 17 00:00:00 2001 From: SnickerSun Date: Thu, 11 Jul 2024 18:37:39 +0800 Subject: [PATCH] =?utf8?q?=E5=87=8F=E5=B0=91ble=E5=8F=91=E9=80=81=E6=96=87?= =?utf8?q?=E4=BB=B6=E6=97=B6=E5=8C=85=E4=B8=8E=E5=8C=85=E4=B9=8B=E9=97=B4?= =?utf8?q?=E7=9A=84=E9=97=B4=E9=9A=94=E4=B8=BA15ms?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../wearable/service/ble_service/bleservice/bleEvent.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/sdk/application/wearable/service/ble_service/bleservice/bleEvent.c b/code/sdk/application/wearable/service/ble_service/bleservice/bleEvent.c index 46472a8ce..9b3395794 100644 --- a/code/sdk/application/wearable/service/ble_service/bleservice/bleEvent.c +++ b/code/sdk/application/wearable/service/ble_service/bleservice/bleEvent.c @@ -3927,7 +3927,7 @@ bool get_AI_PATH_and_size(char *path,uint32_t *size) return false; } } -#define SEND_AIVOICE_SPEED 30 +#define SEND_AIVOICE_PACKAGE_DELAY 15 //APP获取录音文件,录音文件上传 static void GetAiRecordCmd(uint16_t cmd,uint8_t *data,uint16_t len,uint8_t *totaldata,uint8_t crcvalue) { @@ -3970,7 +3970,7 @@ static void GetAiRecordCmd(uint16_t cmd,uint8_t *data,uint16_t len,uint8_t *tota send_big_data(1,data,read_size,file_size,pack_id,pack,0x34,1); pack_id++; - msleep(SEND_AIVOICE_SPEED); + msleep(SEND_AIVOICE_PACKAGE_DELAY); } while (read_size==num); free(data); -- 2.17.1