[nRF Connect SDK] Disconnected by reason code 0x3d

1261.Archive.zip

Target nRF52832(nrf52dk_nrf52832)
SDK NCS v2.0.0
My project base: \nrf\samples\bluetooth\peripheral_hids_keyboard


Hello.

My customer is experiecing disconnection reason code 0x3d between Nokia 5.3 and Nordic.

2022-10-18 14:05:54.032 2587-3307 bt_stack pid-2587 V [VERBOSE1:gatt_attr.cc(245)] gatt_connect_cback: from 00:16:7f:3f:ae:fc connected: 0, conn_id: 0x0001reason: 0x003d

For now, we don't have BLE log and have Android logcat log only.
From log, they made disconnection three time for 3 hours. But I can't reproduce at all. (I don't have Nokia5.3 as well)

1. Can you guess who made this disconnection with this log?

2. Can we have any solution?

Parents
  • Hi Tim, 

    Error code 0x3d means: a message failed a Message Integrity Check (MIC)
    So for some reason the message passed CRC check  but failed the MIC check. It's required by spec that the nRF52 would need to disconnect when receiving this type of packet.  

    We would need to have a sniffer trace to really see which device causing this. There could be a chance that the Nokia 5.3 is doing something wrong. 

    Please ask the customer to test with the default example from the SDK without any modification. They can also try with other example (that require bond) instead of peripheral_hids_keyboard. Just so we can verify if the HID profile would cause any problem.  

  • Hello.

    1. sniff log
    It is not easy that we provide it immediately.

    2. sample
    Actually, we are using custom throughput sample with custom UUID but not HID.
    Today, one of our engineer visit customer and get RTT log.
    Then I believe we can provide disconnection reason code.

    If Android(Nokia5.3) made MIC error, what kind of error code Nordic BLE will have?
    Or Nordic made MIC error, what kind of error code Nordic BLE will have?

    Thanks.

Reply
  • Hello.

    1. sniff log
    It is not easy that we provide it immediately.

    2. sample
    Actually, we are using custom throughput sample with custom UUID but not HID.
    Today, one of our engineer visit customer and get RTT log.
    Then I believe we can provide disconnection reason code.

    If Android(Nokia5.3) made MIC error, what kind of error code Nordic BLE will have?
    Or Nordic made MIC error, what kind of error code Nordic BLE will have?

    Thanks.

Children
Related