2.74
Fork of ExperimentServer by
Diff: ExperimentServer.h
- Revision:
- 10:47927a20c04d
- Parent:
- 7:405d66abdedf
--- a/ExperimentServer.h Mon Sep 14 14:28:07 2015 +0000 +++ b/ExperimentServer.h Mon Sep 25 19:33:17 2017 +0000 @@ -26,7 +26,7 @@ * * @param terminal Serial terminal to be used for debugging messages */ - void attachTerminal( Serial & terminal); + void attachTerminal( RawSerial & terminal); /** * Initialize the server. @@ -92,7 +92,7 @@ EthernetInterface _eth; // Low level ethernet object Endpoint _client; // Stores client connected to server UDPSocket _server; // Low level UDP server object - Serial * _terminal; // Pointer to attached terminal for debugging + RawSerial * _terminal; // Pointer to attached terminal for debugging float _buffer[_MAX_BUFFER_SIZE]; // Buffer for batch data storage before sending int _data_cnt; // Current occupied length of the buffer