void legacySerialHandler(byte cmd, Stream &targetPort, SerialStatus &targetStatusFlag)
Definition comms_legacy.cpp:527
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:695
void sendCompositeLog_legacy(byte startOffset)
Definition comms_legacy.cpp:1297
void sendValuesLegacy(void)
Definition comms_legacy.cpp:766
void sendPage(void)
Definition comms_legacy.cpp:955
void sendToothLog_legacy(byte startOffset)
Definition comms_legacy.cpp:1269
void legacySerialCommand(void)
Definition comms_legacy.cpp:57
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:37
void receiveCalibration(byte tableID)
Definition comms_legacy.cpp:1180
byte inProgressLength
Definition comms_legacy.cpp:35
bool firstCommsRequest
Definition comms_legacy.cpp:28
SerialStatus serialStatusFlag
Current status of serial comms.
Definition comms_legacy.cpp:36
bool serialRecieveInProgress(void)
Is a non-blocking serial receive operation in progress?
Definition comms_legacy.h:67
void testComm(void)
Definition comms_legacy.cpp:1337
byte logItemsTransmitted
Definition comms_legacy.cpp:34
void sendPageASCII(void)
Definition comms_legacy.cpp:1065
static uint32_t rshift(uint32_t a)
Bitwise right shift - generic, unoptimized, case.
Definition bit_shifts.h:349