EthW5500+STM32

Dependencies:   MQTT WIZnet_Library mbed

Fork of EthW5500 by YX ZHANG

Revision:
2:566a6b762cdf
Child:
3:54ad271708ff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ETHW5500.h	Thu Apr 19 13:57:24 2018 +0000
@@ -0,0 +1,12 @@
+#ifndef ETHW5500_H
+#define ETHW5500_H
+#include "mbed.h"
+#include "WIZnetInterface.h"
+#include "MQTTSocket.h"
+#include "MQTTClient.h"
+typedef MQTT::Client<MQTTSocket,Countdown> MClient;
+int Eth_Init(uint8_t *mar_addr);
+int Eth_Subscribe(const char* ns,const char *NODE_NAME, const char* type);
+void Eth_Report(const char* ns,const char *NODE_NAME, const char* type,const char* payload , size_t payload_len , 
+                    bool retain );
+#endif
\ No newline at end of file