I am working on the multi peripheral example and added the uart services uart working fine but how i can see the data without enabling the nrf_log.if i am enabling the nrf_log file then i am getting the error in the uart init.
I am working on the multi peripheral example and added the uart services uart working fine but how i can see the data without enabling the nrf_log.if i am enabling the nrf_log file then i am getting the error in the uart init.
Hi,
The logger module support UART as a backend. If you have enabled the UART backend, the UART driver will already have been initialized by the logger. Trying to initialize the UART peripheral again will result in an error.
You should still be able to enable logger module with RTT backend. Please make sure NRF_LOG_BACKEND_UART_ENABLED is set to 0 in sdk_config.h.
Best regards,
Jørgen
What do you mean by "but data is coming"? Where is data coming if it is not advertising? Have you debugged the application to see if any function calls return error codes?
sir,i am checked in the debug mode,it showing my data in debug terminal.but it is not advertising my device name.i am not getting in smart phone.
sir.after connection it is going to hardfault handler,it is not coming back uart reception process.
sir,my multi peripheral with nus working fine,when i am connected from smart phone.then uart is not receiving any thining.it is just showing that connection established in debug mode after disconnecting again it is receiving the data.what is the problem??/
NRF_SDH_BLE_GATT_MAX_MTU_SIZE && NRF_SDH_BLE_GAP_DATA_LENGTH why these are required in sdk can you please explain me.............................
It's hard to know what your problem is without having a look at the application. If you can upload your entire project, I can have a look at it.
The parameters are described on this page.
It's hard to know what your problem is without having a look at the application. If you can upload your entire project, I can have a look at it.
The parameters are described on this page.