EnOcean Link  1.14.0.0
Middleware to Connect EnOcean easily to other Projects
eoDebug Class Reference

helper class for Debug Messages More...

#include <eoDebug.h>

Static Public Member Functions

static void Print (const eoTelegramERP2 &tel)
 
static void Print (const eoTelegram &tel)
 
static void Print (const eoMessage &msg)
 
static void Print (const eoReManMessage &reMsg)
 
static void Print (const eoPacket &packet)
 
static void Print (const eoMaintenanceMessage &msg)
 
static void Print (eoProfile &profile)
 
static void Print (const eoDevice &dev)
 
static std::string ToJson (eoProfile &profile)
 Helper function, which generates a JSON of the current values of a profile. More...
 
static std::string ToJson (eoProfile &profile, uint32_t id, int8_t rssi)
 
static std::string ToJson (const eoTelegram &telegram)
 

Detailed Description

helper class for Debug Messages

Member Function Documentation

◆ Print() [1/8]

static void eoDebug::Print ( const eoTelegramERP2 tel)
static

◆ Print() [2/8]

static void eoDebug::Print ( const eoTelegram tel)
static

Helper class, which prints debug Information for the Telegram to the console

Parameters
telTelegram

◆ Print() [3/8]

static void eoDebug::Print ( const eoMessage msg)
static

Helper class, which prints debug Information for the Message to the console

Parameters
msgeoMessage

◆ Print() [4/8]

static void eoDebug::Print ( const eoReManMessage reMsg)
static

Helper class, which prints debug Information for the eoReManMessage to the console

Parameters
reMsgeoReManMessage

◆ Print() [5/8]

static void eoDebug::Print ( const eoPacket packet)
static

Helper class, which prints debug Information from the Packet

Parameters
packetPacket

◆ Print() [6/8]

static void eoDebug::Print ( const eoMaintenanceMessage msg)
static

Helper function, which prints debug Information from a maintenance Message

Parameters
packetMessage to print

◆ Print() [7/8]

static void eoDebug::Print ( eoProfile profile)
static

Helper function, which prints all current Value of a profile

Parameters
profileto print

◆ Print() [8/8]

static void eoDebug::Print ( const eoDevice dev)
static

Helper function, which prints info about a device

Parameters
deviceto print

◆ ToJson()

static std::string eoDebug::ToJson ( eoProfile profile)
static

Helper function, which generates a JSON of the current values of a profile.

The output will have the following format {"Channel name": value, "Channel name2": value2,....}

Parameters
profileto print