Use ble communication instead of cli terminal

Hi,

I'm trying to use ble data instead of cli terminal. when nRF52840 received data from ble, I want send the data to cli instance. I called function named "void nrf_cli_print_stream(void const * p_user_ctx, char const * p_data, size_t data_len)" to send the data to cli instance, but it would cause a crash. The details as below. What should I do? Any good suggestion? 

Related