17#ifndef __INCLUDE_MESH_SYSTEM__
18#define __INCLUDE_MESH_SYSTEM__
29 APPL_EVENT_CONNECT = 0x01,
30 APPL_BACKHAUL_INTERFACE_PHY_DOWN,
31 APPL_BACKHAUL_LINK_DOWN,
36typedef uint64_t ns_time_read_cb(
void);
37typedef void ns_time_write_cb(uint64_t);
44void mesh_system_send_connect_event(uint8_t receiver);
46int mesh_system_set_file_system_root_path(
const char *root_path);
48void mesh_system_time_callback_set(ns_time_read_cb, ns_time_write_cb);
54void mesh_system_init(
void);
60#include "nanostack-event-loop/eventOS_scheduler.h"
62#define nanostack_lock() eventOS_scheduler_mutex_wait()
63#define nanostack_unlock() eventOS_scheduler_mutex_release()
64#define nanostack_assert_locked()