Try and make the network protocol closer to that of a Quantar.

This commit is contained in:
Jonathan Naylor
2016-09-29 18:47:36 +01:00
parent 897d8c7d92
commit dd73ccb578
3 changed files with 41 additions and 57 deletions

View File

@@ -37,14 +37,12 @@ public:
void enable(bool enabled);
bool writeHeader(const CP25Data& control);
bool writeHeader();
bool writeLDU1(const unsigned char* ldu1, const CP25Data& control, const CP25LowSpeedData& lsd, bool end);
bool writeLDU2(const unsigned char* ldu2, const CP25Data& control, const CP25LowSpeedData& lsd, bool end);
bool writeTerminator();
unsigned int read(unsigned char* data, unsigned int length);
void close();