This is the first time I've used two roles on one device and I've encountered some oddities.
The topology is as follows:
Device A (nRF52840-DK) operates in dual mode (but in this case I use the role of the periphery), device B (nRF connect on smartphone android) operates only in central mode.
The two devices are paired and bonded.
If after this I disconnected the devices and turn off advertising on device A, and then call the bt_conn_le_create_auto() function or the bt_conn_le_create() function and pass the address of device B then a connection is established between devices A and B!
And this only worked for me if device B was a smartphone with the NRF Connect app.
This does not happen with NRF Connect on a PC Windows, and if device B also nRF52840-DK
If this seems fantastic, I am ready to make a video, if it is normal, then explain why it works like this?)