This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Bluetooth LE Scan warnings

I have successfully implemented the Azure IoT Hub sample on my nRF9160DK and added the ble scanning module. The kit is acting as a gateway, reading advertisements from a couple of sensors and sending messages to IoT Hub. 

nRF Connect SDK: v1.6.1
I am getting a couple of warnings that I don't understand, can anyone help me?d


bt_hci_core: opcode 0x0000 pool id 3 pool 0x20014cdc != &hci_cmd_pool 0x20014d2c
This warning is displayed when the scanning is started. I figured out that it originates from the function "hci_cmd_done" in hci_core.c:

if (net_buf_pool_get(buf->pool_id) != &hci_cmd_pool) {
BT_WARN("opcode 0x%04x pool id %u pool %p != &hci_cmd_pool %p",
opcode, buf->pool_id, net_buf_pool_get(buf->pool_id),
&hci_cmd_pool);
return;
}
So the network buffer is not at the expected address? What is the consequence of this?


bt_driver: Discarding event 0x3e
This warning is displayed during scanning. It originates from "read_payload" in h4.c.
Could this be just advertisements that doesn't match the filter, so they get discarded?

Related