DDNS use No-IP

Dependents:   TCPEchoClient-WIZwiki-W7500

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers DDNSClient.h Source File

DDNSClient.h

00001 #ifndef DDNS_CLIENT_H
00002 #define DDNS_CLIENT_H
00003 #include "mbed.h"
00004 /** DDNSClient class.
00005  */
00006 class DDNSClient{
00007 public:
00008     /** Create DDNSClient instance */
00009     DDNSClient();
00010     ~DDNSClient();
00011 
00012     void updateNoIP(void);
00013     void userSetNoIP(char* idpass, char* hostname);
00014     void checkIp(void);
00015 private:
00016     TCPSocketConnection DDNSupdate;  
00017     TCPSocketConnection CheckIp;
00018     
00019     char* noip_ddns;
00020     char* check_ip;
00021     int noip_ddns_port;
00022     int check_ip_port;
00023     
00024     char* _hostname;
00025     char* _ip;
00026     char* _idpass;
00027 
00028 };
00029 #endif