Directed Advertising on the BLE coded PHY?

Hi everyone,

I'm trying to implement directed advertising on the BLE codeded PHY.

My setup of consists of two identical NRF5340 based custom boards, running FW based on the nrf SDK v1.7.1.

The devices are bonded, directed advertising one the 1M-PHY work flawlessly (including connection establishment, MTU exchange, raising BLE security, etc...).

Also standard advertising on the coded PHY work as expected.

However the combination coded phy + directed advertising is giving me headaches. This is what the log output look like after receiving the advertising packet and calling bt_conn_le_create().

I can trace it back to the piece of code causing these messages, however I cannot make too much sense of of. I already tried more recent version of the SDK (1.9.1 and 2.0.2), but they behave similarly.

Today I came across a comment by user   here:  Directed advertising with coded PHY without bonding stating that those two just do not work together. Is that a limit of the SDK, or does the bluetooth spec not allow this?

Thank you for your help!

Related