Skip to content

MiPDebug

github-actions[bot] edited this page Aug 10, 2026 · 9 revisions

Class MiPDebug

Public Members & Functions

PROFILER

Signature: const uint8_t PROFILER


VERBOSE

Signature: const uint8_t VERBOSE


DEBUG

Signature: const uint8_t DEBUG


INFO

Signature: const uint8_t INFO


WARNING

Signature: const uint8_t WARNING


ERROR

Signature: const uint8_t ERROR


ANY

Signature: const uint8_t ANY


m_hostname

Signature: String m_hostname


m_connected

Signature: bool m_connected


m_clientDebugLevel

Signature: uint8_t m_clientDebugLevel


m_lastDebugLevel

Signature: uint8_t m_lastDebugLevel


m_lastTimePrint

Signature: uint32_t m_lastTimePrint


m_levelBeforeProfiler

Signature: uint8_t m_levelBeforeProfiler


m_levelProfilerDisable

Signature: uint32_t m_levelProfilerDisable


m_autoLevelProfiler

Signature: uint32_t m_autoLevelProfiler


m_showTime

Signature: bool m_showTime


m_showProfiler

Signature: bool m_showProfiler


m_minTimeShowProfiler

Signature: uint32_t m_minTimeShowProfiler


m_showDebugLevel

Signature: bool m_showDebugLevel


m_showColors

Signature: bool m_showColors


m_serialEnabled

Signature: bool m_serialEnabled


m_resetCommandEnabled

Signature: bool m_resetCommandEnabled


m_newLine

Signature: bool m_newLine


m_command

Signature: String m_command


m_lastCommand

Signature: String m_lastCommand


m_lastTimeCommand

Signature: uint32_t m_lastTimeCommand


m_helpProjectCmds

Signature: String m_helpProjectCmds


m_callbackProjectCmds

Signature: void(* m_callbackProjectCmds)()


m_filter

Signature: String m_filter


m_filterActive

Signature: bool m_filterActive


m_bufferPrint

Signature: String m_bufferPrint


begin

Signature: void begin(String hostname, uint8_t startingDebugLevel=VERBOSE)


stop

Signature: void stop()


handle

Signature: void handle()


setSerialEnabled

Signature: void setSerialEnabled(bool enable)


setResetCmdEnabled

Signature: void setResetCmdEnabled(bool enable)


setHelpProjectsCmds

Signature: void setHelpProjectsCmds(String help)


setCallBackProjectCmds

Signature: void setCallBackProjectCmds(void(*callback)())


getLastCommand

Signature: String getLastCommand()


clearLastCommand

Signature: void clearLastCommand()


showTime

Signature: void showTime(bool show)


showProfiler

Signature: void showProfiler(bool show, uint32_t minTime=0)


showDebugLevel

Signature: void showDebugLevel(bool show)


showColors

Signature: void showColors(bool show)


autoProfilerLevel

Signature: void autoProfilerLevel(uint32_t millisElapsed)


setFilter

Signature: void setFilter(String filter)


setNoFilter

Signature: void setNoFilter()


isActive

Signature: bool isActive(uint8_t debugLevel=DEBUG)


write

Signature: size_t write(uint8_t)


write

Signature: size_t write(const uint8_t *buffer, size_t size)


expand

Signature: String expand(String string)


showHelp

Signature: void showHelp()


processCommand

Signature: void processCommand()


formatNumber

Signature: String formatNumber(uint32_t value, uint8_t size, char insert='0')


isCRLF

Signature: bool isCRLF(char character)


Clone this wiki locally