Deciphering bt controller assert

I'm getting this in my bt controller assert handler:

48 is the file and 260 is the line that our handler is getting.  This is on ncs 3.2.4

Parents
  • Hi Andy

    To avoid confusion, please share the assert message formatted as you see it in your logs, and what Bluetooth Controller are you using, the SoftDevice controller or Zephyr BT controller? Also, please share some details on what your BT controller application is doing, when this error message occurs, and the prj.conf file of your application so we can see what configurations are enabled.

    Best regards,

    Simon

Reply
  • Hi Andy

    To avoid confusion, please share the assert message formatted as you see it in your logs, and what Bluetooth Controller are you using, the SoftDevice controller or Zephyr BT controller? Also, please share some details on what your BT controller application is doing, when this error message occurs, and the prj.conf file of your application so we can see what configurations are enabled.

    Best regards,

    Simon

Children
  • We're using the soft device.  These logs were in a device we puled from the field so I don't know what it was doing at the time.

    This was the log in our custom ble handler.

    BT_CTLR ASSERT: 48, 260

    void bt_ctlr_assert_handle(char* file, uint32_t line)
    {
    snprintk(
    m_assert_record.buf, sizeof(m_assert_record.buf),
    "BT_CTLR ASSERT: %s, %u\n", (char*)file, line
    );
    Our config is fairly deep are there particular items you're looking for?
Related