Wiljan Arias / WhexReefMonitor

Dependencies:   mbed-rtos EthernetInterface FatFileSystemCpp MCP23S17 SDFileSystem mbed

Fork of HTTPServerHelloWorld by Donatien Garnier

Services/EthernetService.h

Committer:
wyunreal
Date:
2014-01-31
Revision:
3:5dc0023e6284

File content as of revision 3:5dc0023e6284:

#ifndef ETHERNET_SERVICE_H
#define ETHERNET_SERVICE_H

#include "EthernetNetIf.h"
#include "NTPClient.h"

class EthernetService {
    private:
        EthernetNetIf* ethernetInterface;
        NTPClient* ntpClient;
        
    public:
        EthernetService();
        ~EthernetService();
        
        int setup();
        int setRtcTime();
};

#endif