Hi,
In the nus example of sdk 15 the device does not advertise if i comment out the uart_init() function. Why does this happen?
What is the relationship between the uart_init and the advertise_init function?
Hi,
In the nus example of sdk 15 the device does not advertise if i comment out the uart_init() function. Why does this happen?
What is the relationship between the uart_init and the advertise_init function?
If you comment out uart_init(), then you need to comment out the line "printf("\r\nUART started.\r\n");", or alternatively set RETARGET_ENABLED in sdk_config.h to 0
If you comment out uart_init(), then you need to comment out the line "printf("\r\nUART started.\r\n");", or alternatively set RETARGET_ENABLED in sdk_config.h to 0