#49 Adding support for C++

This commit is contained in:
justinkim
2018-09-10 09:07:08 +09:00
parent 28e8a16b54
commit c69d27b875
23 changed files with 189 additions and 1 deletions

View File

@ -212,6 +212,11 @@ int main(void)
#ifndef __MQTT_INTERFACE_H_
#define __MQTT_INTERFACE_H_
#ifdef __cplusplus
extern <EFBFBD><EFBFBD>C<EFBFBD><EFBFBD> {
#endif
/*
* @brief MQTT MilliTimer handler
* @note MUST BE register to your system 1m Tick timer handler
@ -257,4 +262,8 @@ void w5x00_disconnect(Network*);
void NewNetwork(Network* n, int sn);
int ConnectNetwork(Network*, char*, int);
#ifdef __cplusplus
}
#endif
#endif //__MQTT_INTERFACE_H_