nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ bt_dfu_smp_rsp_total_check()

bool bt_dfu_smp_rsp_total_check ( const struct bt_dfu_smp dfu_smp)

#include <include/bluetooth/services/dfu_smp.h>

Check if all response parts have been received.

This auxiliary function checks if the current response part is the final one.

Note
This function should be used inside a response callback function that is provided to bt_dfu_smp_command.
Parameters
dfu_smpDFU SMP Client instance.
Return values
trueIf the current part is the final one.
falseIf the current part is not the final one.