void legacySerialHandler(byte cmd, Stream &targetPort, SerialStatus &targetStatusFlag)
Definition comms_legacy.cpp:536
bool serialTransmitInProgress(void)
Is a serial write in progress?
Definition comms_legacy.h:52
void sendValues(uint16_t offset, uint16_t packetLength, byte cmd, Stream &targetPort, SerialStatus &targetStatusFlag)
Definition comms_legacy.cpp:696
void sendCompositeLog_legacy(byte startOffset)
Definition comms_legacy.cpp:1202
void sendValuesLegacy(void)
Definition comms_legacy.cpp:763
void sendPage(void)
Definition comms_legacy.cpp:951
void sendToothLog_legacy(byte startOffset)
Definition comms_legacy.cpp:1174
void legacySerialCommand(void)
Definition comms_legacy.cpp:70
SerialStatus
The current state of serial communication.
Definition comms_legacy.h:16
@ SERIAL_TRANSMIT_INPROGRESS_LEGACY
Definition comms_legacy.h:22
@ SERIAL_INACTIVE
Definition comms_legacy.h:18
@ SERIAL_TRANSMIT_TOOTH_INPROGRESS_LEGACY
Definition comms_legacy.h:26
@ SERIAL_TRANSMIT_TOOTH_INPROGRESS
Definition comms_legacy.h:24
@ SERIAL_COMMAND_INPROGRESS_LEGACY
Definition comms_legacy.h:40
@ SERIAL_TRANSMIT_COMPOSITE_INPROGRESS_LEGACY
Definition comms_legacy.h:30
@ SERIAL_RECEIVE_INPROGRESS
Definition comms_legacy.h:38
@ SERIAL_TRANSMIT_INPROGRESS
Definition comms_legacy.h:20
@ SERIAL_TRANSMIT_COMPOSITE_INPROGRESS
Definition comms_legacy.h:28
SerialStatus serialSecondaryStatusFlag
Definition comms_legacy.cpp:40
byte inProgressLength
Definition comms_legacy.cpp:38
bool firstCommsRequest
Definition comms_legacy.cpp:31
SerialStatus serialStatusFlag
Current status of serial comms.
Definition comms_legacy.cpp:39
bool serialRecieveInProgress(void)
Is a non-blocking serial receive operation in progress?
Definition comms_legacy.h:67
void testComm(void)
Definition comms_legacy.cpp:1242
byte logItemsTransmitted
Definition comms_legacy.cpp:37
void sendPageASCII(void)
Definition comms_legacy.cpp:1060
static TIntegral readSerialIntegralTimeout(void)
Reads an integral type, timing out if necessary.
Definition comms.cpp:175