move dirs
This commit is contained in:
		
							
								
								
									
										18
									
								
								mqtt.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								mqtt.h
									
									
									
									
									
										Normal 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
 | 
			
		||||
		Reference in New Issue
	
	Block a user