EthW5500+STM32
Dependencies: MQTT WIZnet_Library mbed
Fork of EthW5500 by
ETHW5500.h
00001 #ifndef ETHW5500_H 00002 #define ETHW5500_H 00003 #include "mbed.h" 00004 #include "WIZnetInterface.h" 00005 #include "MQTTSocket.h" 00006 #include "MQTTClient.h" 00007 typedef MQTT::Client<MQTTSocket,Countdown> MClient; 00008 00009 void Eth_Init(uint8_t *mar_addr); 00010 int Eth_ConnetToSever(char* URL); 00011 int Eth_Subscribe(const char* ns,const char *NODE_NAME, const char* type); 00012 void Eth_Report(const char* ns,const char *NODE_NAME, const char* type,const char* payload , size_t payload_len , 00013 bool retain ); 00014 #endif
Generated on Thu Jul 14 2022 00:21:23 by 1.7.2