EthW5500+STM32

Dependencies:   MQTT WIZnet_Library mbed

Fork of EthW5500 by YX ZHANG

Revision:
5:23424c038538
Parent:
3:54ad271708ff
--- a/ETHW5500.h	Fri Apr 20 07:28:56 2018 +0000
+++ b/ETHW5500.h	Fri Apr 27 06:50:55 2018 +0000
@@ -5,8 +5,9 @@
 #include "MQTTSocket.h"
 #include "MQTTClient.h"
 typedef MQTT::Client<MQTTSocket,Countdown> MClient;
-int Eth_Init(uint8_t *mar_addr);
-int Eth_ConnectToSer(char *URL);
+
+void Eth_Init(uint8_t *mar_addr);
+int Eth_ConnetToSever(char* URL);
 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 );