#ifndef PUERTO_H
#define PUERTO_H

class Puerto {
public:
    Puerto() {}
    virtual ~Puerto() {}
    bool getConectado() { return true; }
    void vaciarBuffer() {}
    void enviaDatos(unsigned char* datos, int longitud) {}
    int getCantRecibidos() { return 0; }
    void getRecibidos(unsigned char* buffer) {}
    void setFechaRecepcionExitosa(time_t fecha) {}
};

extern Puerto* miPuerto;

#endif // PUERTO_H