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 <api.h>
#include "dualmcu_lib.h"
void App_init(const app_global_functions_t * functions)
{
Dualmcu_lib_init(UART_BAUDRATE, UART_FLOWCONTROL);
}
dualmcu_lib.h
app_global_functions_t
List of global functions, passed to App_entrypoint()
Definition: wms_app.h:157
Dualmcu_lib_init
dualmcu_lib_res_e Dualmcu_lib_init(uint32_t baudrate, bool flow_ctrl)
Initialize Dualmcu_lib.
api.h