MySensors Library & Examples  2.3.2-36-g2e00bf6
MyOTALogging.h
Go to the documentation of this file.
1 /*
2  * The MySensors Arduino library handles the wireless radio link and protocol
3  * between your home built sensors/actuators and HA controller of choice.
4  * The sensors forms a self healing radio network with optional repeaters. Each
5  * repeater and gateway builds a routing tables in EEPROM which keeps track of the
6  * network topology allowing messages to be routed to nodes.
7  *
8  * Created by Henrik Ekblad <[email protected]>
9  * Copyright (C) 2013-2020 Sensnology AB
10  * Full contributor list: https://github.com/mysensors/MySensors/graphs/contributors
11  *
12  * Documentation: http://www.mysensors.org
13  * Support Forum: http://forum.mysensors.org
14  *
15  * This program is free software; you can redistribute it and/or
16  * modify it under the terms of the GNU General Public License
17  * version 2 as published by the Free Software Foundation.
18  */
19 
30 #ifndef MyOTALogging_h
31 #define MyOTALogging_h
32 
33 #include "MySensorsCore.h"
34 #include "MyTransport.h"
35 
54 void OTALog(uint8_t logNode, bool echo, const char *fmt, ... );
55 
69 inline void OTALogPrint(const MyMessage &message);
70 
71 #endif /* MyOTALogging_h */
72 
MyTransport.h
MySensorsCore.h
OTALog
void OTALog(uint8_t logNode, bool echo, const char *fmt,...)
Send a log message to a node.
OTALogPrint
void OTALogPrint(const MyMessage &message)
Handles output of OTA log or debug messages.
MyMessage
MyMessage is used to create, manipulate, send and read MySensors messages.
Definition: MyMessage.h:289