ESP32_ChinaDieselHeater_Con.../Arduino/SenderTrial2/debugport.h
rljonesau b128e51880 Converted to class based Bluetooth management. HC-05 tested on ESP32.
Cannot test the inbuilt ESP32 bluetooth - we blow the FLASH size!
2018-11-01 05:57:21 +11:00

13 lines
295 B
C++

#include <Arduino.h>
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);