EthW5500+STM32

Dependencies:   MQTT WIZnet_Library mbed

Fork of EthW5500 by YX ZHANG

Committer:
AlexQian
Date:
Fri Apr 27 06:50:55 2018 +0000
Revision:
5:23424c038538
Parent:
3:54ad271708ff
updata

Who changed what in which revision?

UserRevisionLine numberNew contents of line
AlexQian 2:566a6b762cdf 1 #ifndef ETHW5500_H
AlexQian 2:566a6b762cdf 2 #define ETHW5500_H
AlexQian 2:566a6b762cdf 3 #include "mbed.h"
AlexQian 2:566a6b762cdf 4 #include "WIZnetInterface.h"
AlexQian 2:566a6b762cdf 5 #include "MQTTSocket.h"
AlexQian 2:566a6b762cdf 6 #include "MQTTClient.h"
AlexQian 2:566a6b762cdf 7 typedef MQTT::Client<MQTTSocket,Countdown> MClient;
AlexQian 5:23424c038538 8
AlexQian 5:23424c038538 9 void Eth_Init(uint8_t *mar_addr);
AlexQian 5:23424c038538 10 int Eth_ConnetToSever(char* URL);
AlexQian 2:566a6b762cdf 11 int Eth_Subscribe(const char* ns,const char *NODE_NAME, const char* type);
AlexQian 2:566a6b762cdf 12 void Eth_Report(const char* ns,const char *NODE_NAME, const char* type,const char* payload , size_t payload_len ,
AlexQian 2:566a6b762cdf 13 bool retain );
AlexQian 2:566a6b762cdf 14 #endif