Wirepas SDK
dualmcu_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 template to Dual MCU API app for all paltforms
*/
#include <stdlib.h>
#include "
local_provisioning.h
"
#include "
dualmcu_lib.h
"
void
App_init(
const
app_global_functions_t
* functions)
{
Local_provisioning_init
(NULL, NULL);
Dualmcu_lib_init
(UART_BAUDRATE, UART_FLOWCONTROL);
}
local_provisioning.h
dualmcu_lib.h
app_global_functions_t
List of global functions, passed to App_entrypoint()
Definition:
wms_app.h:157
Local_provisioning_init
Local_provisioning_res_e Local_provisioning_init(local_provisioning_psk_t *psk, local_provisioning_proxy_enabled_cb on_proxy_enabled_cb)
Initialize the Local provisioning library.
Dualmcu_lib_init
dualmcu_lib_res_e Dualmcu_lib_init(uint32_t baudrate, bool flow_ctrl)
Initialize Dualmcu_lib.