From bcaf658ca9e9c5d5d97cff4ea9e4f0bfa1f6981e Mon Sep 17 00:00:00 2001 From: yichin Date: Wed, 6 May 2020 18:26:56 +0800 Subject: [PATCH] test data rate --- .../simple_central/cc26xx/app/mem_central_handle_notify.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/simplelink/ble_sdk_2_02_02_25/src/examples/simple_central/cc26xx/app/mem_central_handle_notify.h b/simplelink/ble_sdk_2_02_02_25/src/examples/simple_central/cc26xx/app/mem_central_handle_notify.h index 00731dfe1..3374cd227 100644 --- a/simplelink/ble_sdk_2_02_02_25/src/examples/simple_central/cc26xx/app/mem_central_handle_notify.h +++ b/simplelink/ble_sdk_2_02_02_25/src/examples/simple_central/cc26xx/app/mem_central_handle_notify.h @@ -27,13 +27,13 @@ static void central_handle_notify(uint16_t length, uint8_t *value){ recv_noti[8] = value[8]; recv_noti[8] = '/0'; -// if(data_counter % 200 == 0){ + if(data_counter % 200 == 0){ mem_UART_display_u8(recv_noti, 9); mem_UART_display(" "); mem_UART_display("Notify data counter: "); mem_UART_display_u16(data_counter); mem_UART_newline(); -// } + } if(length == 200){ data_counter ++;