分开蓝牙服务CMD和DATA
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user