EthW5500+STM32
Dependencies: MQTT WIZnet_Library mbed
Fork of EthW5500 by
ETHW5500.h
- Committer:
- AlexQian
- Date:
- 2018-04-27
- Revision:
- 5:23424c038538
- Parent:
- 3:54ad271708ff
File content as of revision 5:23424c038538:
#ifndef ETHW5500_H #define ETHW5500_H #include "mbed.h" #include "WIZnetInterface.h" #include "MQTTSocket.h" #include "MQTTClient.h" typedef MQTT::Client<MQTTSocket,Countdown> MClient; 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 ); #endif