nordic SDK 17.0.2 BLE DFU issue

My firmware is using SDK 17.0.2, and it includes CPS, battery, and a custom service. Everything has been working fine. The custom service is responsible for sending and receiving packets to achieve bidirectional control. Originally, the program called APP_ERROR_CHECK(ble_dfu_buttonless_async_svci_init()) at the start. However, now I want the DFU functionality to be disabled, so I removed this line of code. The BLE device can still connect, but none of the services are able to send or receive packets anymore. How can I resolve this issue?

Parents
  • Hi,

    Most likely this is due to the GATT table changing when you remove the BLE DFU buttonless functionality. If you have previously connected to a device, then typically that other device has cached the GATT table, and therefore using it wrong. If this is the cause, then it can be fixed by deleting the nRF device from the other device (i.e. deleting bonds, resetting BLE, etc. depending on the available settings and controls on that other device.)

    If the above does not solve the issue, then please do a sniffing session (e.g. with use of the nRF Sniffer), and provide the sniffer logs. They will show what goes on over the air, and hopefully give clues to what might be the issue.

    Regards,
    Terje

Reply
  • Hi,

    Most likely this is due to the GATT table changing when you remove the BLE DFU buttonless functionality. If you have previously connected to a device, then typically that other device has cached the GATT table, and therefore using it wrong. If this is the cause, then it can be fixed by deleting the nRF device from the other device (i.e. deleting bonds, resetting BLE, etc. depending on the available settings and controls on that other device.)

    If the above does not solve the issue, then please do a sniffing session (e.g. with use of the nRF Sniffer), and provide the sniffer logs. They will show what goes on over the air, and hopefully give clues to what might be the issue.

    Regards,
    Terje

Children
No Data
Related