If I enable CONFIG_ASSERT=y this example will crash (or code using the DF APIs)
To reproduce:
- nRF Connect 1.6.1
- In direction_finding_connectionless_rx add CONFIG_ASSERT=y to the prj.conf
- Build direction_finding_connectionless_rx and direction_finding_connectionless_tx
- Flash and run, then you will see the log below on the device running direction_finding_connectionless_rx
Log from the example:
Enable receiving of CTE...
success. CTE receive enabled.
Scan disable...Success.
Waiting for periodic sync lost...
PER_ADV_SYNC[0]: [DEVICE]: 30:A0:F1:E2:87:5D (random), tx_power 127, RSSI -58, CTE AOA, data length 0, data:
ASSERTION FAIL [0] @ WEST_TOPDIR/zephyr/subsys/net/buf.c:800