分开蓝牙服务CMD和DATA

This commit is contained in:
OPTOC
2025-09-17 11:45:06 +08:00
parent 3f12c83014
commit 32c932219f
3 changed files with 106 additions and 63 deletions

View File

@@ -110,7 +110,14 @@ void app_thread(void* arg)
}
resend_recv_data(&sertrf.resend_device,0);
// uint32_t app_size = app_device_get_rx_length(&sertrf.device);
// if(app_size > 0)
// {
// uint8_t data[app_size];
// app_device_read(&sertrf.device, data, app_size,0);
// // printf("data:%d:%s\n", app_size,data);
// }
os_thread_sleep(1);
}