ac-real-io/acrealio/Node.h

29 lines
446 B
C
Raw Permalink Normal View History

2013-09-07 10:46:05 -04:00
#ifndef NODE_H
#define NODE_H
#include "pinoutconfig.h"
#include "Arduino.h"
#include "Cipher.h"
class Node
{
public:
virtual void init();
const char* getVersion();
2017-01-25 16:08:41 -05:00
void setVersion(byte* rType, byte rFlag, byte* rVersion, const char* rCode);
2017-01-25 15:59:19 -05:00
2013-09-07 10:46:05 -04:00
virtual short processRequest(byte* request, byte* sendBuff);
2017-01-25 15:59:19 -05:00
virtual void update(); //update things like keypadstate and rfid
2013-09-07 10:46:05 -04:00
private:
2017-01-25 15:59:19 -05:00
2013-09-07 10:46:05 -04:00
char nodeVersion[0x2C];
};
#endif
2017-01-25 15:59:19 -05:00