move dirs

This commit is contained in:
2022-01-12 16:44:12 +01:00
parent 789d0035b1
commit da7ff3bddb
49 changed files with 0 additions and 0 deletions

18
mqtt.h Normal file
View File

@@ -0,0 +1,18 @@
#ifndef _MQTT_H_
#define _MQTT_H_
#include "Ethernet/socket.h"
#include "Internet/MQTT/mqtt_interface.h"
#include "Internet/MQTT/MQTTClient.h"
#define SOCK_MQTT 2
#define MQTT_BUFFER_SIZE 512 // 2048
extern uint8_t mqtt_readBuffer[MQTT_BUFFER_SIZE];
extern wiz_NetInfo netInfo;
extern uint8_t MQTT_targetIP[4];
void messageArrived(MessageData* md);
void mqtt_pub(Client* mqtt_client, char * mqtt_topic, char * mqtt_msg, int mqtt_msg_len);
#endif