Wirepas SDK
minimal_app/app.c
/* Copyright 2017 Wirepas Ltd. All Rights Reserved.
*
* See file LICENSE.txt for full license details.
*
*/
/*
* \file app.c
* \brief This file is a minimal app to start the stack
*/
#include <stdlib.h>
#include "api.h"
#include "app_setup.h"
void App_init(const app_global_functions_t * functions)
{
(void) functions;
/*
* Start the stack.
* This is really important step, otherwise the stack will stay stopped and
* will not be part of any network. So the device will not be reachable
* without reflashing it
*/
lib_state->startStack();
}
app_setup.h
node_configuration.h
App_Setup
app_setup_res_e App_Setup(void)
Setup configuration from application persistent memory.
app_global_functions_t
List of global functions, passed to App_entrypoint()
Definition: wms_app.h:157
api.h