From 9d29a5e25270abdb085922d5b22f9ff526880c34 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Sun, 14 Jul 2019 23:17:20 +0200 Subject: [PATCH] mesh: add missing functions --- src/mesh/mesh.h | 5 +++++ src/mesh/mesh_configuration_server.c | 1 + 2 files changed, 6 insertions(+) diff --git a/src/mesh/mesh.h b/src/mesh/mesh.h index 4c827d88d..c2937d904 100644 --- a/src/mesh/mesh.h +++ b/src/mesh/mesh.h @@ -39,6 +39,7 @@ #define __MESH_H #include "btstack_defines.h" +#include "mesh/provisioning.h" #if defined __cplusplus extern "C" { @@ -55,6 +56,10 @@ void mesh_init(void); */ void mesh_register_provisioning_device_packet_handler(btstack_packet_handler_t packet_handler); +// temp +void mesh_access_setup_from_provisioning_data(const mesh_provisioning_data_t * provisioning_data); +void mesh_access_setup_without_provisiong_data(void); + #if defined __cplusplus } #endif diff --git a/src/mesh/mesh_configuration_server.c b/src/mesh/mesh_configuration_server.c index a0ccd0580..b07133199 100644 --- a/src/mesh/mesh_configuration_server.c +++ b/src/mesh/mesh_configuration_server.c @@ -50,6 +50,7 @@ #include "mesh/beacon.h" #include "mesh/gatt_bearer.h" +#include "mesh/mesh.h" #include "mesh/mesh_access.h" #include "mesh/mesh_crypto.h" #include "mesh/mesh_foundation.h"