Simultaneously central and peripheral uart

Hi, I use NCS v2.6.1 I have taken Central and peripheral HR as an example and am trying to modify it to make the Central/Peripheral UART example work similarly.

I briefly explain the objective. The type of communication must be 1 to 1 with a Central/Peripheral device that must connect regardless of whether there is a Peripheral or Central device on the other side. The module advertises itself correctly and in fact a possible central module connects. While it cannot find peripheral modules


I enclose the code. Thank you for your support,

Giovanni
Central_Peripheral_Uart.rar

Related