Skip to content
Commit f04f8b24 authored by Pete Skeggs's avatar Pete Skeggs Committed by Carles Cufí
Browse files

net: lib: coap_client: Improve cancel function



Improve coap_client_cancel_requests(). Ensure it can be
called from a callback. Report error to waiting callbacks.
Clear active flag.

This is useful when the network becomes unavailable
or prior to disconnecting in order to save power.

Signed-off-by: default avatarPete Skeggs <peter.skeggs@nordicsemi.no>
parent 90b654ee
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment