21#include "mm_app_regdb.h"
23#if !defined(MBEDTLS_CONFIG_FILE)
24#include "mbedtls/mbedtls_config.h"
26#include MBEDTLS_CONFIG_FILE
28#ifdef MBEDTLS_THREADING_ALT
29#include "threading_alt.h"
33#ifndef APPLICATION_VERSION
34#error Please define APPLICATION_VERSION to an appropriate value.
43 printf(
"\n\nM2M Agent Example (Built " __DATE__
" " __TIME__
")\n\n");
46#ifdef MBEDTLS_THREADING_ALT
47 mbedtls_platform_threading_init();
52 .reg_db = get_regulatory_db(),
56 printf(
"M2M interface enabled\n");
struct mmagic_m2m_agent * mmagic_m2m_agent_init(const struct mmagic_m2m_agent_init_args *args)
Initialize the M2M agent.
#define MM_UNUSED(_x)
Casts the given expression to void to avoid "unused" warnings from the compiler.
void app_init(void)
Main entry point to the application.
char app_version[MMAGIC_SYS_MAX_APP_VERSION_LENGTH+1]
Application version string.