This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to see the BLE received data in ble_app_uart_c example code?

Hello,

I am trying to test BLE with SAADC, UART function.

I am complete the ADC test and UART part.

So now, I want to SAADC with BLE and BLE with UART.

The whole connection is like below,

(  SAADC ---- BLE ---- UART ---- processor)

     slave                       master     microprocessor

I think I can use the ble_app_uart_c example(central) in SDK 17.0 version for receive the BLE data and tranceive the data with UART.

I am using the below examples for the slave module (ADC---BLE TX)

github.com/.../ble_app_uart__saadc_timer_driven__scan_mode

However, I don't know where the BLE received data is storing. (I want to debug(watch) the received data).

[main.c line 218] ble_nus_chars_received_uart_print 

function received data?

or I want to know what should I studying for understand this example.

(or should I using the other, modifying example?)

Thank you for reading my questions.

Best Regards,

Yclee.

Parents Reply Children
No Data
Related