I am developing for a Thingy91 and NRF9160 DK
NCS v 1.9.1
I am using the LTE_BLE_Gateway sample using the NRF9160 as the Host and talking over HCI to the NRF52840 as a BLE slave device
It was working well when i was scanning for beacons but then i introduced the ability to advertise as a peripheral and receive connections from other devices. and then i started to see
ASSERTION FAIL [buf->len >= sizeof(*hdr)] @ WEST_TOPDIR/zephyr/subsys/bluetooth/host/hci_core.c:437
Sometimes i can run it for 10 minutes without seeing this error other times it happens within a few seconds. It always seems to occur whenever i receive a connection..
After receiving the Connected Event
I have been looking throughout the forum and it seems like this is a common issue but none of the solutions help. they are also very old posts
Here is the trailing end end of the log from my device after running for about 10 minutes
I have made a little console app that receives data over UART and saves to a local db and prints logs.
it is receiving data from Beacon "Detection type 2" and Central tags are also connecting "Detection Type 1"
However you can see in the log that i have received a lot of beacon reads fine and one of the Central tags are fine but then another connects and we get that error.