nRF Connect SDK Version: 2.0.2
Network core image: hci_rpmsg
I have an nRF5340 device acting as a peripheral. When I initialize advertising with the BT_LE_ADV_OPT_FILTER_CONN flag set and a single address in the filter accept list, a second nRF5340 device acting as a central, but NOT in the filter accept list attempts to connect to the peripheral and receives a "connected" event with no error set. I would expect the connection to be rejected and either no "connected" event to be received, or an error code to be returned.
Is this expected behavior? Is there some way to reliably detect a rejected connection?