Wirepas SDK
Main Page
Related Pages
Data Structures
Files
Example applications
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 "
node_configuration.h
"
#include "
app_setup.h
"
void
App_init(
const
app_global_functions_t
* functions)
{
(void) functions;
App_Setup
();
/*
* 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