diff --git a/test/case46/src/testcase46.c b/test/case46/src/testcase46.c index f15c33c..a7a0572 100644 --- a/test/case46/src/testcase46.c +++ b/test/case46/src/testcase46.c @@ -189,6 +189,7 @@ void *handleUdpTransmission(void *arg) // while uint8_t block_n = 0; uint8_t cut_i = 0; + printf("[udp.sendto] send to 172.29.118.76:28864 ...\n"); while (1) { if (1 == slot_ind_flag) @@ -202,14 +203,14 @@ void *handleUdpTransmission(void *arg) ); block_n = 0; if (w_idx == r_idx){ - printf("[while(p)]: w_idx = %hhu, r_idx = %hhu\n", w_idx, r_idx); - printf("[while(p)]: pass\n"); + // printf("[while(p)]: w_idx = %hhu, r_idx = %hhu\n", w_idx, r_idx); + // printf("[while(p)]: pass\n"); } else { if (r_idx < w_idx) { - printf("[while(r)]: w_idx = %hhu, r_idx = %hhu\n", w_idx, r_idx); - printf("[while(r)]: r_idx < w_idx\n"); + // printf("[while(r)]: w_idx = %hhu, r_idx = %hhu\n", w_idx, r_idx); + // printf("[while(r)]: r_idx < w_idx\n"); block_n = w_idx - r_idx; for (cut_i = 0; cut_i < block_n; cut_i++) { @@ -234,8 +235,8 @@ void *handleUdpTransmission(void *arg) } else //r_idx > w_idx { - printf("[while(w)]: w_idx = %hhu, r_idx = %hhu\n", w_idx, r_idx); - printf("[while(w)]: w_idx < r_idx\n"); + // printf("[while(w)]: w_idx = %hhu, r_idx = %hhu\n", w_idx, r_idx); + // printf("[while(w)]: w_idx < r_idx\n"); for (cut_i = 0; cut_i < (8-r_idx); cut_i++) { memcpy(udp_data_buffer,