Zephyr BLE: bt_le_scan_start Fails with Error -5 (-EIO)

I was running BLE tests between two nrf52dk boards and from time to time I saw the error message as below:

W: opcode 0x2005 status 0x0c

And my debug message showed as: BLE_GAP_StartScan error (err = -5), which printed out when the function bt_le_scan_start returned a non-zero error.

Could it be a BLE stack issue?

Thanks for the support!

Parents Reply Children
  • Thank you for clarifying

    wliao said:
    1. I didn't record the callstack last time but I will if I have the same issue next time.

    Let me know if you find something there

    wliao said:
    5. I also noticed there was a similar complain about this error last year, here is the link:

    Do you mean "Similar", or "Identical and reproduceable on your firmware"? This report were posted in 2022 where they used NCS v2.1.0, meaning that this might have been fixed in later versions.

    I will check if I'm able to reproduce the steps in the bug report in v2.4.0 with two 52840dks but it might be a while before I have time to do so. In the meanwhile let me know if you're able to reproduce it on your firmware.

    Kind regards,
    Andreas

Related