Skip to content
Commit 098749bb authored by Jonas Remmert's avatar Jonas Remmert Committed by Johan Hedberg
Browse files

samples: mesh_badge: fix BT mesh provisioning error



The BT Mesh Configuration Client API is used in an asynchronous manner
and the app key was not added before attempt binding it to mesh models.
This caused the binding functions to fail and resulted in a fail when
trying to to send mesh messages.

This commit registers a callback that is called when the app key is
assigned. After this callback is called, the binding functions are
called.

Signed-off-by: default avatarJonas Remmert <j.remmert@phytec.de>
parent 9d6446a7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment