Sming Framework API
Sming - Open Source framework for high efficiency WiFi SoC ESP8266 native development with C++ language.
Debug functions

Provides debug functions. More...

Functions

void DebugClass::initCommand ()
 Initialise debug output.
 
void DebugClass::start ()
 Start debug output.
 
void DebugClass::stop ()
 Stop debug output.
 
bool DebugClass::status ()
 Get debug status. More...
 
void DebugClass::setDebug (DebugPrintCharDelegate reqDelegate)
 Set debug handler. More...
 
void DebugClass::setDebug (Stream &reqStream)
 Set debug stream. More...
 

Detailed Description

Provides debug functions.

Debug class.

Function Documentation

void DebugClass::setDebug ( DebugPrintCharDelegate  reqDelegate)

Set debug handler.

Parameters
reqDelegateFunction to handle debug output
void DebugClass::setDebug ( Stream &  reqStream)

Set debug stream.

Parameters
reqStreamStream for debug output
bool DebugClass::status ( )

Get debug status.

Return values
boolTrue if debug enabled