18#ifndef __INCLUDE_WISUN_TASKLET__
19#define __INCLUDE_WISUN_TASKLET__
21#include "eventOS_event.h"
22#include "mbed-mesh-api/mesh_interface_types.h"
31typedef void (*mesh_interface_cb)(mesh_connection_status_t mesh_status);
42int8_t wisun_tasklet_get_router_ip_address(
char *address, int8_t len);
55int8_t wisun_tasklet_connect(mesh_interface_cb callback, int8_t nwk_interface_id);
61void wisun_tasklet_init(
void);
72int8_t wisun_tasklet_network_init(int8_t device_id);
81int8_t wisun_tasklet_disconnect(
bool send_cb);
93int wisun_tasklet_set_own_certificate(uint8_t *cert, uint16_t cert_len, uint8_t *cert_key, uint16_t cert_key_len);
101int wisun_tasklet_remove_own_certificates(
void);
111int wisun_tasklet_set_trusted_certificate(uint8_t *cert, uint16_t cert_len);
119int wisun_tasklet_remove_trusted_certificates(
void);
127int wisun_tasklet_statistics_start(
void);
135int wisun_tasklet_statistics_reset(
void);
Mesh physical layer statistics.