mongoose/examples/arduino/w5500-mqtt/net.h

17 lines
276 B
C
Raw Normal View History

2023-09-08 16:39:25 +08:00
#pragma once
#include "mongoose.h"
#ifdef __cplusplus
extern "C" {
#endif
extern struct mg_tcpip_spi spi;
extern struct mg_mgr mgr;
void mqtt_publish(const char *message);
void net_init(void);
void exec_command(const char *req, size_t req_len);
#ifdef __cplusplus
}
#endif