Dynamically configurable central/peripheral role

nRF52832 & NCS v2.6.1

I merged the NUS central and NUS peripheral FW into a single one where the user calls appropriate initialization functions to activate whether central or peripheral role.

For this to work, I had to include both CONFIG_BT_CENTRAL=y and CONFIG_BT_PERIPHERAL=y in my prj.conf.

The system works, but I get the following warning on the peripheral device whenever it connects to central:

<wrn> bt_hci_core: opcode 0x200a status 0x0d

I found out that removing CONFIG_BT_CENTRAL=y (and commenting out all central related code) makes the warning disappear.

How to avoid this message? Can I simply ignore it?

Parents Reply Children
No Data
Related