ESP32_ChinaDieselHeater_Con.../Arduino/SenderTrial2/debugport.h
rljonesau a156062a94 Removed String vars - rumours of heap fragmentation causing long term issues
Report data frames within BT functions.
Improved command decode reporting
2018-10-20 22:28:32 +11:00

12 lines
275 B
C++

class CProtocol;
#if defined(__arm__)
// Typically Arduino Due
static UARTClass& DebugPort(Serial);
#else
static HardwareSerial& DebugPort(Serial); // reference Serial as DebugPort
#endif
void DebugReportFrame(const char* hdr, const CProtocol& Frame, const char* ftr);