![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
EthW5500+STM32
Dependencies: MQTT WIZnet_Library mbed
Fork of EthW5500 by
Diff: ETHW5500.h
- Revision:
- 2:566a6b762cdf
- Child:
- 3:54ad271708ff
diff -r 9689429a0a29 -r 566a6b762cdf ETHW5500.h --- /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