Skip to content
Commit 06b0a9c5 authored by Michal Ciesielski's avatar Michal Ciesielski Committed by Carles Cufí
Browse files

net: lwm2m: Make lwm2m_pull_context reusable



Add a semaphore to control that no collisions occur when multiple
sources want to use the pull_context

Add struct firmware_pull_context *ctx as an argument to the result_cb of
the context. This allows the receiver to do some kind of differentiation
on the source.

Signed-off-by: default avatarMichal Ciesielski <michal.m.ciesielski@voiapp.io>
parent 2f046da6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment