From 75117eddb0ae32961754c6f72afc939cec114d47 Mon Sep 17 00:00:00 2001 From: mikee47 Date: Mon, 18 Feb 2019 18:25:36 +0000 Subject: [PATCH] Ensure all core code has standard header and consistent guard naming. Comment headers in the following files have been left due to potential license conflict: SmingCore/Wire.h SmingCore/twi.h SmingCore/core_esp82666_si2c.cpp SmingCore/Wire.cpp SmingCore/DateTime.cpp SmingCore/DateTime.h SmingCore/SPISoft.cpp SmingCore/SPISoft.h system/esp-lwip/lwip/* system/include/espinc/* system/irq_checks.s system/xt_interrupts.cpp system/include/m_printf.h system/include/m_printf.cpp system/crash_handler.c system/esp_cplusplus.cpp system/uart.cpp --- Sming/SmingCore/ArduinoCompat.cpp | 2 +- Sming/SmingCore/ArduinoCompat.h | 8 ++--- Sming/SmingCore/AtClient.cpp | 10 ++++-- Sming/SmingCore/AtClient.h | 3 ++ Sming/SmingCore/Clock.cpp | 3 ++ Sming/SmingCore/Clock.h | 4 +++ Sming/SmingCore/Data/CStringArray.cpp | 2 ++ Sming/SmingCore/Data/CStringArray.h | 8 +++-- Sming/SmingCore/Data/CircularBuffer.cpp | 2 ++ Sming/SmingCore/Data/CircularBuffer.h | 2 ++ Sming/SmingCore/Data/HexString.cpp | 2 ++ Sming/SmingCore/Data/HexString.h | 9 +++--- Sming/SmingCore/Data/MailMessage.cpp | 2 ++ Sming/SmingCore/Data/MailMessage.h | 15 ++++----- Sming/SmingCore/Data/ObjectQueue.h | 2 ++ .../Data/Stream/Base64OutputStream.cpp | 2 ++ .../Data/Stream/Base64OutputStream.h | 8 +++-- Sming/SmingCore/Data/Stream/ChunkedStream.cpp | 2 ++ Sming/SmingCore/Data/Stream/ChunkedStream.h | 8 +++-- .../Data/Stream/DataSourceStream.cpp | 3 ++ .../SmingCore/Data/Stream/DataSourceStream.h | 9 ++++-- .../Data/Stream/EndlessMemoryStream.cpp | 3 ++ .../Data/Stream/EndlessMemoryStream.h | 9 ++++-- Sming/SmingCore/Data/Stream/FileStream.cpp | 3 ++ Sming/SmingCore/Data/Stream/FileStream.h | 3 ++ .../Data/Stream/FlashMemoryStream.cpp | 2 ++ .../SmingCore/Data/Stream/FlashMemoryStream.h | 8 +++-- .../Data/Stream/JsonObjectStream.cpp | 3 ++ .../SmingCore/Data/Stream/JsonObjectStream.h | 9 ++++-- .../Data/Stream/LimitedMemoryStream.cpp | 3 ++ .../Data/Stream/LimitedMemoryStream.h | 9 ++++-- .../Data/Stream/MemoryDataStream.cpp | 5 +-- .../SmingCore/Data/Stream/MemoryDataStream.h | 9 ++++-- Sming/SmingCore/Data/Stream/MultiStream.cpp | 2 ++ Sming/SmingCore/Data/Stream/MultiStream.h | 16 +++++++--- .../SmingCore/Data/Stream/MultipartStream.cpp | 2 ++ Sming/SmingCore/Data/Stream/MultipartStream.h | 8 +++-- .../Stream/QuotedPrintableOutputStream.cpp | 2 ++ .../Data/Stream/QuotedPrintableOutputStream.h | 8 +++-- Sming/SmingCore/Data/Stream/ReadWriteStream.h | 9 ++++-- Sming/SmingCore/Data/Stream/StreamChain.h | 10 +++--- .../Data/Stream/TemplateFileStream.h | 9 ++++-- .../Data/Stream/TemplateFlashMemoryStream.h | 8 +++-- .../SmingCore/Data/Stream/TemplateStream.cpp | 3 ++ Sming/SmingCore/Data/Stream/TemplateStream.h | 9 ++++-- .../Data/Stream/UrlencodedOutputStream.cpp | 2 ++ .../Data/Stream/UrlencodedOutputStream.h | 2 ++ Sming/SmingCore/Data/StreamTransformer.cpp | 2 ++ Sming/SmingCore/Data/StreamTransformer.h | 8 +++-- Sming/SmingCore/Debug.cpp | 9 ++++-- Sming/SmingCore/Debug.h | 15 ++++++--- Sming/SmingCore/Delegate.h | 9 ++++-- Sming/SmingCore/Digital.cpp | 7 +++-- Sming/SmingCore/Digital.h | 10 ++++-- Sming/SmingCore/ESP8266EX.cpp | 3 ++ Sming/SmingCore/ESP8266EX.h | 3 ++ Sming/SmingCore/FileSystem.cpp | 5 ++- Sming/SmingCore/FileSystem.h | 11 ++++--- Sming/SmingCore/HardwarePWM.cpp | 11 +++++-- Sming/SmingCore/HardwarePWM.h | 20 ++++++++---- Sming/SmingCore/HardwareSerial.cpp | 7 +++-- Sming/SmingCore/HardwareSerial.h | 9 ++++-- Sming/SmingCore/HardwareTimer.cpp | 11 ++++--- Sming/SmingCore/HardwareTimer.h | 11 ++++--- Sming/SmingCore/Interrupts.cpp | 3 ++ Sming/SmingCore/Interrupts.h | 3 ++ Sming/SmingCore/Network/DNSServer.cpp | 6 +++- Sming/SmingCore/Network/DNSServer.h | 16 ++++++---- Sming/SmingCore/Network/FTPServer.cpp | 3 ++ Sming/SmingCore/Network/FTPServer.h | 9 ++++-- .../SmingCore/Network/FTPServerConnection.cpp | 10 ++++++ Sming/SmingCore/Network/FTPServerConnection.h | 16 ++++++++-- .../SmingCore/Network/Http/HttpBodyParser.cpp | 2 +- Sming/SmingCore/Network/Http/HttpBodyParser.h | 8 ++--- Sming/SmingCore/Network/Http/HttpCommon.cpp | 2 ++ Sming/SmingCore/Network/Http/HttpCommon.h | 10 +++--- .../SmingCore/Network/Http/HttpConnection.cpp | 4 +-- Sming/SmingCore/Network/Http/HttpConnection.h | 10 +++--- .../Network/Http/HttpConnectionBase.cpp | 4 +-- .../Network/Http/HttpConnectionBase.h | 10 +++--- Sming/SmingCore/Network/Http/HttpHeaders.cpp | 2 ++ Sming/SmingCore/Network/Http/HttpHeaders.h | 8 +++-- Sming/SmingCore/Network/Http/HttpParams.cpp | 2 ++ Sming/SmingCore/Network/Http/HttpParams.h | 8 +++-- Sming/SmingCore/Network/Http/HttpRequest.cpp | 4 +-- Sming/SmingCore/Network/Http/HttpRequest.h | 10 +++--- .../Network/Http/HttpRequestAuth.cpp | 4 +-- .../SmingCore/Network/Http/HttpRequestAuth.h | 10 +++--- Sming/SmingCore/Network/Http/HttpResource.h | 10 +++--- Sming/SmingCore/Network/Http/HttpResponse.cpp | 4 +-- Sming/SmingCore/Network/Http/HttpResponse.h | 10 +++--- .../Network/Http/HttpServerConnection.cpp | 2 +- .../Network/Http/HttpServerConnection.h | 8 ++--- .../Http/Websocket/WebsocketConnection.cpp | 3 ++ .../Http/Websocket/WebsocketConnection.h | 9 ++++-- .../Http/Websocket/WebsocketResource.cpp | 4 ++- .../Http/Websocket/WebsocketResource.h | 10 +++--- .../Http/Websocket/WsCommandHandlerResource.h | 10 +++--- Sming/SmingCore/Network/HttpClient.cpp | 2 +- Sming/SmingCore/Network/HttpClient.h | 8 ++--- Sming/SmingCore/Network/HttpServer.cpp | 2 +- Sming/SmingCore/Network/HttpServer.h | 8 ++--- .../Network/Mqtt/MqttPayloadParser.cpp | 2 ++ .../Network/Mqtt/MqttPayloadParser.h | 8 +++-- Sming/SmingCore/Network/MqttClient.cpp | 3 ++ Sming/SmingCore/Network/MqttClient.h | 9 ++++-- Sming/SmingCore/Network/NetUtils.cpp | 3 ++ Sming/SmingCore/Network/NetUtils.h | 9 ++++-- Sming/SmingCore/Network/NtpClient.cpp | 2 ++ Sming/SmingCore/Network/NtpClient.h | 8 +++-- Sming/SmingCore/Network/SmtpClient.cpp | 2 +- Sming/SmingCore/Network/SmtpClient.h | 10 ++++-- .../SmingCore/Network/Ssl/SslFingerprints.cpp | 3 ++ Sming/SmingCore/Network/Ssl/SslFingerprints.h | 9 ++++-- Sming/SmingCore/Network/Ssl/SslKeyCertPair.h | 9 ++++-- Sming/SmingCore/Network/Ssl/SslSessionId.h | 9 ++++-- Sming/SmingCore/Network/Ssl/SslStructs.h | 9 ++++-- Sming/SmingCore/Network/Ssl/SslValidator.cpp | 2 ++ Sming/SmingCore/Network/Ssl/SslValidator.h | 8 +++-- Sming/SmingCore/Network/TcpClient.cpp | 3 ++ Sming/SmingCore/Network/TcpClient.h | 9 ++++-- Sming/SmingCore/Network/TcpConnection.cpp | 3 ++ Sming/SmingCore/Network/TcpConnection.h | 9 ++++-- Sming/SmingCore/Network/TcpServer.cpp | 3 ++ Sming/SmingCore/Network/TcpServer.h | 9 ++++-- Sming/SmingCore/Network/TelnetServer.cpp | 12 +++++-- Sming/SmingCore/Network/TelnetServer.h | 18 +++++++---- Sming/SmingCore/Network/URL.cpp | 7 +++-- Sming/SmingCore/Network/URL.h | 5 ++- Sming/SmingCore/Network/UdpConnection.cpp | 3 ++ Sming/SmingCore/Network/UdpConnection.h | 9 ++++-- Sming/SmingCore/Network/WebConstants.cpp | 3 ++ Sming/SmingCore/Network/WebConstants.h | 9 ++++-- Sming/SmingCore/Network/WebsocketClient.cpp | 4 +-- Sming/SmingCore/Network/WebsocketClient.h | 10 +++--- Sming/SmingCore/Network/rBootHttpUpdate.cpp | 8 ++++- Sming/SmingCore/Network/rBootHttpUpdate.h | 16 +++++++--- Sming/SmingCore/Platform/AccessPoint.cpp | 3 ++ Sming/SmingCore/Platform/AccessPoint.h | 9 ++++-- Sming/SmingCore/Platform/RTC.cpp | 12 ++++++- Sming/SmingCore/Platform/RTC.h | 16 ++++++++-- Sming/SmingCore/Platform/Station.cpp | 3 ++ Sming/SmingCore/Platform/Station.h | 9 ++++-- Sming/SmingCore/Platform/System.cpp | 3 ++ Sming/SmingCore/Platform/System.h | 8 +++-- Sming/SmingCore/Platform/WDT.cpp | 8 ++++- Sming/SmingCore/Platform/WDT.h | 17 +++++++--- Sming/SmingCore/Platform/WifiEvents.cpp | 7 ++++- Sming/SmingCore/Platform/WifiEvents.h | 16 +++++++--- Sming/SmingCore/SPI.cpp | 4 +-- Sming/SmingCore/SPI.h | 4 ++- Sming/SmingCore/SPIBase.h | 7 +++-- Sming/SmingCore/SPISettings.h | 11 +++++-- Sming/SmingCore/SPISoft.h | 7 +++-- Sming/SmingCore/SimpleTimer.h | 7 +++-- Sming/SmingCore/SmingCore.h | 5 ++- Sming/SmingCore/SmingLocale.h | 31 ++++++++++++------- Sming/SmingCore/SystemClock.cpp | 3 ++ Sming/SmingCore/SystemClock.h | 9 ++++-- Sming/SmingCore/Timer.cpp | 3 ++ Sming/SmingCore/Timer.h | 3 ++ Sming/SmingCore/Wire.h | 6 ++-- Sming/SmingCore/pgmspace.h | 12 ++++++- Sming/SmingCore/pins_arduino.h | 9 ++++-- Sming/SmingCore/twi.h | 10 +++--- Sming/system/flashmem.c | 2 ++ Sming/system/include/SerialBuffer.h | 8 +++-- Sming/system/include/debug_progmem.h | 17 +++++++--- Sming/system/include/esp_cplusplus.h | 16 ++++++++-- Sming/system/include/esp_systemapi.h | 20 +++++++++--- .../include/espinc/c_types_compatible.h | 6 ++-- Sming/system/include/espinc/lwip_includes.h | 8 ++--- Sming/system/include/espinc/peri.h | 6 ++-- Sming/system/include/espinc/spi_register.h | 7 +++-- Sming/system/include/espinc/uart_register.h | 8 +++-- Sming/system/include/flashmem.h | 6 ++-- Sming/system/include/mem_manager.h | 20 +++++++++--- Sming/system/include/rboot-integration.h | 16 ++++++++-- Sming/system/include/stringconversion.h | 18 +++++++---- Sming/system/include/stringutil.h | 16 +++++++--- Sming/system/stringconversion.cpp | 10 ++++++ Sming/system/stringutil.cpp | 8 ++++- Sming/system/uart.cpp | 4 +++ 183 files changed, 945 insertions(+), 405 deletions(-) diff --git a/Sming/SmingCore/ArduinoCompat.cpp b/Sming/SmingCore/ArduinoCompat.cpp index 9af706db18..2ab76b5e6a 100644 --- a/Sming/SmingCore/ArduinoCompat.cpp +++ b/Sming/SmingCore/ArduinoCompat.cpp @@ -4,7 +4,7 @@ * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. * - * Arduino Compatibility Layer + * ArduinoCompact.cpp - Arduino Compatibility Layer * * @author: 2017 - Slavey Karadzhov * diff --git a/Sming/SmingCore/ArduinoCompat.h b/Sming/SmingCore/ArduinoCompat.h index c7f5ba60b2..c3edd701c3 100644 --- a/Sming/SmingCore/ArduinoCompat.h +++ b/Sming/SmingCore/ArduinoCompat.h @@ -4,14 +4,14 @@ * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. * - * Arduino Compatibility Layer + * ArduinoCompat.h - Arduino Compatibility Layer * * @author: 2017 - Slavey Karadzhov * ****/ -#ifndef SMINGCORE_ARDUINOCOMPAT_H_ -#define SMINGCORE_ARDUINOCOMPAT_H_ +#ifndef _SMING_CORE_ARDUINO_COMPAT_H_ +#define _SMING_CORE_ARDUINO_COMPAT_H_ #include "SmingCore.h" #include ///< sprintf() @@ -29,4 +29,4 @@ void yield(); } #endif -#endif /* SMINGCORE_ARDUINOCOMPAT_H_ */ +#endif /* _SMING_CORE_ARDUINO_COMPAT_H_ */ diff --git a/Sming/SmingCore/AtClient.cpp b/Sming/SmingCore/AtClient.cpp index 29d0806b32..faecea478a 100644 --- a/Sming/SmingCore/AtClient.cpp +++ b/Sming/SmingCore/AtClient.cpp @@ -1,9 +1,15 @@ -/* +/**** + * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development. + * Created 2015 by Skurydin Alexey + * http://github.com/anakod/Sming + * All files of the Sming Core are provided under the LGPL v3 license. + * * AtClient.cpp * * Created on: Feb 23, 2017 * Author: slavey - */ + * + ****/ #include "AtClient.h" #include "Clock.h" diff --git a/Sming/SmingCore/AtClient.h b/Sming/SmingCore/AtClient.h index c0448e6a53..97a31ba025 100644 --- a/Sming/SmingCore/AtClient.h +++ b/Sming/SmingCore/AtClient.h @@ -3,6 +3,9 @@ * Created 2017 by Slavey Karadzhov * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. + * + * AtClient.h + * ****/ /** @defgroup serial AtCommand serial diff --git a/Sming/SmingCore/Clock.cpp b/Sming/SmingCore/Clock.cpp index 2384c50378..ac9452e0b8 100644 --- a/Sming/SmingCore/Clock.cpp +++ b/Sming/SmingCore/Clock.cpp @@ -3,6 +3,9 @@ * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. + * + * Clock.cpp + * ****/ #include "Clock.h" diff --git a/Sming/SmingCore/Clock.h b/Sming/SmingCore/Clock.h index 6cd054aa82..26d68752ff 100644 --- a/Sming/SmingCore/Clock.h +++ b/Sming/SmingCore/Clock.h @@ -3,7 +3,11 @@ * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. + * + * Clock.h + * ****/ + /** @defgroup timedelay Time and Delay * @brief Provides time and delay functions * @ingroup datetime diff --git a/Sming/SmingCore/Data/CStringArray.cpp b/Sming/SmingCore/Data/CStringArray.cpp index 63f07d978e..10bf503acf 100644 --- a/Sming/SmingCore/Data/CStringArray.cpp +++ b/Sming/SmingCore/Data/CStringArray.cpp @@ -4,6 +4,8 @@ * http://github.com/SmingHub/Sming * All files of the Sming Core are provided under the LGPL v3 license. * + * CStringArray.cpp + * * @author: 2018 - Mikee47 * ****/ diff --git a/Sming/SmingCore/Data/CStringArray.h b/Sming/SmingCore/Data/CStringArray.h index 6e7d19888e..862a537544 100644 --- a/Sming/SmingCore/Data/CStringArray.h +++ b/Sming/SmingCore/Data/CStringArray.h @@ -4,12 +4,14 @@ * http://github.com/SmingHub/Sming * All files of the Sming Core are provided under the LGPL v3 license. * + * CStringArray.h + * * @author: 2018 - Mikee47 * ****/ -#ifndef _SMING_CORE_DATA_STRING_ARRAY_H_ -#define _SMING_CORE_DATA_STRING_ARRAY_H_ +#ifndef _SMING_CORE_DATA_C_STRING_ARRAY_H_ +#define _SMING_CORE_DATA_C_STRING_ARRAY_H_ #include "WString.h" @@ -119,4 +121,4 @@ class CStringArray : protected String mutable unsigned stringCount = 0; }; -#endif // _SMING_CORE_DATA_STRING_ARRAY_H_ +#endif // _SMING_CORE_DATA_C_STRING_ARRAY_H_ diff --git a/Sming/SmingCore/Data/CircularBuffer.cpp b/Sming/SmingCore/Data/CircularBuffer.cpp index a4b9c3c14b..6f0a221384 100644 --- a/Sming/SmingCore/Data/CircularBuffer.cpp +++ b/Sming/SmingCore/Data/CircularBuffer.cpp @@ -4,6 +4,8 @@ * http://github.com/SmingHub/Sming * All files of the Sming Core are provided under the LGPL v3 license. * + * CircularBuffer.cpp + * * Initial code done by Ivan Grokhotkov as part of the esp8266 core for Arduino environment. * https://github.com/esp8266/Arduino/blob/master/cores/esp8266/cbuf.h * diff --git a/Sming/SmingCore/Data/CircularBuffer.h b/Sming/SmingCore/Data/CircularBuffer.h index 4a5af9d1b3..4dd499f4e5 100644 --- a/Sming/SmingCore/Data/CircularBuffer.h +++ b/Sming/SmingCore/Data/CircularBuffer.h @@ -4,6 +4,8 @@ * http://github.com/SmingHub/Sming * All files of the Sming Core are provided under the LGPL v3 license. * + * CircularBuffer.h + * * Initial code done by Ivan Grokhotkov as part of the esp8266 core for Arduino environment. * https://github.com/esp8266/Arduino/blob/master/cores/esp8266/cbuf.h * diff --git a/Sming/SmingCore/Data/HexString.cpp b/Sming/SmingCore/Data/HexString.cpp index fd20b5cbdc..c7862b6d54 100644 --- a/Sming/SmingCore/Data/HexString.cpp +++ b/Sming/SmingCore/Data/HexString.cpp @@ -4,6 +4,8 @@ * http://github.com/SmingHub/Sming * All files of the Sming Core are provided under the LGPL v3 license. * + * HexString.cpp + * */ #include "HexString.h" diff --git a/Sming/SmingCore/Data/HexString.h b/Sming/SmingCore/Data/HexString.h index 4b60a73f8c..c90a6c8c6d 100644 --- a/Sming/SmingCore/Data/HexString.h +++ b/Sming/SmingCore/Data/HexString.h @@ -4,13 +4,14 @@ * http://github.com/SmingHub/Sming * All files of the Sming Core are provided under the LGPL v3 license. * + * HexString.h - Utility functions to deal with hex-encoded strings + * * @author: 2018 - Mikee47 * - * Utility functions to deal with hex-encoded strings */ -#ifndef _HEX_STRING_H_ -#define _HEX_STRING_H_ +#ifndef _SMING_CORE_DATA_HEX_STRING_H_ +#define _SMING_CORE_DATA_HEX_STRING_H_ #include "WString.h" @@ -22,4 +23,4 @@ */ String makeHexString(const uint8_t* data, unsigned length, char separator = '\0'); -#endif // _HEX_STRING_H_ +#endif /* _SMING_CORE_DATA_HEX_STRING_H_ */ diff --git a/Sming/SmingCore/Data/MailMessage.cpp b/Sming/SmingCore/Data/MailMessage.cpp index b521358407..c3dc5e0242 100644 --- a/Sming/SmingCore/Data/MailMessage.cpp +++ b/Sming/SmingCore/Data/MailMessage.cpp @@ -4,6 +4,8 @@ * http://github.com/SmingHub/Sming * All files of the Sming Core are provided under the LGPL v3 license. * + * MailMessage.cpp + * * @author Slavey Karadzhov * ****/ diff --git a/Sming/SmingCore/Data/MailMessage.h b/Sming/SmingCore/Data/MailMessage.h index 905214fdf0..665c432576 100644 --- a/Sming/SmingCore/Data/MailMessage.h +++ b/Sming/SmingCore/Data/MailMessage.h @@ -4,6 +4,8 @@ * http://github.com/SmingHub/Sming * All files of the Sming Core are provided under the LGPL v3 license. * + * MailMessage.h + * * @author Slavey Karadzhov * ****/ @@ -14,13 +16,12 @@ * @{ */ -#ifndef _SMING_CORE_DATA_MESSAGE_H_ -#define _SMING_CORE_DATA_MESSAGE_H_ - -#include "../../Wiring/WString.h" -#include "../../Wiring/WVector.h" -#include "../Network/WebConstants.h" +#ifndef _SMING_CORE_DATA_MAIL_MESSAGE_H_ +#define _SMING_CORE_DATA_MAIL_MESSAGE_H_ +#include "WString.h" +#include "WVector.h" +#include "Network/WebConstants.h" #include "Network/Http/HttpHeaders.h" #include "Stream/MultipartStream.h" #include "Stream/DataSourceStream.h" @@ -78,4 +79,4 @@ class MailMessage }; /** @} */ -#endif /* _SMING_CORE_DATA_MESSAGE_H_ */ +#endif /* _SMING_CORE_DATA_MAIL_MESSAGE_H_ */ diff --git a/Sming/SmingCore/Data/ObjectQueue.h b/Sming/SmingCore/Data/ObjectQueue.h index b2f9309b46..5102c0012d 100644 --- a/Sming/SmingCore/Data/ObjectQueue.h +++ b/Sming/SmingCore/Data/ObjectQueue.h @@ -4,6 +4,8 @@ * http://github.com/SmingHub/Sming * All files of the Sming Core are provided under the LGPL v3 license. * + * ObjectQueue.h + * * @author Slavey Karadzhov * * @author: 12 Aug 2018 - Mikee47 diff --git a/Sming/SmingCore/Data/Stream/Base64OutputStream.cpp b/Sming/SmingCore/Data/Stream/Base64OutputStream.cpp index e436195b2e..dbe3df1c38 100644 --- a/Sming/SmingCore/Data/Stream/Base64OutputStream.cpp +++ b/Sming/SmingCore/Data/Stream/Base64OutputStream.cpp @@ -4,6 +4,8 @@ * http://github.com/SmingHub/Sming * All files of the Sming Core are provided under the LGPL v3 license. * + * Base64OutputStream.cpp + * * @author Slavey Karadzhov * ****/ diff --git a/Sming/SmingCore/Data/Stream/Base64OutputStream.h b/Sming/SmingCore/Data/Stream/Base64OutputStream.h index 9b3932d9f6..796e2b7749 100644 --- a/Sming/SmingCore/Data/Stream/Base64OutputStream.h +++ b/Sming/SmingCore/Data/Stream/Base64OutputStream.h @@ -4,12 +4,14 @@ * http://github.com/SmingHub/Sming * All files of the Sming Core are provided under the LGPL v3 license. * + * Base64OutputStream.h + * * @author Slavey Karadzhov * ****/ -#ifndef _SMING_CORE_DATA_BASE64_OUTPUT_STREAM_H_ -#define _SMING_CORE_DATA_BASE64_OUTPUT_STREAM_H_ +#ifndef _SMING_CORE_DATA_STREAM_BASE64_OUTPUT_STREAM_H_ +#define _SMING_CORE_DATA_STREAM_BASE64_OUTPUT_STREAM_H_ #include "../StreamTransformer.h" #include "../Services/libb64/cencode.h" @@ -49,4 +51,4 @@ class Base64OutputStream : public StreamTransformer }; /** @} */ -#endif /* _SMING_CORE_DATA_BASE64_OUTPUT_STREAM_H_ */ +#endif /* _SMING_CORE_DATA_STREAM_BASE64_OUTPUT_STREAM_H_ */ diff --git a/Sming/SmingCore/Data/Stream/ChunkedStream.cpp b/Sming/SmingCore/Data/Stream/ChunkedStream.cpp index 27edcf6da0..be8df057d3 100644 --- a/Sming/SmingCore/Data/Stream/ChunkedStream.cpp +++ b/Sming/SmingCore/Data/Stream/ChunkedStream.cpp @@ -4,6 +4,8 @@ * http://github.com/SmingHub/Sming * All files of the Sming Core are provided under the LGPL v3 license. * + * ChunkedStream.cpp + * * @author Slavey Karadzhov * ****/ diff --git a/Sming/SmingCore/Data/Stream/ChunkedStream.h b/Sming/SmingCore/Data/Stream/ChunkedStream.h index 9f7211b291..1d43ae98ca 100644 --- a/Sming/SmingCore/Data/Stream/ChunkedStream.h +++ b/Sming/SmingCore/Data/Stream/ChunkedStream.h @@ -4,12 +4,14 @@ * http://github.com/SmingHub/Sming * All files of the Sming Core are provided under the LGPL v3 license. * + * ChunkedStream.h + * * @author Slavey Karadzhov * ****/ -#ifndef _SMING_CORE_DATA_CHUNKED_STREAM_H_ -#define _SMING_CORE_DATA_CHUNKED_STREAM_H_ +#ifndef _SMING_CORE_DATA_STREAM_CHUNKED_STREAM_H_ +#define _SMING_CORE_DATA_STREAM_CHUNKED_STREAM_H_ #include "../StreamTransformer.h" @@ -30,4 +32,4 @@ class ChunkedStream : public StreamTransformer }; /** @} */ -#endif /* _SMING_CORE_DATA_CHUNKED_STREAM_H_ */ +#endif /* _SMING_CORE_DATA_STREAM_CHUNKED_STREAM_H_ */ diff --git a/Sming/SmingCore/Data/Stream/DataSourceStream.cpp b/Sming/SmingCore/Data/Stream/DataSourceStream.cpp index d7417b1eaa..95df566b82 100644 --- a/Sming/SmingCore/Data/Stream/DataSourceStream.cpp +++ b/Sming/SmingCore/Data/Stream/DataSourceStream.cpp @@ -3,6 +3,9 @@ * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. + * + * DataSourceStream.cpp + * ****/ #include "DataSourceStream.h" diff --git a/Sming/SmingCore/Data/Stream/DataSourceStream.h b/Sming/SmingCore/Data/Stream/DataSourceStream.h index 67fc197210..da4f0d3b86 100644 --- a/Sming/SmingCore/Data/Stream/DataSourceStream.h +++ b/Sming/SmingCore/Data/Stream/DataSourceStream.h @@ -3,10 +3,13 @@ * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. + * + * DataSourceStream.h + * ****/ -#ifndef _SMING_CORE_DATA_DATA_SOURCE_STREAM_H_ -#define _SMING_CORE_DATA_DATA_SOURCE_STREAM_H_ +#ifndef _SMING_CORE_DATA_STREAM_DATA_SOURCE_STREAM_H_ +#define _SMING_CORE_DATA_STREAM_DATA_SOURCE_STREAM_H_ #include #include "Stream.h" @@ -141,4 +144,4 @@ class IDataSourceStream : public Stream }; /** @} */ -#endif /* _SMING_CORE_DATA_DATA_SOURCE_STREAM_H_ */ +#endif /* _SMING_CORE_DATA_STREAM_DATA_SOURCE_STREAM_H_ */ diff --git a/Sming/SmingCore/Data/Stream/EndlessMemoryStream.cpp b/Sming/SmingCore/Data/Stream/EndlessMemoryStream.cpp index bb8430efe3..3602247100 100644 --- a/Sming/SmingCore/Data/Stream/EndlessMemoryStream.cpp +++ b/Sming/SmingCore/Data/Stream/EndlessMemoryStream.cpp @@ -3,6 +3,9 @@ * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. + * + * EndlessMemoryStream.cpp + * ****/ #include "EndlessMemoryStream.h" diff --git a/Sming/SmingCore/Data/Stream/EndlessMemoryStream.h b/Sming/SmingCore/Data/Stream/EndlessMemoryStream.h index ac7f0af1a0..e32e2ee292 100644 --- a/Sming/SmingCore/Data/Stream/EndlessMemoryStream.h +++ b/Sming/SmingCore/Data/Stream/EndlessMemoryStream.h @@ -3,10 +3,13 @@ * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. + * + * EndlessMemoryStream.h + * ****/ -#ifndef _SMING_CORE_ENDLESS_MEMORY_STREAM_H_ -#define _SMING_CORE_ENDLESS_MEMORY_STREAM_H_ +#ifndef _SMING_CORE_DATA_STREAM_ENDLESS_MEMORY_STREAM_H_ +#define _SMING_CORE_DATA_STREAM_ENDLESS_MEMORY_STREAM_H_ #include "MemoryDataStream.h" @@ -59,4 +62,4 @@ class EndlessMemoryStream : public ReadWriteStream }; /** @} */ -#endif /* _SMING_CORE_ENDLESS_MEMORY_STREAM_H_ */ +#endif /* _SMING_CORE_DATA_STREAM_ENDLESS_MEMORY_STREAM_H_ */ diff --git a/Sming/SmingCore/Data/Stream/FileStream.cpp b/Sming/SmingCore/Data/Stream/FileStream.cpp index 053f3188b1..9eb0fffb31 100644 --- a/Sming/SmingCore/Data/Stream/FileStream.cpp +++ b/Sming/SmingCore/Data/Stream/FileStream.cpp @@ -3,6 +3,9 @@ * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. + * + * FileStream.cpp + * ****/ #include "FileStream.h" diff --git a/Sming/SmingCore/Data/Stream/FileStream.h b/Sming/SmingCore/Data/Stream/FileStream.h index 0225285829..cceaede41c 100644 --- a/Sming/SmingCore/Data/Stream/FileStream.h +++ b/Sming/SmingCore/Data/Stream/FileStream.h @@ -3,6 +3,9 @@ * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. + * + * FileStream.h + * ****/ #ifndef _SMING_CORE_DATA_FILE_STREAM_H_ diff --git a/Sming/SmingCore/Data/Stream/FlashMemoryStream.cpp b/Sming/SmingCore/Data/Stream/FlashMemoryStream.cpp index 93d88f4a83..b174078339 100644 --- a/Sming/SmingCore/Data/Stream/FlashMemoryStream.cpp +++ b/Sming/SmingCore/Data/Stream/FlashMemoryStream.cpp @@ -4,6 +4,8 @@ * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. * + * FlashMemoryStream.cpp + * * @author: 23 Oct 2018 - mikee47 * ****/ diff --git a/Sming/SmingCore/Data/Stream/FlashMemoryStream.h b/Sming/SmingCore/Data/Stream/FlashMemoryStream.h index 1e28822450..29a4643fee 100644 --- a/Sming/SmingCore/Data/Stream/FlashMemoryStream.h +++ b/Sming/SmingCore/Data/Stream/FlashMemoryStream.h @@ -4,12 +4,14 @@ * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. * + * FlashMemoryStream.h + * * @author: 23 Oct 2018 - mikee47 * ****/ -#ifndef _SMING_CORE_DATA_FLASH_MEMORY_STREAM_H_ -#define _SMING_CORE_DATA_FLASH_MEMORY_STREAM_H_ +#ifndef _SMING_CORE_DATA_STREAM_FLASH_MEMORY_STREAM_H_ +#define _SMING_CORE_DATA_STREAM_FLASH_MEMORY_STREAM_H_ #include "DataSourceStream.h" @@ -59,4 +61,4 @@ class FlashMemoryStream : public IDataSourceStream }; /** @} */ -#endif /* _SMING_CORE_DATA_FLASH_MEMORY_STREAM_H_ */ +#endif /* _SMING_CORE_DATA_STREAM_FLASH_MEMORY_STREAM_H_ */ diff --git a/Sming/SmingCore/Data/Stream/JsonObjectStream.cpp b/Sming/SmingCore/Data/Stream/JsonObjectStream.cpp index a4ceac1adf..c0289988a5 100644 --- a/Sming/SmingCore/Data/Stream/JsonObjectStream.cpp +++ b/Sming/SmingCore/Data/Stream/JsonObjectStream.cpp @@ -3,6 +3,9 @@ * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. + * + * JsonObjectStream.cpp + * ****/ #include "JsonObjectStream.h" diff --git a/Sming/SmingCore/Data/Stream/JsonObjectStream.h b/Sming/SmingCore/Data/Stream/JsonObjectStream.h index 0c810525d1..d890c3001e 100644 --- a/Sming/SmingCore/Data/Stream/JsonObjectStream.h +++ b/Sming/SmingCore/Data/Stream/JsonObjectStream.h @@ -3,10 +3,13 @@ * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. + * + * JsonObjectStream.h + * ****/ -#ifndef _SMING_CORE_DATA_JSON_OBJECT_STREAM_H_ -#define _SMING_CORE_DATA_JSON_OBJECT_STREAM_H_ +#ifndef _SMING_CORE_DATA_STREAM_JSON_OBJECT_STREAM_H_ +#define _SMING_CORE_DATA_STREAM_JSON_OBJECT_STREAM_H_ #include "MemoryDataStream.h" #include "../Libraries/ArduinoJson/include/ArduinoJson.h" @@ -59,4 +62,4 @@ class JsonObjectStream : public MemoryDataStream }; /** @} */ -#endif /* _SMING_CORE_DATA_JSON_OBJECT_STREAM_H_ */ +#endif /* _SMING_CORE_DATA_STREAM_JSON_OBJECT_STREAM_H_ */ diff --git a/Sming/SmingCore/Data/Stream/LimitedMemoryStream.cpp b/Sming/SmingCore/Data/Stream/LimitedMemoryStream.cpp index 816666e0ff..76dad97a5c 100644 --- a/Sming/SmingCore/Data/Stream/LimitedMemoryStream.cpp +++ b/Sming/SmingCore/Data/Stream/LimitedMemoryStream.cpp @@ -3,6 +3,9 @@ * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. + * + * LimitedMemoryStream.cpp + * ****/ #include "LimitedMemoryStream.h" diff --git a/Sming/SmingCore/Data/Stream/LimitedMemoryStream.h b/Sming/SmingCore/Data/Stream/LimitedMemoryStream.h index c6e11eb765..32d18ae996 100644 --- a/Sming/SmingCore/Data/Stream/LimitedMemoryStream.h +++ b/Sming/SmingCore/Data/Stream/LimitedMemoryStream.h @@ -3,10 +3,13 @@ * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. + * + * LimitedMemoryStream.h + * ****/ -#ifndef _SMING_CORE_DATA_LIMITED_MEMORY_STREAM_H_ -#define _SMING_CORE_DATA_LIMITED_MEMORY_STREAM_H_ +#ifndef _SMING_CORE_DATA_STREAM_LIMITED_MEMORY_STREAM_H_ +#define _SMING_CORE_DATA_STREAM_LIMITED_MEMORY_STREAM_H_ #include "ReadWriteStream.h" @@ -70,4 +73,4 @@ class LimitedMemoryStream : public ReadWriteStream }; /** @} */ -#endif /* _SMING_CORE_DATA_LIMITED_MEMORY_STREAM_H_ */ +#endif /* _SMING_CORE_DATA_STREAM_LIMITED_MEMORY_STREAM_H_ */ diff --git a/Sming/SmingCore/Data/Stream/MemoryDataStream.cpp b/Sming/SmingCore/Data/Stream/MemoryDataStream.cpp index 318ac2b606..3b667c4554 100644 --- a/Sming/SmingCore/Data/Stream/MemoryDataStream.cpp +++ b/Sming/SmingCore/Data/Stream/MemoryDataStream.cpp @@ -3,12 +3,13 @@ * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. + * + * MemoryDataStream.cpp + * ****/ #include "MemoryDataStream.h" -/* MemoryDataStream */ - size_t MemoryDataStream::write(const uint8_t* data, size_t len) { //TODO: add queued buffers without full copy diff --git a/Sming/SmingCore/Data/Stream/MemoryDataStream.h b/Sming/SmingCore/Data/Stream/MemoryDataStream.h index 57c14b01ef..a90433befa 100644 --- a/Sming/SmingCore/Data/Stream/MemoryDataStream.h +++ b/Sming/SmingCore/Data/Stream/MemoryDataStream.h @@ -3,10 +3,13 @@ * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. + * + * MemoryDataStream.h + * ****/ -#ifndef _SMING_CORE_DATA_MEMORY_DATA_STREAM_H_ -#define _SMING_CORE_DATA_MEMORY_DATA_STREAM_H_ +#ifndef _SMING_CORE_DATA_STREAM_MEMORY_DATA_STREAM_H_ +#define _SMING_CORE_DATA_STREAM_MEMORY_DATA_STREAM_H_ #include "ReadWriteStream.h" @@ -83,4 +86,4 @@ class MemoryDataStream : public ReadWriteStream }; /** @} */ -#endif /* _SMING_CORE_DATA_MEMORY_DATA_STREAM_H_ */ +#endif /* _SMING_CORE_DATA_STREAM_MEMORY_DATA_STREAM_H_ */ diff --git a/Sming/SmingCore/Data/Stream/MultiStream.cpp b/Sming/SmingCore/Data/Stream/MultiStream.cpp index 77340de922..6d08641e66 100644 --- a/Sming/SmingCore/Data/Stream/MultiStream.cpp +++ b/Sming/SmingCore/Data/Stream/MultiStream.cpp @@ -4,6 +4,8 @@ * http://github.com/SmingHub/Sming * All files of the Sming Core are provided under the LGPL v3 license. * + * MultiStream.cpp + * * @author Slavey Karadzhov * ****/ diff --git a/Sming/SmingCore/Data/Stream/MultiStream.h b/Sming/SmingCore/Data/Stream/MultiStream.h index 439b37ca8a..143b28cdf0 100644 --- a/Sming/SmingCore/Data/Stream/MultiStream.h +++ b/Sming/SmingCore/Data/Stream/MultiStream.h @@ -1,12 +1,18 @@ -/* +/**** + * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development. + * Created 2015 by Skurydin Alexey + * http://github.com/anakod/Sming + * All files of the Sming Core are provided under the LGPL v3 license. + * * MultiStream.h * * Created on: Nov 7, 2018 * Author: slavey - */ + * + ****/ -#ifndef SMINGCORE_DATA_STREAM_MULTISTREAM_H_ -#define SMINGCORE_DATA_STREAM_MULTISTREAM_H_ +#ifndef _SMING_CORE_DATA_STREAM_MULTISTREAM_H_ +#define _SMING_CORE_DATA_STREAM_MULTISTREAM_H_ #include "DataSourceStream.h" @@ -63,4 +69,4 @@ class MultiStream : public IDataSourceStream bool finished = false; }; -#endif /* SMINGCORE_DATA_STREAM_MULTISTREAM_H_ */ +#endif /* _SMING_CORE_DATA_STREAM_MULTISTREAM_H_ */ diff --git a/Sming/SmingCore/Data/Stream/MultipartStream.cpp b/Sming/SmingCore/Data/Stream/MultipartStream.cpp index a465311513..ecd41c4038 100644 --- a/Sming/SmingCore/Data/Stream/MultipartStream.cpp +++ b/Sming/SmingCore/Data/Stream/MultipartStream.cpp @@ -4,6 +4,8 @@ * http://github.com/SmingHub/Sming * All files of the Sming Core are provided under the LGPL v3 license. * + * MultipartStream.cpp + * * @author Slavey Karadzhov * ****/ diff --git a/Sming/SmingCore/Data/Stream/MultipartStream.h b/Sming/SmingCore/Data/Stream/MultipartStream.h index 4b5687dd52..7e939962e7 100644 --- a/Sming/SmingCore/Data/Stream/MultipartStream.h +++ b/Sming/SmingCore/Data/Stream/MultipartStream.h @@ -4,12 +4,14 @@ * http://github.com/SmingHub/Sming * All files of the Sming Core are provided under the LGPL v3 license. * + * MultipartStream.h + * * @author Slavey Karadzhov * ****/ -#ifndef _SMING_CORE_DATA_MULTIPART_STREAM_H_ -#define _SMING_CORE_DATA_MULTIPART_STREAM_H_ +#ifndef _SMING_CORE_DATA_STREAM_MULTIPART_STREAM_H_ +#define _SMING_CORE_DATA_STREAM_MULTIPART_STREAM_H_ #include "MultiStream.h" #include "Delegate.h" @@ -61,4 +63,4 @@ class MultipartStream : public MultiStream }; /** @} */ -#endif /* _SMING_CORE_DATA_MULTIPART_STREAM_H_ */ +#endif /* _SMING_CORE_DATA_STREAM_MULTIPART_STREAM_H_ */ diff --git a/Sming/SmingCore/Data/Stream/QuotedPrintableOutputStream.cpp b/Sming/SmingCore/Data/Stream/QuotedPrintableOutputStream.cpp index f57e1ac213..53a8c0c535 100644 --- a/Sming/SmingCore/Data/Stream/QuotedPrintableOutputStream.cpp +++ b/Sming/SmingCore/Data/Stream/QuotedPrintableOutputStream.cpp @@ -4,6 +4,8 @@ * http://github.com/SmingHub/Sming * All files of the Sming Core are provided under the LGPL v3 license. * + * QuotedPrintableOutputStream.cpp + * * @author Slavey Karadzhov * ****/ diff --git a/Sming/SmingCore/Data/Stream/QuotedPrintableOutputStream.h b/Sming/SmingCore/Data/Stream/QuotedPrintableOutputStream.h index d3a41efc99..6872e63b23 100644 --- a/Sming/SmingCore/Data/Stream/QuotedPrintableOutputStream.h +++ b/Sming/SmingCore/Data/Stream/QuotedPrintableOutputStream.h @@ -4,12 +4,14 @@ * http://github.com/SmingHub/Sming * All files of the Sming Core are provided under the LGPL v3 license. * + * QuotedPrintableOutputStream.h + * * @author Slavey Karadzhov * ****/ -#ifndef _SMING_CORE_DATA_QUOTED_PRINTABLE_OUTPUT_STREAM_H_ -#define _SMING_CORE_DATA_QUOTED_PRINTABLE_OUTPUT_STREAM_H_ +#ifndef _SMING_CORE_DATA_STREAM_QUOTED_PRINTABLE_OUTPUT_STREAM_H_ +#define _SMING_CORE_DATA_STREAM_QUOTED_PRINTABLE_OUTPUT_STREAM_H_ #include "../StreamTransformer.h" @@ -39,4 +41,4 @@ class QuotedPrintableOutputStream : public StreamTransformer }; /** @} */ -#endif /* _SMING_CORE_DATA_QUOTED_PRINTABLE_OUTPUT_STREAM_H_ */ +#endif /* _SMING_CORE_DATA_STREAM_QUOTED_PRINTABLE_OUTPUT_STREAM_H_ */ diff --git a/Sming/SmingCore/Data/Stream/ReadWriteStream.h b/Sming/SmingCore/Data/Stream/ReadWriteStream.h index 440ee910c7..661d38867a 100644 --- a/Sming/SmingCore/Data/Stream/ReadWriteStream.h +++ b/Sming/SmingCore/Data/Stream/ReadWriteStream.h @@ -3,10 +3,13 @@ * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. + * + * ReadWriteStream.h + * ****/ -#ifndef _SMING_CORE_DATA_READ_WRITE_STREAM_H_ -#define _SMING_CORE_DATA_READ_WRITE_STREAM_H_ +#ifndef _SMING_CORE_DATA_STREAM_READ_WRITE_STREAM_H_ +#define _SMING_CORE_DATA_STREAM_READ_WRITE_STREAM_H_ #include "DataSourceStream.h" @@ -44,4 +47,4 @@ class ReadWriteStream : public IDataSourceStream }; /** @} */ -#endif /* _SMING_CORE_DATA_READ_WRITE_STREAM_H_ */ +#endif /* _SMING_CORE_DATA_STREAM_READ_WRITE_STREAM_H_ */ diff --git a/Sming/SmingCore/Data/Stream/StreamChain.h b/Sming/SmingCore/Data/Stream/StreamChain.h index 5b7482af8d..656c69c87c 100644 --- a/Sming/SmingCore/Data/Stream/StreamChain.h +++ b/Sming/SmingCore/Data/Stream/StreamChain.h @@ -2,14 +2,16 @@ * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development. * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming + * All files of the Sming Core are provided under the LGPL v3 license. + * + * StreamChain.h * * @author: 2018 - Slavey Karadzhov * - * All files of the Sming Core are provided under the LGPL v3 license. ****/ -#ifndef _SMING_CORE_DATA_READ_STREAM_CHAIN_H_ -#define _SMING_CORE_DATA_READ_STREAM_CHAIN_H_ +#ifndef _SMING_CORE_DATA_STREAM_STREAM_CHAIN_H_ +#define _SMING_CORE_DATA_STREAM_STREAM_CHAIN_H_ #include "MultiStream.h" #include "../ObjectQueue.h" @@ -46,4 +48,4 @@ class StreamChain : public MultiStream StreamChainQueue queue; }; -#endif /* _SMING_CORE_DATA_READ_STREAM_CHAIN_H_ */ +#endif /* _SMING_CORE_DATA_STREAM_STREAM_CHAIN_H_ */ diff --git a/Sming/SmingCore/Data/Stream/TemplateFileStream.h b/Sming/SmingCore/Data/Stream/TemplateFileStream.h index 5ed63e2c87..f59a85f04c 100644 --- a/Sming/SmingCore/Data/Stream/TemplateFileStream.h +++ b/Sming/SmingCore/Data/Stream/TemplateFileStream.h @@ -3,10 +3,13 @@ * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. + * + * TemplateFileStream.h + * ****/ -#ifndef _SMING_CORE_DATA_TEMPLATE_FILE_STREAM_H_ -#define _SMING_CORE_DATA_TEMPLATE_FILE_STREAM_H_ +#ifndef _SMING_CORE_DATA_STREAM_TEMPLATE_FILE_STREAM_H_ +#define _SMING_CORE_DATA_STREAM_TEMPLATE_FILE_STREAM_H_ #include "FileStream.h" #include "TemplateStream.h" @@ -31,4 +34,4 @@ class TemplateFileStream : public TemplateStream /** @} */ -#endif /* _SMING_CORE_DATA_TEMPLATE_FILE_STREAM_H_ */ +#endif /* _SMING_CORE_DATA_STREAM_TEMPLATE_FILE_STREAM_H_ */ diff --git a/Sming/SmingCore/Data/Stream/TemplateFlashMemoryStream.h b/Sming/SmingCore/Data/Stream/TemplateFlashMemoryStream.h index 74393e7c89..2bbb787dbf 100644 --- a/Sming/SmingCore/Data/Stream/TemplateFlashMemoryStream.h +++ b/Sming/SmingCore/Data/Stream/TemplateFlashMemoryStream.h @@ -4,12 +4,14 @@ * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. * + * TemplateFlashMemoryStream.h + * * @author: 23 Oct 2018 - mikee47 * ****/ -#ifndef _SMING_CORE_DATA_TEMPLATE_FLASH_MEMORY_STREAM_H_ -#define _SMING_CORE_DATA_TEMPLATE_FLASH_MEMORY_STREAM_H_ +#ifndef _SMING_CORE_DATA_STREAM_TEMPLATE_FLASH_MEMORY_STREAM_H_ +#define _SMING_CORE_DATA_STREAM_TEMPLATE_FLASH_MEMORY_STREAM_H_ #include "FlashMemoryStream.h" #include "TemplateStream.h" @@ -34,4 +36,4 @@ class TemplateFlashMemoryStream : public TemplateStream /** @} */ -#endif /* _SMING_CORE_DATA_TEMPLATE_FLASH_MEMORY_STREAM_H_ */ +#endif /* _SMING_CORE_DATA_STREAM_TEMPLATE_FLASH_MEMORY_STREAM_H_ */ diff --git a/Sming/SmingCore/Data/Stream/TemplateStream.cpp b/Sming/SmingCore/Data/Stream/TemplateStream.cpp index fcfef39687..45b7fe197b 100644 --- a/Sming/SmingCore/Data/Stream/TemplateStream.cpp +++ b/Sming/SmingCore/Data/Stream/TemplateStream.cpp @@ -3,6 +3,9 @@ * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. + * + * TemplateStream.cpp + * ****/ #include "TemplateStream.h" diff --git a/Sming/SmingCore/Data/Stream/TemplateStream.h b/Sming/SmingCore/Data/Stream/TemplateStream.h index 9fe8e30214..4525d6b3d8 100644 --- a/Sming/SmingCore/Data/Stream/TemplateStream.h +++ b/Sming/SmingCore/Data/Stream/TemplateStream.h @@ -3,10 +3,13 @@ * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. + * + * TemplateStream.h + * ****/ -#ifndef _SMING_CORE_DATA_TEMPLATE_STREAM_H_ -#define _SMING_CORE_DATA_TEMPLATE_STREAM_H_ +#ifndef _SMING_CORE_DATA_STREAM_TEMPLATE_STREAM_H_ +#define _SMING_CORE_DATA_STREAM_TEMPLATE_STREAM_H_ #include "DataSourceStream.h" #include "WHashMap.h" @@ -123,4 +126,4 @@ class TemplateStream : public IDataSourceStream /** @} */ -#endif /* _SMING_CORE_DATA_TEMPLATESTREAM_H_ */ +#endif /* _SMING_CORE_DATA_STREAM_TEMPLATE_STREAM_H_ */ diff --git a/Sming/SmingCore/Data/Stream/UrlencodedOutputStream.cpp b/Sming/SmingCore/Data/Stream/UrlencodedOutputStream.cpp index c39fc9ae23..1bf9759729 100644 --- a/Sming/SmingCore/Data/Stream/UrlencodedOutputStream.cpp +++ b/Sming/SmingCore/Data/Stream/UrlencodedOutputStream.cpp @@ -4,6 +4,8 @@ * http://github.com/SmingHub/Sming * All files of the Sming Core are provided under the LGPL v3 license. * + * UrlencodedOutputStream.cpp + * * @author Slavey Karadzhov * ****/ diff --git a/Sming/SmingCore/Data/Stream/UrlencodedOutputStream.h b/Sming/SmingCore/Data/Stream/UrlencodedOutputStream.h index bbf2cb5a41..7549758607 100644 --- a/Sming/SmingCore/Data/Stream/UrlencodedOutputStream.h +++ b/Sming/SmingCore/Data/Stream/UrlencodedOutputStream.h @@ -4,6 +4,8 @@ * http://github.com/SmingHub/Sming * All files of the Sming Core are provided under the LGPL v3 license. * + * UrlencodedOutputStream.h + * * @author Slavey Karadzhov * ****/ diff --git a/Sming/SmingCore/Data/StreamTransformer.cpp b/Sming/SmingCore/Data/StreamTransformer.cpp index 72154ab5e8..6e9b708ba1 100644 --- a/Sming/SmingCore/Data/StreamTransformer.cpp +++ b/Sming/SmingCore/Data/StreamTransformer.cpp @@ -4,6 +4,8 @@ * http://github.com/SmingHub/Sming * All files of the Sming Core are provided under the LGPL v3 license. * + * StreamTransformer.cpp + * * @author Slavey Karadzhov * ****/ diff --git a/Sming/SmingCore/Data/StreamTransformer.h b/Sming/SmingCore/Data/StreamTransformer.h index 8cf878621c..7c1a1e2354 100644 --- a/Sming/SmingCore/Data/StreamTransformer.h +++ b/Sming/SmingCore/Data/StreamTransformer.h @@ -4,12 +4,14 @@ * http://github.com/SmingHub/Sming * All files of the Sming Core are provided under the LGPL v3 license. * + * StreamTransformer.h + * * @author Slavey Karadzhov * ****/ -#ifndef _SMING_CORE_DATA_STREAMTRANSFORMER_H_ -#define _SMING_CORE_DATA_STREAMTRANSFORMER_H_ +#ifndef _SMING_CORE_DATA_STREAM_TRANSFORMER_H_ +#define _SMING_CORE_DATA_STREAM_TRANSFORMER_H_ #include "CircularBuffer.h" @@ -118,4 +120,4 @@ class StreamTransformer : public IDataSourceStream }; /** @} */ -#endif /* _SMING_CORE_DATA_STREAMTRANSFORMER_H_ */ +#endif /* _SMING_CORE_DATA_STREAM_TRANSFORMER_H_ */ diff --git a/Sming/SmingCore/Debug.cpp b/Sming/SmingCore/Debug.cpp index 1b4efcaab6..d83edce986 100644 --- a/Sming/SmingCore/Debug.cpp +++ b/Sming/SmingCore/Debug.cpp @@ -1,7 +1,12 @@ -/* +/**** + * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development. + * Created 2015 by Skurydin Alexey + * http://github.com/anakod/Sming + * All files of the Sming Core are provided under the LGPL v3 license. + * * Debug.cpp * - */ + ****/ #include "Debug.h" diff --git a/Sming/SmingCore/Debug.h b/Sming/SmingCore/Debug.h index ccc3b5638b..65c3887ba9 100644 --- a/Sming/SmingCore/Debug.h +++ b/Sming/SmingCore/Debug.h @@ -1,10 +1,15 @@ -/* +/**** + * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development. + * Created 2015 by Skurydin Alexey + * http://github.com/anakod/Sming + * All files of the Sming Core are provided under the LGPL v3 license. + * * Debug.h * - */ + ****/ -#ifndef SMINGCORE_DEBUG_H_ -#define SMINGCORE_DEBUG_H_ +#ifndef _SMING_CORE_DEBUG_H_ +#define _SMING_CORE_DEBUG_H_ #include "HardwareSerial.h" #include "Clock.h" @@ -105,4 +110,4 @@ class DebugClass : public Print extern DebugClass Debug; /** @} */ -#endif /* SMINGCORE_DEBUG_H_ */ +#endif /* _SMING_CORE_DEBUG_H_ */ diff --git a/Sming/SmingCore/Delegate.h b/Sming/SmingCore/Delegate.h index ed74c6c48e..0ab5981b63 100644 --- a/Sming/SmingCore/Delegate.h +++ b/Sming/SmingCore/Delegate.h @@ -3,6 +3,9 @@ * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. + * + * Delegate.h + * ****/ /** @defgroup delegate Delegate @@ -10,8 +13,8 @@ * Several handlers may be triggered for each event * @{ */ -#ifndef SMINGCORE_DELEGATE_H_ -#define SMINGCORE_DELEGATE_H_ +#ifndef _SMING_CORE_DELEGATE_H_ +#define _SMING_CORE_DELEGATE_H_ #include @@ -239,4 +242,4 @@ template class Delegate #include "System.h" diff --git a/Sming/SmingCore/HardwareSerial.h b/Sming/SmingCore/HardwareSerial.h index 47f89e580b..e023fbca21 100644 --- a/Sming/SmingCore/HardwareSerial.h +++ b/Sming/SmingCore/HardwareSerial.h @@ -3,6 +3,9 @@ * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. + * + * HardwareSerial.h + * ****/ /** @defgroup serial Hardware serial @@ -10,8 +13,8 @@ * @{ */ -#ifndef _HARDWARESERIAL_H_ -#define _HARDWARESERIAL_H_ +#ifndef _SMING_CORE_HARDWARE_SERIAL_H_ +#define _SMING_CORE_HARDWARE_SERIAL_H_ #include "WiringFrameworkDependencies.h" #include "Data/Stream/ReadWriteStream.h" @@ -446,4 +449,4 @@ class HardwareSerial : public ReadWriteStream extern HardwareSerial Serial; /** @} */ -#endif /* _HARDWARESERIAL_H_ */ +#endif /* _SMING_CORE_HARDWARE_SERIAL_H_ */ diff --git a/Sming/SmingCore/HardwareTimer.cpp b/Sming/SmingCore/HardwareTimer.cpp index e91b9137d0..797f2b896f 100644 --- a/Sming/SmingCore/HardwareTimer.cpp +++ b/Sming/SmingCore/HardwareTimer.cpp @@ -1,10 +1,13 @@ -/* - * HWTimer.cpp - * +/**** * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development. - * Created 23.11.2015 by johndoe + * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. + * + * HWTimer.cpp + * + * Created 23.11.2015 by johndoe + * ****/ #include "HardwareTimer.h" diff --git a/Sming/SmingCore/HardwareTimer.h b/Sming/SmingCore/HardwareTimer.h index 61db9ce238..f25ba23dfc 100644 --- a/Sming/SmingCore/HardwareTimer.h +++ b/Sming/SmingCore/HardwareTimer.h @@ -1,10 +1,13 @@ -/* - * HWTimer.h - * +/**** * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development. - * Created 23.11.2015 by johndoe + * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. + * + * HardwareTimer.h + * + * Created 23.11.2015 by johndoe + * ****/ /** @defgroup hwtimer Hardware timer diff --git a/Sming/SmingCore/Interrupts.cpp b/Sming/SmingCore/Interrupts.cpp index dab7cd10c0..d6111afa0e 100644 --- a/Sming/SmingCore/Interrupts.cpp +++ b/Sming/SmingCore/Interrupts.cpp @@ -3,6 +3,9 @@ * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. + * + * Interrupts.cpp + * ****/ #include "Interrupts.h" diff --git a/Sming/SmingCore/Interrupts.h b/Sming/SmingCore/Interrupts.h index c76503df58..b10bf7e668 100644 --- a/Sming/SmingCore/Interrupts.h +++ b/Sming/SmingCore/Interrupts.h @@ -3,6 +3,9 @@ * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. + * + * Interrupts.h + * ****/ /** @defgroup interrupts Interrupt functions diff --git a/Sming/SmingCore/Network/DNSServer.cpp b/Sming/SmingCore/Network/DNSServer.cpp index 710cb4cb0b..b6501196dd 100644 --- a/Sming/SmingCore/Network/DNSServer.cpp +++ b/Sming/SmingCore/Network/DNSServer.cpp @@ -3,6 +3,8 @@ * http://github.com/anakod/Sming * This file is provided under the LGPL v3 license. * + * DnsServer.cpp + * * File Author: https://github.com/patrickjahns * * The code is a port of the following projects @@ -10,7 +12,9 @@ * https://github.com/esp8266/Arduino/tree/master/libraries/DNSServer * * Created on March 4, 2016 - */ + * + ****/ + #include "DNSServer.h" #include "UdpConnection.h" #include "WString.h" diff --git a/Sming/SmingCore/Network/DNSServer.h b/Sming/SmingCore/Network/DNSServer.h index e4201a8ff3..bd3196eed0 100644 --- a/Sming/SmingCore/Network/DNSServer.h +++ b/Sming/SmingCore/Network/DNSServer.h @@ -1,7 +1,10 @@ -/* This file is part of Sming Framework Project +/**** + * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development. * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming - * This file is provided under the LGPL v3 license. + * All files of the Sming Core are provided under the LGPL v3 license. + * + * DnsServer.h * * File Author: https://github.com/patrickjahns * @@ -9,15 +12,16 @@ * https://github.com/israellot/esp-ginx/tree/master/app/dns * https://github.com/esp8266/Arduino/tree/master/libraries/DNSServer * Created on March 4, 2016 - */ + * + ****/ /** @defgroup dnsserver DNS server * @brief Provides DNS server * @ingroup udp * @{ */ -#ifndef DNSServer_h -#define DNSServer_h +#ifndef _SMING_CORE_NETWORK_DNS_SERVER_H_ +#define _SMING_CORE_NETWORK_DNS_SERVER_H_ #include "UdpConnection.h" #include "WString.h" @@ -95,4 +99,4 @@ class DNSServer : public UdpConnection }; /** @} */ -#endif //DNSServer_h +#endif /* _SMING_CORE_NETWORK_DNS_SERVER_H_ */ diff --git a/Sming/SmingCore/Network/FTPServer.cpp b/Sming/SmingCore/Network/FTPServer.cpp index 7865946130..169a0fcd82 100644 --- a/Sming/SmingCore/Network/FTPServer.cpp +++ b/Sming/SmingCore/Network/FTPServer.cpp @@ -3,6 +3,9 @@ * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. + * + * FtpServer.cpp + * ****/ #include "FTPServer.h" diff --git a/Sming/SmingCore/Network/FTPServer.h b/Sming/SmingCore/Network/FTPServer.h index b53ae310be..3c06a861c6 100644 --- a/Sming/SmingCore/Network/FTPServer.h +++ b/Sming/SmingCore/Network/FTPServer.h @@ -3,6 +3,9 @@ * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. + * + * FtpServer.h + * ****/ /** @defgroup ftpserver FTP server @@ -11,8 +14,8 @@ * @{ */ -#ifndef _SMING_CORE_FTPSERVER_H_ -#define _SMING_CORE_FTPSERVER_H_ +#ifndef _SMING_CORE_NETWORK_FTP_SERVER_H_ +#define _SMING_CORE_NETWORK_FTP_SERVER_H_ #include "TcpServer.h" #include "WHashMap.h" @@ -42,4 +45,4 @@ class FTPServer : public TcpServer }; /** @} */ -#endif /* _SMING_CORE_FTPServer_H_ */ +#endif /* _SMING_CORE_NETWORK_FTP_SERVER_H_ */ diff --git a/Sming/SmingCore/Network/FTPServerConnection.cpp b/Sming/SmingCore/Network/FTPServerConnection.cpp index 271ec2c539..0e37a43491 100644 --- a/Sming/SmingCore/Network/FTPServerConnection.cpp +++ b/Sming/SmingCore/Network/FTPServerConnection.cpp @@ -1,3 +1,13 @@ +/**** + * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development. + * Created 2015 by Skurydin Alexey + * http://github.com/anakod/Sming + * All files of the Sming Core are provided under the LGPL v3 license. + * + * FtpServerConnection.cpp + * + ****/ + #include "FTPServerConnection.h" #include "FTPServer.h" #include "NetUtils.h" diff --git a/Sming/SmingCore/Network/FTPServerConnection.h b/Sming/SmingCore/Network/FTPServerConnection.h index bef9438bd9..071ba0ffd7 100644 --- a/Sming/SmingCore/Network/FTPServerConnection.h +++ b/Sming/SmingCore/Network/FTPServerConnection.h @@ -1,5 +1,15 @@ -#ifndef SMINGCORE_NETWORK_FTPSERVERCONNECTION_H_ -#define SMINGCORE_NETWORK_FTPSERVERCONNECTION_H_ +/**** + * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development. + * Created 2015 by Skurydin Alexey + * http://github.com/anakod/Sming + * All files of the Sming Core are provided under the LGPL v3 license. + * + * FtpServerConnection.h + * + ****/ + +#ifndef _SMING_CORE_NETWORK_FTP_SERVER_CONNECTION_H_ +#define _SMING_CORE_NETWORK_FTP_SERVER_CONNECTION_H_ #include "TcpConnection.h" #include "IPAddress.h" @@ -55,4 +65,4 @@ class FTPServerConnection : public TcpConnection bool canTransfer = true; }; -#endif /* SMINGCORE_NETWORK_FTPSERVERCONNECTION_H_ */ +#endif /* _SMING_CORE_NETWORK_FTP_SERVER_CONNECTION_H_ */ diff --git a/Sming/SmingCore/Network/Http/HttpBodyParser.cpp b/Sming/SmingCore/Network/Http/HttpBodyParser.cpp index 9d9c87dce3..dc89635901 100644 --- a/Sming/SmingCore/Network/Http/HttpBodyParser.cpp +++ b/Sming/SmingCore/Network/Http/HttpBodyParser.cpp @@ -4,7 +4,7 @@ * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. * - * HttpBodyParser + * HttpBodyParser.cpp * * @author: 2017 - Slavey Karadzhov * diff --git a/Sming/SmingCore/Network/Http/HttpBodyParser.h b/Sming/SmingCore/Network/Http/HttpBodyParser.h index ac3889e3e5..aa407fa648 100644 --- a/Sming/SmingCore/Network/Http/HttpBodyParser.h +++ b/Sming/SmingCore/Network/Http/HttpBodyParser.h @@ -4,14 +4,14 @@ * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. * - * HttpBodyParser + * HttpBodyParser.h * * @author: 2017 - Slavey Karadzhov * ****/ -#ifndef _SMING_CORE_HTTP_BODY_PARSER_H_ -#define _SMING_CORE_HTTP_BODY_PARSER_H_ +#ifndef _SMING_CORE_HTTP_HTTP_BODY_PARSER_H_ +#define _SMING_CORE_HTTP_HTTP_BODY_PARSER_H_ #include "HttpCommon.h" #include "HttpRequest.h" @@ -49,4 +49,4 @@ void formUrlParser(HttpRequest& request, const char* at, int length); */ void bodyToStringParser(HttpRequest& request, const char* at, int length); -#endif /* _SMING_CORE_HTTP_BODY_PARSER_H_ */ +#endif /* _SMING_CORE_HTTP_HTTP_BODY_PARSER_H_ */ diff --git a/Sming/SmingCore/Network/Http/HttpCommon.cpp b/Sming/SmingCore/Network/Http/HttpCommon.cpp index 3686edeb13..a19c860405 100644 --- a/Sming/SmingCore/Network/Http/HttpCommon.cpp +++ b/Sming/SmingCore/Network/Http/HttpCommon.cpp @@ -4,6 +4,8 @@ * http://github.com/SmingHub/Sming * All files of the Sming Core are provided under the LGPL v3 license. * + * HttpCommon.cpp + * * @author: 2018 - Mikee47 * * httpGetErrorName(), httpGetErrorDescription() and httpGetStatusText() functions added diff --git a/Sming/SmingCore/Network/Http/HttpCommon.h b/Sming/SmingCore/Network/Http/HttpCommon.h index 00cdfe61c1..974605d792 100644 --- a/Sming/SmingCore/Network/Http/HttpCommon.h +++ b/Sming/SmingCore/Network/Http/HttpCommon.h @@ -2,16 +2,16 @@ * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development. * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming + * All files of the Sming Core are provided under the LGPL v3 license. * - * HttpServerResource + * HttpCommon.h * * @author: 2017 - Slavey Karadzhov * - * All files of the Sming Core are provided under the LGPL v3 license. ****/ -#ifndef _SMING_CORE_HTTP_COMMON_H_ -#define _SMING_CORE_HTTP_COMMON_H_ +#ifndef _SMING_CORE_NETWORK_HTTP_HTTP_COMMON_H_ +#define _SMING_CORE_NETWORK_HTTP_HTTP_COMMON_H_ #define ENABLE_HTTP_REQUEST_AUTH 1 @@ -73,4 +73,4 @@ static inline String httpGetStatusText(unsigned code) return httpGetStatusText((enum http_status)code); } -#endif /* _SMING_CORE_HTTP_COMMON_H_ */ +#endif /* _SMING_CORE_NETWORK_HTTP_HTTP_COMMON_H_ */ diff --git a/Sming/SmingCore/Network/Http/HttpConnection.cpp b/Sming/SmingCore/Network/Http/HttpConnection.cpp index 1211de5f71..7112e52d50 100644 --- a/Sming/SmingCore/Network/Http/HttpConnection.cpp +++ b/Sming/SmingCore/Network/Http/HttpConnection.cpp @@ -2,12 +2,12 @@ * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development. * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming + * All files of the Sming Core are provided under the LGPL v3 license. * - * HttpConnection + * HttpConnection.cpp * * @author: 2017 - Slavey Karadzhov * - * All files of the Sming Core are provided under the LGPL v3 license. ****/ #include "HttpConnection.h" diff --git a/Sming/SmingCore/Network/Http/HttpConnection.h b/Sming/SmingCore/Network/Http/HttpConnection.h index 6da9d2b714..4fe9c02c93 100644 --- a/Sming/SmingCore/Network/Http/HttpConnection.h +++ b/Sming/SmingCore/Network/Http/HttpConnection.h @@ -2,16 +2,16 @@ * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development. * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming + * All files of the Sming Core are provided under the LGPL v3 license. * - * HttpConnection + * HttpConnection.h * * @author: 2017 - Slavey Karadzhov * - * All files of the Sming Core are provided under the LGPL v3 license. ****/ -#ifndef _SMING_CORE_NETWORK_HTTP_CONNECTION_H_ -#define _SMING_CORE_NETWORK_HTTP_CONNECTION_H_ +#ifndef _SMING_CORE_NETWORK_HTTP_HTTP_CONNECTION_H_ +#define _SMING_CORE_NETWORK_HTTP_HTTP_CONNECTION_H_ #include "HttpConnectionBase.h" #include "DateTime.h" @@ -166,4 +166,4 @@ class HttpConnection : public HttpConnectionBase }; /** @} */ -#endif /* _SMING_CORE_NETWORK_HTTP_CONNECTION_H_ */ +#endif /* _SMING_CORE_NETWORK_HTTP_HTTP_CONNECTION_H_ */ diff --git a/Sming/SmingCore/Network/Http/HttpConnectionBase.cpp b/Sming/SmingCore/Network/Http/HttpConnectionBase.cpp index 8b1edf21da..ba57fd46eb 100644 --- a/Sming/SmingCore/Network/Http/HttpConnectionBase.cpp +++ b/Sming/SmingCore/Network/Http/HttpConnectionBase.cpp @@ -2,12 +2,12 @@ * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development. * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming + * All files of the Sming Core are provided under the LGPL v3 license. * - * HttpConnectionBase + * HttpConnectionBase.cpp * * @author: 2018 - Slavey Karadzhov * - * All files of the Sming Core are provided under the LGPL v3 license. ****/ #include "HttpConnectionBase.h" diff --git a/Sming/SmingCore/Network/Http/HttpConnectionBase.h b/Sming/SmingCore/Network/Http/HttpConnectionBase.h index de705568dd..b2a5ebe095 100644 --- a/Sming/SmingCore/Network/Http/HttpConnectionBase.h +++ b/Sming/SmingCore/Network/Http/HttpConnectionBase.h @@ -2,16 +2,16 @@ * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development. * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming + * All files of the Sming Core are provided under the LGPL v3 license. * - * HttpConnectionBase + * HttpConnectionBase.h * * @author: 2018 - Slavey Karadzhov * - * All files of the Sming Core are provided under the LGPL v3 license. ****/ -#ifndef _SMING_CORE_NETWORK_HTTP_HTTPCONNECTIONBASE_H_ -#define _SMING_CORE_NETWORK_HTTP_HTTPCONNECTIONBASE_H_ +#ifndef _SMING_CORE_NETWORK_HTTP_HTTP_CONNECTION_BASE_H_ +#define _SMING_CORE_NETWORK_HTTP_HTTP_CONNECTION_BASE_H_ #include "../TcpClient.h" #include "WString.h" @@ -197,4 +197,4 @@ class HttpConnectionBase : public TcpClient }; /** @} */ -#endif /* _SMING_CORE_NETWORK_HTTP_HTTPCONNECTIONBASE_H_ */ +#endif /* _SMING_CORE_NETWORK_HTTP_HTTP_CONNECTION_BASE_H_ */ diff --git a/Sming/SmingCore/Network/Http/HttpHeaders.cpp b/Sming/SmingCore/Network/Http/HttpHeaders.cpp index e591abf68f..6235e008dd 100644 --- a/Sming/SmingCore/Network/Http/HttpHeaders.cpp +++ b/Sming/SmingCore/Network/Http/HttpHeaders.cpp @@ -4,6 +4,8 @@ * http://github.com/SmingHub/Sming * All files of the Sming Core are provided under the LGPL v3 license. * + * HttpHeaders.cpp + * * @author: 2018 - Mikee47 * ****/ diff --git a/Sming/SmingCore/Network/Http/HttpHeaders.h b/Sming/SmingCore/Network/Http/HttpHeaders.h index c649699b4f..8a411b3d81 100644 --- a/Sming/SmingCore/Network/Http/HttpHeaders.h +++ b/Sming/SmingCore/Network/Http/HttpHeaders.h @@ -4,6 +4,8 @@ * http://github.com/SmingHub/Sming * All files of the Sming Core are provided under the LGPL v3 license. * + * HttpHeaders.h + * * @author: 2018 - Mikee47 * * Encapsulate encoding and decoding of HTTP header fields @@ -15,8 +17,8 @@ * ****/ -#ifndef _SMING_CORE_NETWORK_HTTP_HEADERS_H_ -#define _SMING_CORE_NETWORK_HTTP_HEADERS_H_ +#ifndef _SMING_CORE_NETWORK_HTTP_HTTP_HEADERS_H_ +#define _SMING_CORE_NETWORK_HTTP_HTTP_HEADERS_H_ #include "Data/CStringArray.h" #include "WString.h" @@ -203,4 +205,4 @@ class HttpHeaders : private HashMap CStringArray customFieldNames; }; -#endif /* _SMING_CORE_NETWORK_HTTP_HEADERS_H_ */ +#endif /* _SMING_CORE_NETWORK_HTTP_HTTP_HEADERS_H_ */ diff --git a/Sming/SmingCore/Network/Http/HttpParams.cpp b/Sming/SmingCore/Network/Http/HttpParams.cpp index e3d1e37fcc..c9f076f9dd 100644 --- a/Sming/SmingCore/Network/Http/HttpParams.cpp +++ b/Sming/SmingCore/Network/Http/HttpParams.cpp @@ -4,6 +4,8 @@ * http://github.com/SmingHub/Sming * All files of the Sming Core are provided under the LGPL v3 license. * + * HttpParams.cpp + * * @author: 2018 - Mikee47 * ****/ diff --git a/Sming/SmingCore/Network/Http/HttpParams.h b/Sming/SmingCore/Network/Http/HttpParams.h index a73b30b489..1e465574cd 100644 --- a/Sming/SmingCore/Network/Http/HttpParams.h +++ b/Sming/SmingCore/Network/Http/HttpParams.h @@ -4,6 +4,8 @@ * http://github.com/SmingHub/Sming * All files of the Sming Core are provided under the LGPL v3 license. * + * HttpParams.h + * * @author: 2018 - Mikee47 * * Class to manage HTTP URI query parameters @@ -14,8 +16,8 @@ * ****/ -#ifndef _SMINGCORE_HTTP_HTTP_PARAMS_H_ -#define _SMINGCORE_HTTP_HTTP_PARAMS_H_ +#ifndef _SMING_CORE_NETWORK_HTTP_HTTP_PARAMS_H_ +#define _SMING_CORE_NETWORK_HTTP_HTTP_PARAMS_H_ #include "WString.h" #include "WHashMap.h" @@ -34,4 +36,4 @@ class HttpParams : public HashMap, public Printable size_t printTo(Print& p) const override; }; -#endif // _SMINGCORE_HTTP_HTTP_PARAMS_H_ +#endif /* _SMING_CORE_NETWORK_HTTP_HTTP_PARAMS_H_ */ diff --git a/Sming/SmingCore/Network/Http/HttpRequest.cpp b/Sming/SmingCore/Network/Http/HttpRequest.cpp index 223d1fb5c9..7df5ff1b69 100644 --- a/Sming/SmingCore/Network/Http/HttpRequest.cpp +++ b/Sming/SmingCore/Network/Http/HttpRequest.cpp @@ -2,12 +2,12 @@ * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development. * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming + * All files of the Sming Core are provided under the LGPL v3 license. * - * HttpRequest + * HttpRequest.cpp * * @author: 2017 - Slavey Karadzhov * - * All files of the Sming Core are provided under the LGPL v3 license. ****/ #include "HttpRequest.h" diff --git a/Sming/SmingCore/Network/Http/HttpRequest.h b/Sming/SmingCore/Network/Http/HttpRequest.h index 86f47cacfb..f4124ff23b 100644 --- a/Sming/SmingCore/Network/Http/HttpRequest.h +++ b/Sming/SmingCore/Network/Http/HttpRequest.h @@ -2,16 +2,16 @@ * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development. * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming + * All files of the Sming Core are provided under the LGPL v3 license. * - * HttpRequest + * HttpRequest.h * * @author: 2017 - Slavey Karadzhov * - * All files of the Sming Core are provided under the LGPL v3 license. ****/ -#ifndef _SMING_CORE_HTTP_REQUEST_H_ -#define _SMING_CORE_HTTP_REQUEST_H_ +#ifndef _SMING_CORE_NETWORK_HTTP_HTTP_REQUEST_H_ +#define _SMING_CORE_NETWORK_HTTP_HTTP_REQUEST_H_ #include "HttpCommon.h" #ifdef ENABLE_HTTP_REQUEST_AUTH @@ -293,4 +293,4 @@ class HttpRequest HttpParams* queryParams = nullptr; // << @todo deprecate }; -#endif /* _SMING_CORE_HTTP_REQUEST_H_ */ +#endif /* _SMING_CORE_NETWORK_HTTP_HTTP_REQUEST_H_ */ diff --git a/Sming/SmingCore/Network/Http/HttpRequestAuth.cpp b/Sming/SmingCore/Network/Http/HttpRequestAuth.cpp index 1cff89ef01..3015f55c2a 100644 --- a/Sming/SmingCore/Network/Http/HttpRequestAuth.cpp +++ b/Sming/SmingCore/Network/Http/HttpRequestAuth.cpp @@ -2,12 +2,12 @@ * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development. * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming + * All files of the Sming Core are provided under the LGPL v3 license. * - * HttpRequestAuth + * HttpRequestAuth.cpp * * @author: 2017 - Slavey Karadzhov * - * All files of the Sming Core are provided under the LGPL v3 license. ****/ #include "HttpRequestAuth.h" diff --git a/Sming/SmingCore/Network/Http/HttpRequestAuth.h b/Sming/SmingCore/Network/Http/HttpRequestAuth.h index dbef978226..86ce532499 100644 --- a/Sming/SmingCore/Network/Http/HttpRequestAuth.h +++ b/Sming/SmingCore/Network/Http/HttpRequestAuth.h @@ -2,16 +2,16 @@ * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development. * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming + * All files of the Sming Core are provided under the LGPL v3 license. * - * HttpRequestAuth + * HttpRequestAuth.h * * @author: 2017 - Slavey Karadzhov * - * All files of the Sming Core are provided under the LGPL v3 license. ****/ -#ifndef _SMING_CORE_HTTP_REQUEST_AUTH_H_ -#define _SMING_CORE_HTTP_REQUEST_AUTH_H_ +#ifndef _SMING_CORE_NETWORK_HTTP_HTTP_REQUEST_AUTH_H_ +#define _SMING_CORE_NETWORK_HTTP_HTTP_REQUEST_AUTH_H_ #include "HttpResponse.h" @@ -65,4 +65,4 @@ class HttpDigestAuth : public AuthAdapter HttpRequest* request = nullptr; }; -#endif /* _SMING_CORE_HTTP_REQUEST_AUTH_H_ */ +#endif /* _SMING_CORE_NETWORK_HTTP_HTTP_REQUEST_AUTH_H_ */ diff --git a/Sming/SmingCore/Network/Http/HttpResource.h b/Sming/SmingCore/Network/Http/HttpResource.h index f703f8288b..02860173fb 100644 --- a/Sming/SmingCore/Network/Http/HttpResource.h +++ b/Sming/SmingCore/Network/Http/HttpResource.h @@ -2,16 +2,16 @@ * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development. * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming + * All files of the Sming Core are provided under the LGPL v3 license. * - * HttpResource + * HttpResource.h * * @author: 2017 - Slavey Karadzhov * - * All files of the Sming Core are provided under the LGPL v3 license. ****/ -#ifndef _SMING_CORE_HTTP_RESOURCE_H_ -#define _SMING_CORE_HTTP_RESOURCE_H_ +#ifndef _SMING_CORE_NETWORK_HTTP_HTTP_RESOURCE_H_ +#define _SMING_CORE_NETWORK_HTTP_HTTP_RESOURCE_H_ #include "WString.h" #include "WHashMap.h" @@ -71,4 +71,4 @@ class HttpCompatResource : public HttpResource typedef HashMap ResourceTree; -#endif /* _SMING_CORE_HTTP_RESOURCE_H_ */ +#endif /* _SMING_CORE_NETWORK_HTTP_HTTP_RESOURCE_H_ */ diff --git a/Sming/SmingCore/Network/Http/HttpResponse.cpp b/Sming/SmingCore/Network/Http/HttpResponse.cpp index 14031cff38..415d4b1186 100644 --- a/Sming/SmingCore/Network/Http/HttpResponse.cpp +++ b/Sming/SmingCore/Network/Http/HttpResponse.cpp @@ -2,12 +2,12 @@ * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development. * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming + * All files of the Sming Core are provided under the LGPL v3 license. * - * HttpResponse + * HttpResponse.cpp * * @author: 2017 - Slavey Karadzhov * - * All files of the Sming Core are provided under the LGPL v3 license. ****/ #include "HttpResponse.h" diff --git a/Sming/SmingCore/Network/Http/HttpResponse.h b/Sming/SmingCore/Network/Http/HttpResponse.h index 06a7d2b2d9..05988be9ce 100644 --- a/Sming/SmingCore/Network/Http/HttpResponse.h +++ b/Sming/SmingCore/Network/Http/HttpResponse.h @@ -2,16 +2,16 @@ * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development. * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming + * All files of the Sming Core are provided under the LGPL v3 license. * - * HttpResponse + * HttpResponse.h * * @author: 2017 - Slavey Karadzhov * - * All files of the Sming Core are provided under the LGPL v3 license. ****/ -#ifndef _SMING_CORE_HTTP_RESPONSE_H_ -#define _SMING_CORE_HTTP_RESPONSE_H_ +#ifndef _SMING_CORE_NETWORK_HTTP_HTTP_RESPONSE_H_ +#define _SMING_CORE_NETWORK_HTTP_HTTP_RESPONSE_H_ #include "HttpCommon.h" #include "Data/Stream/ReadWriteStream.h" @@ -145,4 +145,4 @@ class HttpResponse IDataSourceStream* stream = nullptr; ///< The body stream }; -#endif /* _SMING_CORE_HTTP_RESPONSE_H_ */ +#endif /* _SMING_CORE_NETWORK_HTTP_HTTP_RESPONSE_H_ */ diff --git a/Sming/SmingCore/Network/Http/HttpServerConnection.cpp b/Sming/SmingCore/Network/Http/HttpServerConnection.cpp index a7ac35e768..8a5548cfcd 100644 --- a/Sming/SmingCore/Network/Http/HttpServerConnection.cpp +++ b/Sming/SmingCore/Network/Http/HttpServerConnection.cpp @@ -4,7 +4,7 @@ * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. * - * HttpServerConnection + * HttpServerConnection.cpp * * Modified: 2017 - Slavey Karadzhov * diff --git a/Sming/SmingCore/Network/Http/HttpServerConnection.h b/Sming/SmingCore/Network/Http/HttpServerConnection.h index 1b2ad9cfbe..0d24dffe42 100644 --- a/Sming/SmingCore/Network/Http/HttpServerConnection.h +++ b/Sming/SmingCore/Network/Http/HttpServerConnection.h @@ -4,14 +4,14 @@ * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. * - * HttpServerConnection + * HttpServerConnection.h * * Modified: 2017 - Slavey Karadzhov * ****/ -#ifndef _SMING_CORE_NETWORK_HTTP_HTTPSERVERCONNECTION_H_ -#define _SMING_CORE_NETWORK_HTTP_HTTPSERVERCONNECTION_H_ +#ifndef _SMING_CORE_NETWORK_HTTP_HTTP_SERVER_CONNECTION_H_ +#define _SMING_CORE_NETWORK_HTTP_HTTP_SERVER_CONNECTION_H_ #include "HttpConnectionBase.h" #include "HttpResource.h" @@ -153,4 +153,4 @@ class HttpServerConnection : public HttpConnectionBase }; /** @} */ -#endif /* _SMING_CORE_NETWORK_HTTP_HTTPSERVERCONNECTION_H_ */ +#endif /* _SMING_CORE_NETWORK_HTTP_HTTP_SERVER_CONNECTION_H_ */ diff --git a/Sming/SmingCore/Network/Http/Websocket/WebsocketConnection.cpp b/Sming/SmingCore/Network/Http/Websocket/WebsocketConnection.cpp index 675e1ce016..a37d202ca6 100644 --- a/Sming/SmingCore/Network/Http/Websocket/WebsocketConnection.cpp +++ b/Sming/SmingCore/Network/Http/Websocket/WebsocketConnection.cpp @@ -3,6 +3,9 @@ * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. + * + * WebsocketConnection.cpp + * ****/ #include "WebsocketConnection.h" diff --git a/Sming/SmingCore/Network/Http/Websocket/WebsocketConnection.h b/Sming/SmingCore/Network/Http/Websocket/WebsocketConnection.h index ae22ffaed4..d35f00397c 100644 --- a/Sming/SmingCore/Network/Http/Websocket/WebsocketConnection.h +++ b/Sming/SmingCore/Network/Http/Websocket/WebsocketConnection.h @@ -3,10 +3,13 @@ * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. + * + * WebsocketConnection.h + * ****/ -#ifndef SMINGCORE_NETWORK_WEBSOCKETCONNECTION_H_ -#define SMINGCORE_NETWORK_WEBSOCKETCONNECTION_H_ +#ifndef _SMING_CORE_NETWORK_HTTP_WEBSOCKET_WEBSOCKET_CONNECTION_H_ +#define _SMING_CORE_NETWORK_HTTP_WEBSOCKET_WEBSOCKET_CONNECTION_H_ #include "Network/TcpServer.h" #include "../HttpConnectionBase.h" @@ -231,4 +234,4 @@ class WebsocketConnection }; /** @} */ -#endif /* SMINGCORE_NETWORK_WEBSOCKETCONNECTION_H_ */ +#endif /* _SMING_CORE_NETWORK_HTTP_WEBSOCKET_WEBSOCKET_CONNECTION_H_ */ diff --git a/Sming/SmingCore/Network/Http/Websocket/WebsocketResource.cpp b/Sming/SmingCore/Network/Http/Websocket/WebsocketResource.cpp index c56ebb4b22..7e6c007668 100644 --- a/Sming/SmingCore/Network/Http/Websocket/WebsocketResource.cpp +++ b/Sming/SmingCore/Network/Http/Websocket/WebsocketResource.cpp @@ -2,10 +2,12 @@ * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development. * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming + * All files of the Sming Core are provided under the LGPL v3 license. + * + * WebsocketResource.cpp * * @author: 2017 - Slavey Karadzhov * - * All files of the Sming Core are provided under the LGPL v3 license. ****/ #include "WebsocketResource.h" diff --git a/Sming/SmingCore/Network/Http/Websocket/WebsocketResource.h b/Sming/SmingCore/Network/Http/Websocket/WebsocketResource.h index ed545beaf8..a5d71cb970 100644 --- a/Sming/SmingCore/Network/Http/Websocket/WebsocketResource.h +++ b/Sming/SmingCore/Network/Http/Websocket/WebsocketResource.h @@ -2,14 +2,16 @@ * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development. * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming + * All files of the Sming Core are provided under the LGPL v3 license. + * + * WebsocketResource.h * * @author: 2017 - Slavey Karadzhov * - * All files of the Sming Core are provided under the LGPL v3 license. ****/ -#ifndef _SMING_SMINGCORE_NETWORK_WEBSOCKET_RESOURCE_H_ -#define _SMING_SMINGCORE_NETWORK_WEBSOCKET_RESOURCE_H_ +#ifndef _SMING_CORE_NETWORK_HTTP_WEBSOCKET_WEBSOCKET_RESOURCE_H_ +#define _SMING_CORE_NETWORK_HTTP_WEBSOCKET_WEBSOCKET_RESOURCE_H_ #include "../HttpServerConnection.h" #include "../HttpResource.h" @@ -58,4 +60,4 @@ class WebsocketResource : public HttpResource WebsocketDelegate wsDisconnect = nullptr; }; -#endif /* _SMING_SMINGCORE_NETWORK_WEBSOCKET_RESOURCE_H_ */ +#endif /* _SMING_CORE_NETWORK_HTTP_WEBSOCKET_WEBSOCKET_RESOURCE_H_ */ diff --git a/Sming/SmingCore/Network/Http/Websocket/WsCommandHandlerResource.h b/Sming/SmingCore/Network/Http/Websocket/WsCommandHandlerResource.h index 76665f4f1b..ad84eb1608 100644 --- a/Sming/SmingCore/Network/Http/Websocket/WsCommandHandlerResource.h +++ b/Sming/SmingCore/Network/Http/Websocket/WsCommandHandlerResource.h @@ -2,14 +2,16 @@ * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development. * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming + * All files of the Sming Core are provided under the LGPL v3 license. + * + * WsCommandHandlerResource.h * * @author: 2017 - Slavey Karadzhov * - * All files of the Sming Core are provided under the LGPL v3 license. ****/ -#ifndef _SMING_SMINGCORE_NETWORK_WEBSOCKET_RESOURCE_H_ -#define _SMING_SMINGCORE_NETWORK_WEBSOCKET_RESOURCE_H_ +#ifndef _SMING_CORE_NETWORK_HTTP_WEBSOCKET_WS_COMMAND_HANDLER_RESOURCE_H_ +#define _SMING_CORE_NETWORK_HTTP_WEBSOCKET_WS_COMMAND_HANDLER_RESOURCE_H_ #include "../HttpResource.h" #include "WebsocketConnection.h" @@ -49,4 +51,4 @@ class WsCommandHandlerResource : protected WebsocketResource CommandExecutor commandExecutor; }; -#endif /* _SMING_SMINGCORE_NETWORK_WEBSOCKET_RESOURCE_H_ */ +#endif /* _SMING_CORE_NETWORK_HTTP_WEBSOCKET_WS_COMMAND_HANDLER_RESOURCE_H_ */ diff --git a/Sming/SmingCore/Network/HttpClient.cpp b/Sming/SmingCore/Network/HttpClient.cpp index f31aeeeb93..9743871c10 100644 --- a/Sming/SmingCore/Network/HttpClient.cpp +++ b/Sming/SmingCore/Network/HttpClient.cpp @@ -4,7 +4,7 @@ * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. * - * HttpClient + * HttpClient.cpp * * Modified: 2017 - Slavey Karadzhov * diff --git a/Sming/SmingCore/Network/HttpClient.h b/Sming/SmingCore/Network/HttpClient.h index a14e23afff..9403589db6 100644 --- a/Sming/SmingCore/Network/HttpClient.h +++ b/Sming/SmingCore/Network/HttpClient.h @@ -4,7 +4,7 @@ * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. * - * HttpClient + * HttpClient.h * * Modified: 2017 - Slavey Karadzhov * @@ -16,8 +16,8 @@ * @{ */ -#ifndef _SMING_CORE_NETWORK_HTTPCLIENT_H_ -#define _SMING_CORE_NETWORK_HTTPCLIENT_H_ +#ifndef _SMING_CORE_NETWORK_HTTP_CLIENT_H_ +#define _SMING_CORE_NETWORK_HTTP_CLIENT_H_ #include "TcpClient.h" #include "Http/HttpCommon.h" @@ -111,4 +111,4 @@ class HttpClient }; /** @} */ -#endif /* _SMING_CORE_NETWORK_HTTPCLIENT_H_ */ +#endif /* _SMING_CORE_NETWORK_HTTP_CLIENT_H_ */ diff --git a/Sming/SmingCore/Network/HttpServer.cpp b/Sming/SmingCore/Network/HttpServer.cpp index 6055233c77..b6dd41cfae 100644 --- a/Sming/SmingCore/Network/HttpServer.cpp +++ b/Sming/SmingCore/Network/HttpServer.cpp @@ -4,7 +4,7 @@ * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. * - * HttpServer + * HttpServer.cpp * * Modified: 2017 - Slavey Karadzhov * diff --git a/Sming/SmingCore/Network/HttpServer.h b/Sming/SmingCore/Network/HttpServer.h index fd3af8d77d..e36e27be91 100644 --- a/Sming/SmingCore/Network/HttpServer.h +++ b/Sming/SmingCore/Network/HttpServer.h @@ -4,7 +4,7 @@ * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. * - * HttpServer + * HttpServer.h * * Modified: 2017 - Slavey Karadzhov * @@ -16,8 +16,8 @@ * @{ */ -#ifndef _SMING_CORE_HTTPSERVER_H_ -#define _SMING_CORE_HTTPSERVER_H_ +#ifndef _SMING_CORE_NETWORK_HTTP_SERVER_H_ +#define _SMING_CORE_NETWORK_HTTP_SERVER_H_ #include "TcpServer.h" #include "WString.h" @@ -101,4 +101,4 @@ class HttpServer : public TcpServer }; /** @} */ -#endif /* _SMING_CORE_HTTPSERVER_H_ */ +#endif /* _SMING_CORE_NETWORK_HTTP_SERVER_H_ */ diff --git a/Sming/SmingCore/Network/Mqtt/MqttPayloadParser.cpp b/Sming/SmingCore/Network/Mqtt/MqttPayloadParser.cpp index 614cc5f2a7..a9c2273020 100644 --- a/Sming/SmingCore/Network/Mqtt/MqttPayloadParser.cpp +++ b/Sming/SmingCore/Network/Mqtt/MqttPayloadParser.cpp @@ -4,6 +4,8 @@ * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. * + * MqttPayloadParser.cpp + * * @author Slavey Karadzhov * ****/ diff --git a/Sming/SmingCore/Network/Mqtt/MqttPayloadParser.h b/Sming/SmingCore/Network/Mqtt/MqttPayloadParser.h index 6619a3382b..2a392a57a5 100644 --- a/Sming/SmingCore/Network/Mqtt/MqttPayloadParser.h +++ b/Sming/SmingCore/Network/Mqtt/MqttPayloadParser.h @@ -4,12 +4,14 @@ * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. * + * MqttPayloadParser.h + * * @author Slavey Karadzhov * ****/ -#ifndef _SMING_CORE_NETWORK_MQTT_PAYLOADPARSER_H_ -#define _SMING_CORE_NETWORK_MQTT_PAYLOADPARSER_H_ +#ifndef _SMING_CORE_NETWORK_MQTT_PAYLOAD_PARSER_H_ +#define _SMING_CORE_NETWORK_MQTT_PAYLOAD_PARSER_H_ #include "Delegate.h" #include "../mqtt-codec/src/message.h" @@ -39,4 +41,4 @@ typedef Delegate * diff --git a/Sming/SmingCore/Network/SmtpClient.h b/Sming/SmingCore/Network/SmtpClient.h index 64a47fa7a4..dea5da5405 100644 --- a/Sming/SmingCore/Network/SmtpClient.h +++ b/Sming/SmingCore/Network/SmtpClient.h @@ -4,7 +4,8 @@ * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. * - * SmtpClient - asynchronous SmtpClient that supports the following features: + * SmtpClient.h - Asynchronous SmtpClient that supports the following features: + * * - extended HELO command set * - support for PIPELINING * - support for STARTTLS (if the directive ENABLE_SSL=1 is set) @@ -17,14 +18,15 @@ * ****/ +#ifndef _SMING_CORE_NETWORK_SMTPCLIENT_H_ +#define _SMING_CORE_NETWORK_SMTPCLIENT_H_ + /** @defgroup smtpclient SMTP client * @brief Provides SMTP/S client * @ingroup tcpclient * @{ */ -#pragma once - #include "TcpClient.h" #include "Data/MailMessage.h" #include "URL.h" @@ -215,3 +217,5 @@ class SmtpClient : protected TcpClient */ HttpPartResult multipartProducer(); }; + +#endif /* _SMING_CORE_NETWORK_SMTPCLIENT_H_ */ diff --git a/Sming/SmingCore/Network/Ssl/SslFingerprints.cpp b/Sming/SmingCore/Network/Ssl/SslFingerprints.cpp index 879a267e38..689ce51b99 100644 --- a/Sming/SmingCore/Network/Ssl/SslFingerprints.cpp +++ b/Sming/SmingCore/Network/Ssl/SslFingerprints.cpp @@ -3,6 +3,9 @@ * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. + * + * SslFingerprints.cpp + * ****/ #ifdef ENABLE_SSL diff --git a/Sming/SmingCore/Network/Ssl/SslFingerprints.h b/Sming/SmingCore/Network/Ssl/SslFingerprints.h index f5f9f027b3..706bfe3b17 100644 --- a/Sming/SmingCore/Network/Ssl/SslFingerprints.h +++ b/Sming/SmingCore/Network/Ssl/SslFingerprints.h @@ -3,10 +3,13 @@ * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. + * + * SslFingerprints.h + * ****/ -#ifndef SMINGCORE_NETWORK_SSLFINGERPRINTS_H_ -#define SMINGCORE_NETWORK_SSLFINGERPRINTS_H_ +#ifndef _SMING_CORE_NETWORK_SSL_SSL_FINGERPRINTS_H_ +#define _SMING_CORE_NETWORK_SSL_SSL_FINGERPRINTS_H_ #include "ssl/ssl.h" @@ -99,4 +102,4 @@ struct SslFingerprints { bool setValue(const uint8_t*& value, unsigned requiredLength, const uint8_t* newValue, unsigned newLength); }; -#endif // SMINGCORE_NETWORK_SSLFINGERPRINTS_H_ +#endif // _SMING_CORE_NETWORK_SSL_SSL_FINGERPRINTS_H_ diff --git a/Sming/SmingCore/Network/Ssl/SslKeyCertPair.h b/Sming/SmingCore/Network/Ssl/SslKeyCertPair.h index 2ea23bab8f..70df03b8e5 100644 --- a/Sming/SmingCore/Network/Ssl/SslKeyCertPair.h +++ b/Sming/SmingCore/Network/Ssl/SslKeyCertPair.h @@ -3,10 +3,13 @@ * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. + * + * SslKeyCertPair.h + * ****/ -#ifndef SMINGCORE_NETWORK_SSLKEYCERTPAIR_H_ -#define SMINGCORE_NETWORK_SSLKEYCERTPAIR_H_ +#ifndef _SMING_CORE_NETWORK_SSL_KEY_CERT_PAIR_H_ +#define _SMING_CORE_NETWORK_SSL_KEY_CERT_PAIR_H_ #include "ssl/ssl.h" #include "WString.h" @@ -109,4 +112,4 @@ class SslKeyCertPair String certificate; }; -#endif /* SMINGCORE_NETWORK_SSLKEYCERTPAIR_H_ */ +#endif /* _SMING_CORE_NETWORK_SSL_KEY_CERT_PAIR_H_ */ diff --git a/Sming/SmingCore/Network/Ssl/SslSessionId.h b/Sming/SmingCore/Network/Ssl/SslSessionId.h index bc434edaeb..723138bb9e 100644 --- a/Sming/SmingCore/Network/Ssl/SslSessionId.h +++ b/Sming/SmingCore/Network/Ssl/SslSessionId.h @@ -3,10 +3,13 @@ * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. + * + * SslSessionId.h + * ****/ -#ifndef SMINGCORE_NETWORK_SSLSESSIONID_H_ -#define SMINGCORE_NETWORK_SSLSESSIONID_H_ +#ifndef _SMING_CORE_NETWORK_SSL_SSL_SESSION_ID_H_ +#define _SMING_CORE_NETWORK_SSL_SSL_SESSION_ID_H_ #include "ssl/ssl.h" #include "WString.h" @@ -46,4 +49,4 @@ class SslSessionId String value; }; -#endif /* SMINGCORE_NETWORK_SSLSESSIONID_H_ */ +#endif /* _SMING_CORE_NETWORK_SSL_SSL_SESSION_ID_H_ */ diff --git a/Sming/SmingCore/Network/Ssl/SslStructs.h b/Sming/SmingCore/Network/Ssl/SslStructs.h index 4b220dd415..afd5f0b9bf 100644 --- a/Sming/SmingCore/Network/Ssl/SslStructs.h +++ b/Sming/SmingCore/Network/Ssl/SslStructs.h @@ -3,10 +3,13 @@ * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. + * + * SslStructs.h + * ****/ -#ifndef SMINGCORE_NETWORK_SSL_SSLSTRUCTS_H_ -#define SMINGCORE_NETWORK_SSL_SSLSTRUCTS_H_ +#ifndef _SMING_CORE_NETWORK_SSL_SSL_STRUCTS_H_ +#define _SMING_CORE_NETWORK_SSL_SSL_STRUCTS_H_ #include "SslFingerprints.h" #include "SslKeyCertPair.h" @@ -20,4 +23,4 @@ typedef SslSessionId SSLSessionId SMING_DEPRECATED; ///< @deprecated Use SslS typedef SslFingerprints SSLFingerprints SMING_DEPRECATED; ///< @deprecated Use SslFingerprints instead typedef SslFingerprintType SSLFingerprintType SMING_DEPRECATED; ///< @deprecated Use SslFingerprintType instead -#endif /* SMINGCORE_NETWORK_SSL_SSLSTRUCTS_H_ */ +#endif /* _SMING_CORE_NETWORK_SSL_SSL_STRUCTS_H_ */ diff --git a/Sming/SmingCore/Network/Ssl/SslValidator.cpp b/Sming/SmingCore/Network/Ssl/SslValidator.cpp index 8644e0f0c2..495f100e18 100644 --- a/Sming/SmingCore/Network/Ssl/SslValidator.cpp +++ b/Sming/SmingCore/Network/Ssl/SslValidator.cpp @@ -4,6 +4,8 @@ * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. * + * SslValidator.cpp + * * @author: 2018 - Slavey Karadzhov * ****/ diff --git a/Sming/SmingCore/Network/Ssl/SslValidator.h b/Sming/SmingCore/Network/Ssl/SslValidator.h index 4eaca7ff69..0c12653abc 100644 --- a/Sming/SmingCore/Network/Ssl/SslValidator.h +++ b/Sming/SmingCore/Network/Ssl/SslValidator.h @@ -4,6 +4,8 @@ * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. * + * SslValidator.h + * * @author: 2018 - Slavey Karadzhov * ****/ @@ -13,8 +15,8 @@ * @{ */ -#ifndef _SMING_CORE_SSLVALIDATOR_H_ -#define _SMING_CORE_SSLVALIDATOR_H_ +#ifndef _SMING_CORE_SSL_VALIDATOR_H_ +#define _SMING_CORE_SSL_VALIDATOR_H_ #include "ssl/ssl.h" #include "ssl/tls1.h" @@ -76,4 +78,4 @@ class SslValidatorList : private Vector }; /** @} */ -#endif /* _SMING_CORE_SSLVALIDATOR_H_ */ +#endif /* _SMING_CORE_SSL_VALIDATOR_H_ */ diff --git a/Sming/SmingCore/Network/TcpClient.cpp b/Sming/SmingCore/Network/TcpClient.cpp index afc4d1b187..8f4e978d26 100644 --- a/Sming/SmingCore/Network/TcpClient.cpp +++ b/Sming/SmingCore/Network/TcpClient.cpp @@ -3,6 +3,9 @@ * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. + * + * TcpClient.cpp + * ****/ #include "TcpClient.h" diff --git a/Sming/SmingCore/Network/TcpClient.h b/Sming/SmingCore/Network/TcpClient.h index 6162750d95..8bbfb5dadc 100644 --- a/Sming/SmingCore/Network/TcpClient.h +++ b/Sming/SmingCore/Network/TcpClient.h @@ -3,6 +3,9 @@ * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. + * + * TcpClient.h + * ****/ /** @defgroup tcpclient Clients @@ -11,8 +14,8 @@ * @{ */ -#ifndef _SMING_CORE_TCPCLIENT_H_ -#define _SMING_CORE_TCPCLIENT_H_ +#ifndef _SMING_CORE_NETWORK_TCP_CLIENT_H_ +#define _SMING_CORE_NETWORK_TCP_CLIENT_H_ #include "TcpConnection.h" #include "Delegate.h" @@ -200,4 +203,4 @@ class TcpClient : public TcpConnection }; /** @} */ -#endif /* _SMING_CORE_TCPCLIENT_H_ */ +#endif /* _SMING_CORE_NETWORK_TCP_CLIENT_H_ */ diff --git a/Sming/SmingCore/Network/TcpConnection.cpp b/Sming/SmingCore/Network/TcpConnection.cpp index 08f7e766ea..cc841738e3 100644 --- a/Sming/SmingCore/Network/TcpConnection.cpp +++ b/Sming/SmingCore/Network/TcpConnection.cpp @@ -3,6 +3,9 @@ * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. + * + * TcpConnection.cpp + * ****/ #include "TcpConnection.h" diff --git a/Sming/SmingCore/Network/TcpConnection.h b/Sming/SmingCore/Network/TcpConnection.h index 4ee29a5e1d..e06ae4e801 100644 --- a/Sming/SmingCore/Network/TcpConnection.h +++ b/Sming/SmingCore/Network/TcpConnection.h @@ -3,6 +3,9 @@ * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. + * + * TcpConnection.h + * ****/ /** @defgroup tcp TCP @@ -10,8 +13,8 @@ * @{ */ -#ifndef _SMING_CORE_TCPCONNECTION_H_ -#define _SMING_CORE_TCPCONNECTION_H_ +#ifndef _SMING_CORE_NETWORK_TCP_CONNECTION_H_ +#define _SMING_CORE_NETWORK_TCP_CONNECTION_H_ #ifdef ENABLE_SSL #include "../axtls-8266/compat/lwipr_compat.h" @@ -296,4 +299,4 @@ class TcpConnection }; /** @} */ -#endif /* _SMING_CORE_TCPCONNECTION_H_ */ +#endif /* _SMING_CORE_NETWORK_TCP_CONNECTION_H_ */ diff --git a/Sming/SmingCore/Network/TcpServer.cpp b/Sming/SmingCore/Network/TcpServer.cpp index dc0971a72d..23e2d5127a 100644 --- a/Sming/SmingCore/Network/TcpServer.cpp +++ b/Sming/SmingCore/Network/TcpServer.cpp @@ -3,6 +3,9 @@ * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. + * + * TcpServer.cpp + * ****/ #include "TcpServer.h" diff --git a/Sming/SmingCore/Network/TcpServer.h b/Sming/SmingCore/Network/TcpServer.h index f72457aca7..9f270872bf 100644 --- a/Sming/SmingCore/Network/TcpServer.h +++ b/Sming/SmingCore/Network/TcpServer.h @@ -3,6 +3,9 @@ * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. + * + * TcpServer.h + * ****/ /** @defgroup tcpserver Servers @@ -12,8 +15,8 @@ * @{ */ -#ifndef _SMING_CORE_TCPSERVER_H_ -#define _SMING_CORE_TCPSERVER_H_ +#ifndef _SMING_CORE_NETWORK_TCP_SERVER_H_ +#define _SMING_CORE_NETWORK_TCP_SERVER_H_ #include "TcpConnection.h" #include "TcpClient.h" @@ -116,4 +119,4 @@ class TcpServer : public TcpConnection }; /** @} */ -#endif /* _SMING_CORE_TCPSERVER_H_ */ +#endif /* _SMING_CORE_NETWORK_TCP_SERVER_H_ */ diff --git a/Sming/SmingCore/Network/TelnetServer.cpp b/Sming/SmingCore/Network/TelnetServer.cpp index da9c2e802c..86810653bc 100644 --- a/Sming/SmingCore/Network/TelnetServer.cpp +++ b/Sming/SmingCore/Network/TelnetServer.cpp @@ -1,9 +1,15 @@ -/* - * telnetServer.cpp +/**** + * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development. + * Created 2015 by Skurydin Alexey + * http://github.com/anakod/Sming + * All files of the Sming Core are provided under the LGPL v3 license. + * + * TelnetServer.cpp * * Created on: 18 apr. 2015 * Author: Herman - */ + * + ****/ #include "TelnetServer.h" #include "Debug.h" diff --git a/Sming/SmingCore/Network/TelnetServer.h b/Sming/SmingCore/Network/TelnetServer.h index 6756a4ceee..d66228c35b 100644 --- a/Sming/SmingCore/Network/TelnetServer.h +++ b/Sming/SmingCore/Network/TelnetServer.h @@ -1,9 +1,15 @@ -/* - * telnetServer.h +/**** + * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development. + * Created 2015 by Skurydin Alexey + * http://github.com/anakod/Sming + * All files of the Sming Core are provided under the LGPL v3 license. + * + * TelnetServer.h * * Created on: 18 apr. 2015 * Author: Herman - */ + * + ****/ /** @defgroup telnetserver Telnet server * @brief Provides Telnet server @@ -11,8 +17,8 @@ * @{ */ -#ifndef APP_TELNETSERVER_H_ -#define APP_TELNETSERVER_H_ +#ifndef _SMING_CORE_NETWORK_TELNET_SERVER_H_ +#define _SMING_CORE_NETWORK_TELNET_SERVER_H_ #include #include "Delegate.h" @@ -51,4 +57,4 @@ class TelnetServer : public TcpServer }; /** @} */ -#endif /* APP_TELNETSERVER_H_ */ +#endif /* _SMING_CORE_NETWORK_TELNET_SERVER_H_ */ diff --git a/Sming/SmingCore/Network/URL.cpp b/Sming/SmingCore/Network/URL.cpp index a2840ea38e..cf98347476 100644 --- a/Sming/SmingCore/Network/URL.cpp +++ b/Sming/SmingCore/Network/URL.cpp @@ -3,10 +3,13 @@ * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. + * + * URL.cpp + * + * Code based on http://stackoverflow.com/questions/2616011/easy-way-to-parse-a-url-in-c-cross-platform + * ****/ -// Code based on http://stackoverflow.com/questions/2616011/easy-way-to-parse-a-url-in-c-cross-platform - #include "URL.h" URL::URL() diff --git a/Sming/SmingCore/Network/URL.h b/Sming/SmingCore/Network/URL.h index c3be163602..8a28372c01 100644 --- a/Sming/SmingCore/Network/URL.h +++ b/Sming/SmingCore/Network/URL.h @@ -3,6 +3,9 @@ * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. + * + * URL.h + * ****/ /** @defgroup url URL @@ -15,7 +18,7 @@ #ifndef _SMING_CORE_NETWORK_URL_H_ #define _SMING_CORE_NETWORK_URL_H_ -#include "../../Wiring/WString.h" +#include "WString.h" #define DEFAULT_URL_PROTOCOL _F("http") #define HTTPS_URL_PROTOCOL _F("https") diff --git a/Sming/SmingCore/Network/UdpConnection.cpp b/Sming/SmingCore/Network/UdpConnection.cpp index a584ed96d1..8271b70f16 100644 --- a/Sming/SmingCore/Network/UdpConnection.cpp +++ b/Sming/SmingCore/Network/UdpConnection.cpp @@ -3,6 +3,9 @@ * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. + * + * UdpConnection.cpp + * ****/ #include "UdpConnection.h" diff --git a/Sming/SmingCore/Network/UdpConnection.h b/Sming/SmingCore/Network/UdpConnection.h index f9bcbcda9c..205450f8da 100644 --- a/Sming/SmingCore/Network/UdpConnection.h +++ b/Sming/SmingCore/Network/UdpConnection.h @@ -3,6 +3,9 @@ * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. + * + * UdpConnection.h + * ****/ /** @defgroup udp UDP @@ -11,8 +14,8 @@ * @{ */ -#ifndef SMINGCORE_NETWORK_UDPCONNECTION_H_ -#define SMINGCORE_NETWORK_UDPCONNECTION_H_ +#ifndef _SMING_CORE_NETWORK_UDP_CONNECTION_H_ +#define _SMING_CORE_NETWORK_UDP_CONNECTION_H_ #include "WiringFrameworkDependencies.h" #include "Delegate.h" @@ -83,4 +86,4 @@ class UdpConnection }; /** @} */ -#endif /* SMINGCORE_NETWORK_UDPCONNECTION_H_ */ +#endif /* _SMING_CORE_NETWORK_UDP_CONNECTION_H_ */ diff --git a/Sming/SmingCore/Network/WebConstants.cpp b/Sming/SmingCore/Network/WebConstants.cpp index 2a5f87bbd4..7dfaf58fd8 100644 --- a/Sming/SmingCore/Network/WebConstants.cpp +++ b/Sming/SmingCore/Network/WebConstants.cpp @@ -3,6 +3,9 @@ * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. + * + * WebConstants.cpp + * ****/ #include "WebConstants.h" diff --git a/Sming/SmingCore/Network/WebConstants.h b/Sming/SmingCore/Network/WebConstants.h index d378c8313f..74126ed640 100644 --- a/Sming/SmingCore/Network/WebConstants.h +++ b/Sming/SmingCore/Network/WebConstants.h @@ -3,6 +3,9 @@ * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. + * + * WebConstants.h + * ****/ /** @defgroup httpconsts HTTP constants to be used with HTTP client or HTTP server @@ -12,8 +15,8 @@ * @{ */ -#ifndef _SMING_CORE_NETWORK_WEBCONSTANTS_H_ -#define _SMING_CORE_NETWORK_WEBCONSTANTS_H_ +#ifndef _SMING_CORE_NETWORK_WEB_CONSTANTS_H_ +#define _SMING_CORE_NETWORK_WEB_CONSTANTS_H_ #include "WString.h" @@ -95,4 +98,4 @@ static inline String fromFullFileName(const String& fileName) }; // namespace ContentType /** @} */ -#endif /* _SMING_CORE_NETWORK_WEBCONSTANTS_H_ */ +#endif /* _SMING_CORE_NETWORK_WEB_CONSTANTS_H_ */ diff --git a/Sming/SmingCore/Network/WebsocketClient.cpp b/Sming/SmingCore/Network/WebsocketClient.cpp index 1d768f62cb..1cf4cb98e2 100644 --- a/Sming/SmingCore/Network/WebsocketClient.cpp +++ b/Sming/SmingCore/Network/WebsocketClient.cpp @@ -2,15 +2,15 @@ * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development. * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming + * All files of the Sming Core are provided under the LGPL v3 license. * - * WebsocketClient + * WebsocketClient.cpp * * @authors: * Originally - hrsavla * Refactored - Alexander V, Ribchansky * Refactored(2018) - Slavey Karadzhov * - * All files of the Sming Core are provided under the LGPL v3 license. ****/ #include "WebsocketClient.h" diff --git a/Sming/SmingCore/Network/WebsocketClient.h b/Sming/SmingCore/Network/WebsocketClient.h index fff7f66d32..01a04009ed 100644 --- a/Sming/SmingCore/Network/WebsocketClient.h +++ b/Sming/SmingCore/Network/WebsocketClient.h @@ -2,21 +2,21 @@ * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development. * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming + * All files of the Sming Core are provided under the LGPL v3 license. * - * WebsocketClient + * WebsocketClient.h * * @authors: * Originally - hrsavla * Refactored - Alexander V, Ribchansky * Refactored - Slavey Karadzhov * - * All files of the Sming Core are provided under the LGPL v3 license. ****/ //TODO: Add stream support for sending big chunks of data via websockets. -#ifndef _SMING_CORE_NETWORK_WEBSOCKETCLIENT_H -#define _SMING_CORE_NETWORK_WEBSOCKETCLIENT_H +#ifndef _SMING_CORE_NETWORK_WEBSOCKET_CLIENT_H_ +#define _SMING_CORE_NETWORK_WEBSOCKET_CLIENT_H_ #include "Http/HttpConnection.h" #include "Http/Websocket/WebsocketConnection.h" @@ -100,4 +100,4 @@ class WebsocketClient : protected WebsocketConnection }; /** @} */ -#endif /* _SMING_CORE_NETWORK_WEBSOCKETCLIENT_H */ +#endif /* _SMING_CORE_NETWORK_WEBSOCKET_CLIENT_H_ */ diff --git a/Sming/SmingCore/Network/rBootHttpUpdate.cpp b/Sming/SmingCore/Network/rBootHttpUpdate.cpp index 9e36d226d9..77ba7ff483 100644 --- a/Sming/SmingCore/Network/rBootHttpUpdate.cpp +++ b/Sming/SmingCore/Network/rBootHttpUpdate.cpp @@ -1,10 +1,16 @@ -/* +/**** + * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development. + * Created 2015 by Skurydin Alexey + * http://github.com/anakod/Sming + * All files of the Sming Core are provided under the LGPL v3 license. + * * rBootHttpUpdate.cpp * * Created on: 2015/09/03. * Author: Richard A Burton & Anakod * * Modified: 2017 - Slavey Karadzhov + * */ #include "rBootHttpUpdate.h" diff --git a/Sming/SmingCore/Network/rBootHttpUpdate.h b/Sming/SmingCore/Network/rBootHttpUpdate.h index 9cdc03dc37..9fbac06b68 100644 --- a/Sming/SmingCore/Network/rBootHttpUpdate.h +++ b/Sming/SmingCore/Network/rBootHttpUpdate.h @@ -1,14 +1,20 @@ -/* +/**** + * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development. + * Created 2015 by Skurydin Alexey + * http://github.com/anakod/Sming + * All files of the Sming Core are provided under the LGPL v3 license. + * * rBootHttpUpdate.h * * Created on: 2015/09/03. * Author: Richard A Burton & Anakod * * Modified: 2017 - Slavey Karadzhov - */ + * + ****/ -#ifndef SMINGCORE_NETWORK_RBOOTHTTPUPDATE_H_ -#define SMINGCORE_NETWORK_RBOOTHTTPUPDATE_H_ +#ifndef _SMING_CORE_NETWORK_RBOOT_HTTP_UPDATE_H_ +#define _SMING_CORE_NETWORK_RBOOT_HTTP_UPDATE_H_ #include "Data/Stream/DataSourceStream.h" #include "HttpClient.h" @@ -105,4 +111,4 @@ class rBootHttpUpdate : protected HttpClient HttpRequest* baseRequest = nullptr; }; -#endif /* SMINGCORE_NETWORK_RBOOTHTTPUPDATE_H_ */ +#endif /* _SMING_CORE_NETWORK_RBOOT_HTTP_UPDATE_H_ */ diff --git a/Sming/SmingCore/Platform/AccessPoint.cpp b/Sming/SmingCore/Platform/AccessPoint.cpp index 74640a427b..8847ee07ea 100644 --- a/Sming/SmingCore/Platform/AccessPoint.cpp +++ b/Sming/SmingCore/Platform/AccessPoint.cpp @@ -3,6 +3,9 @@ * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. + * + * AccessPoint.cpp + * ****/ #include "AccessPoint.h" diff --git a/Sming/SmingCore/Platform/AccessPoint.h b/Sming/SmingCore/Platform/AccessPoint.h index dcc320ac5a..59195d9f3c 100644 --- a/Sming/SmingCore/Platform/AccessPoint.h +++ b/Sming/SmingCore/Platform/AccessPoint.h @@ -3,6 +3,9 @@ * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. + * + * AccessPoint.h + * ****/ /** @defgroup wifi_ap WiFi Access Point @@ -14,8 +17,8 @@ * @todo How is wifi access point dhcp controlled? */ -#ifndef SMINGCORE_PLATFORM_ACCESSPOINT_H_ -#define SMINGCORE_PLATFORM_ACCESSPOINT_H_ +#ifndef _SMING_CORE_PLATFORM_ACCESS_POINT_H_ +#define _SMING_CORE_PLATFORM_ACCESS_POINT_H_ #include "System.h" #include "WString.h" @@ -116,4 +119,4 @@ class AccessPointClass : protected ISystemReadyHandler */ extern AccessPointClass WifiAccessPoint; -#endif /* SMINGCORE_PLATFORM_ACCESSPOINT_H_ */ +#endif /* _SMING_CORE_PLATFORM_ACCESS_POINT_H_ */ diff --git a/Sming/SmingCore/Platform/RTC.cpp b/Sming/SmingCore/Platform/RTC.cpp index 4508e9bbac..f70ddd10d9 100644 --- a/Sming/SmingCore/Platform/RTC.cpp +++ b/Sming/SmingCore/Platform/RTC.cpp @@ -1,4 +1,14 @@ -#include "../SmingCore/Platform/RTC.h" +/**** + * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development. + * Created 2015 by Skurydin Alexey + * http://github.com/anakod/Sming + * All files of the Sming Core are provided under the LGPL v3 license. + * + * RTC.cpp + * + ****/ + +#include "RTC.h" RtcClass::RtcClass() { diff --git a/Sming/SmingCore/Platform/RTC.h b/Sming/SmingCore/Platform/RTC.h index a9484e3ee0..fbfade4114 100644 --- a/Sming/SmingCore/Platform/RTC.h +++ b/Sming/SmingCore/Platform/RTC.h @@ -1,10 +1,20 @@ +/**** + * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development. + * Created 2015 by Skurydin Alexey + * http://github.com/anakod/Sming + * All files of the Sming Core are provided under the LGPL v3 license. + * + * RTC.h + * + ****/ + /** @defgroup rtc Real Time Clock * @brief Access to the real time clock * @note Provides ability to set and read the ESP8266 RTC. * @ingroup datetime */ -#ifndef SMINGCORE_RTC_H_ -#define SMINGCORE_RTC_H_ +#ifndef _SMING_CORE_PLATFORM_RTC_H_ +#define _SMING_CORE_PLATFORM_RTC_H_ #include "../Wiring/WiringFrameworkDependencies.h" @@ -73,4 +83,4 @@ class RtcClass * @ingroup rtc */ extern RtcClass RTC; -#endif /* SMINGCORE_RTC_H_ */ +#endif /* _SMING_CORE_PLATFORM_RTC_H_ */ diff --git a/Sming/SmingCore/Platform/Station.cpp b/Sming/SmingCore/Platform/Station.cpp index 93088f9640..37a7c59d9c 100644 --- a/Sming/SmingCore/Platform/Station.cpp +++ b/Sming/SmingCore/Platform/Station.cpp @@ -3,6 +3,9 @@ * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. + * + * Station.cpp + * ****/ #include "Station.h" diff --git a/Sming/SmingCore/Platform/Station.h b/Sming/SmingCore/Platform/Station.h index 4248a9fa26..2f3b57850d 100644 --- a/Sming/SmingCore/Platform/Station.h +++ b/Sming/SmingCore/Platform/Station.h @@ -3,6 +3,9 @@ * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. + * + * Station.h + * ****/ /** @defgroup wifi_sta WiFi Station Interface @@ -13,8 +16,8 @@ * @see \ref wifi_ap */ -#ifndef SMINGCORE_PLATFORM_STATION_H_ -#define SMINGCORE_PLATFORM_STATION_H_ +#ifndef _SMING_CORE_PLATFORM_STATION_H_ +#define _SMING_CORE_PLATFORM_STATION_H_ #include "System.h" #include "Delegate.h" @@ -299,4 +302,4 @@ class BssInfo extern StationClass WifiStation; /** @} */ -#endif /* SMINGCORE_PLATFORM_STATION_H_ */ +#endif /* _SMING_CORE_PLATFORM_STATION_H_ */ diff --git a/Sming/SmingCore/Platform/System.cpp b/Sming/SmingCore/Platform/System.cpp index 4e937e30af..ffd7f9b7c0 100644 --- a/Sming/SmingCore/Platform/System.cpp +++ b/Sming/SmingCore/Platform/System.cpp @@ -3,6 +3,9 @@ * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. + * + * System.cpp + * ****/ #include "System.h" diff --git a/Sming/SmingCore/Platform/System.h b/Sming/SmingCore/Platform/System.h index ccc8bc5b1c..e93b383d77 100644 --- a/Sming/SmingCore/Platform/System.h +++ b/Sming/SmingCore/Platform/System.h @@ -4,6 +4,7 @@ * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. * + * System.h * * @author: 14/8/2018 - mikee47 * @@ -13,14 +14,15 @@ * simplify application code, the callback is invoked immediately in this situation. * * Global task queue added to class, initialised at system startup. + * */ /** @defgroup system System * @brief Access to the ESP8266 system * @note Provides system control and monitoring of the ESP8266. */ -#ifndef SMINGCORE_PLATFORM_SYSTEM_H_ -#define SMINGCORE_PLATFORM_SYSTEM_H_ +#ifndef _SMING_CORE_PLATFORM_SYSTEM_H_ +#define _SMING_CORE_PLATFORM_SYSTEM_H_ #include "Delegate.h" @@ -195,4 +197,4 @@ class SystemClass extern SystemClass System; /** @} */ -#endif /* SMINGCORE_PLATFORM_SYSTEM_H_ */ +#endif /* _SMING_CORE_PLATFORM_SYSTEM_H_ */ diff --git a/Sming/SmingCore/Platform/WDT.cpp b/Sming/SmingCore/Platform/WDT.cpp index fe9bade3ce..0dc4d7d957 100644 --- a/Sming/SmingCore/Platform/WDT.cpp +++ b/Sming/SmingCore/Platform/WDT.cpp @@ -1,8 +1,14 @@ -/* +/**** + * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development. + * Created 2015 by Skurydin Alexey + * http://github.com/anakod/Sming + * All files of the Sming Core are provided under the LGPL v3 license. + * * WDT.cpp * * Created on: 06 àïð. 2015 ã. * Author: Anakod + * */ #include "WDT.h" diff --git a/Sming/SmingCore/Platform/WDT.h b/Sming/SmingCore/Platform/WDT.h index 836ff9e9e7..c5c1f36d5d 100644 --- a/Sming/SmingCore/Platform/WDT.h +++ b/Sming/SmingCore/Platform/WDT.h @@ -1,9 +1,16 @@ -/* +/**** + * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development. + * Created 2015 by Skurydin Alexey + * http://github.com/anakod/Sming + * All files of the Sming Core are provided under the LGPL v3 license. + * * WDT.h * * Created on: 06 ���. 2015 �. * Author: Anakod - */ + * + ****/ + /** @defgroup wdt Watchdog Timer * @brief Access to the ESP8266 watchdog timer * @note Provides control of the ESP8266 watchdog timer. @@ -11,8 +18,8 @@ * To use WDT, enable the WDT then poke it regularly with WDT.alive(); */ -#ifndef SMINGCORE_PLATFORM_WDT_H_ -#define SMINGCORE_PLATFORM_WDT_H_ +#ifndef _SMING_CORE_PLATFORM_WDT_H_ +#define _SMING_CORE_PLATFORM_WDT_H_ #include #include "System.h" @@ -53,4 +60,4 @@ class WDTClass : protected ISystemReadyHandler */ extern WDTClass WDT; -#endif /* SMINGCORE_PLATFORM_WDT_H_ */ +#endif /* _SMING_CORE_PLATFORM_WDT_H_ */ diff --git a/Sming/SmingCore/Platform/WifiEvents.cpp b/Sming/SmingCore/Platform/WifiEvents.cpp index 4817eafbab..2256085e8a 100644 --- a/Sming/SmingCore/Platform/WifiEvents.cpp +++ b/Sming/SmingCore/Platform/WifiEvents.cpp @@ -1,4 +1,9 @@ -/* +/**** + * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development. + * Created 2015 by Skurydin Alexey + * http://github.com/anakod/Sming + * All files of the Sming Core are provided under the LGPL v3 license. + * * WifiEvents.cpp * * Created on: 19 февр. 2016 г. diff --git a/Sming/SmingCore/Platform/WifiEvents.h b/Sming/SmingCore/Platform/WifiEvents.h index cd2291fc1d..13fe6487c7 100644 --- a/Sming/SmingCore/Platform/WifiEvents.h +++ b/Sming/SmingCore/Platform/WifiEvents.h @@ -1,12 +1,18 @@ -/* +/**** + * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development. + * Created 2015 by Skurydin Alexey + * http://github.com/anakod/Sming + * All files of the Sming Core are provided under the LGPL v3 license. + * * WifiEvents.h * * Created on: 19 февр. 2016 г. * Author: shurik - */ + * + ****/ -#ifndef SMINGCORE_PLATFORM_WIFIEVENTS_H_ -#define SMINGCORE_PLATFORM_WIFIEVENTS_H_ +#ifndef _SMING_CORE_PLATFORM_WIFI_EVENTS_H_ +#define _SMING_CORE_PLATFORM_WIFI_EVENTS_H_ #include "../SmingCore/Delegate.h" #include "../../Wiring/WString.h" @@ -48,4 +54,4 @@ class WifiEventsClass }; extern WifiEventsClass WifiEvents; -#endif /* SMINGCORE_PLATFORM_WIFIEVENTS_H_ */ +#endif /* _SMING_CORE_PLATFORM_WIFI_EVENTS_H_ */ diff --git a/Sming/SmingCore/SPI.cpp b/Sming/SmingCore/SPI.cpp index 63f80b653d..93dfd6026d 100644 --- a/Sming/SmingCore/SPI.cpp +++ b/Sming/SmingCore/SPI.cpp @@ -1,4 +1,4 @@ -/* +/**** * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development. * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming @@ -12,7 +12,7 @@ * Some code is derived from: * David Ogilvy (MetalPhreak) * - */ + ****/ #include "SPI.h" diff --git a/Sming/SmingCore/SPI.h b/Sming/SmingCore/SPI.h index 153d341720..fa975e831f 100644 --- a/Sming/SmingCore/SPI.h +++ b/Sming/SmingCore/SPI.h @@ -1,4 +1,4 @@ -/* +/**** * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development. * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming @@ -8,7 +8,9 @@ * * Created on: Mar 2, 2016 * Author: harry-boe + * */ + /** @defgroup hw_spi SPI Hardware support * @brief Provides hardware SPI support */ diff --git a/Sming/SmingCore/SPIBase.h b/Sming/SmingCore/SPIBase.h index e80bd664d6..1487ee7f35 100644 --- a/Sming/SmingCore/SPIBase.h +++ b/Sming/SmingCore/SPIBase.h @@ -10,12 +10,13 @@ * Author: harry-boe * */ + /** @defgroup base_spi SPI support classes * @brief Provides SPI support */ -#ifndef SMINGCORE_SPIBASE_H_ -#define SMINGCORE_SPIBASE_H_ +#ifndef _SMING_CORE_SPI_BASE_H_ +#define _SMING_CORE_SPI_BASE_H_ #include "SPISettings.h" @@ -69,4 +70,4 @@ class SPIBase SPISettings SPIDefaultSettings; }; -#endif /* SMINGCORE_SPIBASE_H_ */ +#endif /* _SMING_CORE_SPI_BASE_H_ */ diff --git a/Sming/SmingCore/SPISettings.h b/Sming/SmingCore/SPISettings.h index f19bdffb91..a09e56b7a1 100644 --- a/Sming/SmingCore/SPISettings.h +++ b/Sming/SmingCore/SPISettings.h @@ -1,9 +1,16 @@ -/* +/**** + * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development. + * Created 2015 by Skurydin Alexey + * http://github.com/SmingHub/Sming + * All files of the Sming Core are provided under the LGPL v3 license. + * * SPISettings.h * * Created on: Mar 2, 2016 * Author: harry - */ + * + ****/ + /** @defgroup base_spi SPI support classes * @brief Provides SPI support */ diff --git a/Sming/SmingCore/SPISoft.h b/Sming/SmingCore/SPISoft.h index c276c72b78..2cb25f729c 100644 --- a/Sming/SmingCore/SPISoft.h +++ b/Sming/SmingCore/SPISoft.h @@ -5,8 +5,9 @@ License: MIT Date: 15.07.2015 Descr: Implement software SPI for HW configs other than hardware SPI pins(GPIO 12,13,14) */ -#ifndef _SPI_SOFT_ -#define _SPI_SOFT_ + +#ifndef _SMING_CORE_SPI_SOFT_H_ +#define _SMING_CORE_SPI_SOFT_H_ #include "SPIBase.h" #include "SPISettings.h" @@ -82,4 +83,4 @@ class SPISoft : public SPIBase uint8_t m_delay; }; -#endif /*_SPI_SOFT_*/ +#endif /* _SMING_CORE_SPI_SOFT_H_ */ diff --git a/Sming/SmingCore/SimpleTimer.h b/Sming/SmingCore/SimpleTimer.h index 87b89ed9b9..8ea2ec87b1 100644 --- a/Sming/SmingCore/SimpleTimer.h +++ b/Sming/SmingCore/SimpleTimer.h @@ -4,6 +4,7 @@ * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. * + * SimpleTimer.h * * @author: 13 August 2018 - mikee47 * @@ -20,8 +21,8 @@ * @brief Provides basic OS timer functions */ -#ifndef _SMING_CORE_SIMPLETIMER_H_ -#define _SMING_CORE_SIMPLETIMER_H_ +#ifndef _SMING_CORE_SIMPLE_TIMER_H_ +#define _SMING_CORE_SIMPLE_TIMER_H_ extern "C" { #include "esp_systemapi.h" @@ -98,4 +99,4 @@ class SimpleTimer os_timer_t osTimer; }; -#endif /* _SMING_CORE_SIMPLETIMER_H_ */ +#endif /* _SMING_CORE_SIMPLE_TIMER_H_ */ diff --git a/Sming/SmingCore/SmingCore.h b/Sming/SmingCore/SmingCore.h index 97f59019a3..f1bd435853 100644 --- a/Sming/SmingCore/SmingCore.h +++ b/Sming/SmingCore/SmingCore.h @@ -3,6 +3,9 @@ * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. + * + * SmingCore.h + * ****/ #ifndef _SMING_CORE_H_ @@ -12,7 +15,7 @@ #include -#include "../Wiring/WiringFrameworkIncludes.h" +#include "WiringFrameworkIncludes.h" #include "Delegate.h" #include "Clock.h" diff --git a/Sming/SmingCore/SmingLocale.h b/Sming/SmingCore/SmingLocale.h index c2349e7cab..2e3d22c61b 100755 --- a/Sming/SmingCore/SmingLocale.h +++ b/Sming/SmingCore/SmingLocale.h @@ -1,13 +1,22 @@ -/** Localization is defined within SmingLocale.h -* Each locale has a unique ID (usually its international dial code, e.g. GB=44 -* The default locale is GB and the default values are those used by GB. -* To add a new locale: -* #define LOCALE_xx_yy zz (where xx_yy is the locale identifier and zz is the IDC) -* Override any variation from GB settings within a "#elifdef LOCALE_xx_yy zz" block -* Default settings are at end of file -*/ -#ifndef LOCALE_H_INCLUDED -#define LOCALE_H_INCLUDED +/**** + * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development. + * Created 2015 by Skurydin Alexey + * http://github.com/anakod/Sming + * All files of the Sming Core are provided under the LGPL v3 license. + * + * SmingLocale.h + * + * Localization is defined within SmingLocale.h + * Each locale has a unique ID (usually its international dial code, e.g. GB=44 + * The default locale is GB and the default values are those used by GB. + * To add a new locale: + * #define LOCALE_xx_yy zz (where xx_yy is the locale identifier and zz is the IDC) + * Override any variation from GB settings within a "#elifdef LOCALE_xx_yy zz" block + * Default settings are at end of file + */ + +#ifndef _SMING_CORE_SMING_LOCALE_H_ +#define _SMING_CORE_SMING_LOCALE_H_ // Define unique values for each locale (try to use ISD codes if appropriate) #define LOCALE_EN_US 1 @@ -71,4 +80,4 @@ #define LOCALE_DATE_TIME "%a %d %b %Y %X" #endif // LOCALE_DATE_TIME -#endif // LOCALE_H_INCLUDED +#endif /* _SMING_CORE_SMING_LOCALE_H_ */ diff --git a/Sming/SmingCore/SystemClock.cpp b/Sming/SmingCore/SystemClock.cpp index 1f2a6395d4..1f55c4bf0b 100644 --- a/Sming/SmingCore/SystemClock.cpp +++ b/Sming/SmingCore/SystemClock.cpp @@ -3,6 +3,9 @@ * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. + * + * SystemClock.cpp + * ****/ #include "SystemClock.h" diff --git a/Sming/SmingCore/SystemClock.h b/Sming/SmingCore/SystemClock.h index 23a4981236..f13827bbd5 100644 --- a/Sming/SmingCore/SystemClock.h +++ b/Sming/SmingCore/SystemClock.h @@ -3,6 +3,9 @@ * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. + * + * SystemClock.h + * ****/ /** @defgroup systemclock System clock functions @@ -10,8 +13,8 @@ * @brief Provides system clock functions */ -#ifndef SMINGCORE_SYSTEMCLOCK_H_ -#define SMINGCORE_SYSTEMCLOCK_H_ +#ifndef _SMING_CORE_SYSTEM_CLOCK_H_ +#define _SMING_CORE_SYSTEM_CLOCK_H_ #include "DateTime.h" #include "WString.h" @@ -91,4 +94,4 @@ class SystemClockClass extern SystemClockClass SystemClock; /** @} */ -#endif /* SMINGCORE_SYSTEMCLOCK_H_ */ +#endif /* _SMING_CORE_SYSTEM_CLOCK_H_ */ diff --git a/Sming/SmingCore/Timer.cpp b/Sming/SmingCore/Timer.cpp index fd6c1c4ce2..000833a5da 100644 --- a/Sming/SmingCore/Timer.cpp +++ b/Sming/SmingCore/Timer.cpp @@ -3,6 +3,9 @@ * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. + * + * Timer.cpp + * ****/ #include "Timer.h" diff --git a/Sming/SmingCore/Timer.h b/Sming/SmingCore/Timer.h index 1d4b5077a4..27f58e3d3f 100644 --- a/Sming/SmingCore/Timer.h +++ b/Sming/SmingCore/Timer.h @@ -3,6 +3,9 @@ * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. + * + * Timer.h + * ****/ /** @defgroup timer Timer functions diff --git a/Sming/SmingCore/Wire.h b/Sming/SmingCore/Wire.h index b7692c5c8f..7e290ab856 100644 --- a/Sming/SmingCore/Wire.h +++ b/Sming/SmingCore/Wire.h @@ -21,8 +21,8 @@ Modified April 2015 by Hrsto Gochkov (ficeto@ficeto.com) - alternative esp8266 support */ -#ifndef TwoWire_h -#define TwoWire_h +#ifndef _SMING_CORE_WIRE_H_ +#define _SMING_CORE_WIRE_H_ #include #include "Stream.h" @@ -101,4 +101,4 @@ class TwoWire : public Stream extern TwoWire Wire; #endif -#endif +#endif /* _SMING_CORE_WIRE_H_ */ diff --git a/Sming/SmingCore/pgmspace.h b/Sming/SmingCore/pgmspace.h index 311e0cfd0e..bd2235b418 100644 --- a/Sming/SmingCore/pgmspace.h +++ b/Sming/SmingCore/pgmspace.h @@ -1,2 +1,12 @@ +/**** + * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development. + * Created 2015 by Skurydin Alexey + * http://github.com/anakod/Sming + * All files of the Sming Core are provided under the LGPL v3 license. + * + * pgmspace.h + * + ****/ + #include "SmingCore.h" -#include "../Wiring/FakePgmSpace.h" +#include "FakePgmSpace.h" diff --git a/Sming/SmingCore/pins_arduino.h b/Sming/SmingCore/pins_arduino.h index 578d21074b..8104fa677b 100644 --- a/Sming/SmingCore/pins_arduino.h +++ b/Sming/SmingCore/pins_arduino.h @@ -3,12 +3,15 @@ * Created 2015 by Skurydin Alexey * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. + * + * pins_arduino.h + * ****/ // File name selected for compatibility -#ifndef WIRING_PINS_ARDUINO_H_ -#define WIRING_PINS_ARDUINO_H_ +#ifndef _SMING_CORE_PINS_ARDUINO_H_ +#define _SMING_CORE_PINS_ARDUINO_H_ #include "espinc/peri.h" @@ -33,4 +36,4 @@ extern const unsigned int A0; // Single ESP8266EX analog input pin (TOUT) 10 bit #define portInputRegister(port) ((volatile uint32_t*)&GPI) #define portModeRegister(port) ((volatile uint32_t*)&GPE) -#endif /* WIRING_PINS_ARDUINO_H_ */ +#endif /* _SMING_CORE_PINS_ARDUINO_H_ */ diff --git a/Sming/SmingCore/twi.h b/Sming/SmingCore/twi.h index b02b530c21..3296a53d6c 100644 --- a/Sming/SmingCore/twi.h +++ b/Sming/SmingCore/twi.h @@ -18,9 +18,11 @@ License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef SI2C_h -#define SI2C_h -#include "../Wiring/WiringFrameworkDependencies.h" + +#ifndef _SMING_CORE_TWI_H_ +#define _SMING_CORE_TWI_H_ + +#include "WiringFrameworkDependencies.h" #include "espinc/peri.h" #ifdef __cplusplus @@ -45,4 +47,4 @@ uint8_t twi_status(); } #endif -#endif \ No newline at end of file +#endif /* _SMING_CORE_TWI_H_ */ diff --git a/Sming/system/flashmem.c b/Sming/system/flashmem.c index 36157d0448..8725cbb884 100644 --- a/Sming/system/flashmem.c +++ b/Sming/system/flashmem.c @@ -4,6 +4,8 @@ * http://github.com/SmingHub/Sming * All files of the Sming Core are provided under the LGPL v3 license. * + * flashmem.c + * * Based on NodeMCU platform_flash * https://github.com/nodemcu/nodemcu-firmware * diff --git a/Sming/system/include/SerialBuffer.h b/Sming/system/include/SerialBuffer.h index 77491afb62..36e4aae775 100644 --- a/Sming/system/include/SerialBuffer.h +++ b/Sming/system/include/SerialBuffer.h @@ -4,12 +4,14 @@ * http://github.com/anakod/Sming * All files of the Sming Core are provided under the LGPL v3 license. * + * SerialBuffer.h + * * @author 22 Aug 2018 - mikee47 * ****/ -#ifndef _SERIAL_BUFFER_H_ -#define _SERIAL_BUFFER_H_ +#ifndef _SYSTEM_INCLUDE_SERIAL_BUFFER_H_ +#define _SYSTEM_INCLUDE_SERIAL_BUFFER_H_ /** @brief FIFO buffer used for both receive and transmit data * @note For receive operations, data is written via ISR and read via task @@ -170,4 +172,4 @@ struct SerialBuffer { uint8_t* buffer = nullptr; }; -#endif // _SERIAL_BUFFER_H_ +#endif // _SYSTEM_INCLUDE_SERIAL_BUFFER_H_ diff --git a/Sming/system/include/debug_progmem.h b/Sming/system/include/debug_progmem.h index 675441a13d..52cd72a22f 100644 --- a/Sming/system/include/debug_progmem.h +++ b/Sming/system/include/debug_progmem.h @@ -1,4 +1,9 @@ -/* +/**** + * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development. + * Created 2015 by Skurydin Alexey + * http://github.com/SmingHub/Sming + * All files of the Sming Core are provided under the LGPL v3 license. + * * debug_progmem.h * * Contains debug functions that facilitate using strings stored in flash(irom). @@ -6,9 +11,11 @@ * * Created on: 27.01.2017 * Author: (github.com/)ADiea - */ -#ifndef DEBUG_PROGMEM_H -#define DEBUG_PROGMEM_H + * + ****/ + +#ifndef _SYSTEM_INCLUDE_DEBUG_PROGMEM_H +#define _SYSTEM_INCLUDE_DEBUG_PROGMEM_H #include #include "FakePgmSpace.h" @@ -125,4 +132,4 @@ extern "C" { } #endif -#endif /*#ifndef DEBUG_PROGMEM_H*/ +#endif /* _SYSTEM_INCLUDE_DEBUG_PROGMEM_H */ diff --git a/Sming/system/include/esp_cplusplus.h b/Sming/system/include/esp_cplusplus.h index b3d1800c54..f1715690fe 100644 --- a/Sming/system/include/esp_cplusplus.h +++ b/Sming/system/include/esp_cplusplus.h @@ -1,5 +1,15 @@ -#ifndef __C_PLUS_PLUS_H__ -#define __C_PLUS_PLUS_H__ +/**** + * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development. + * Created 2015 by Skurydin Alexey + * http://github.com/SmingHub/Sming + * All files of the Sming Core are provided under the LGPL v3 license. + * + * esp_cplusplus.h + * + ****/ + +#ifndef _SYSTEM_INCLUDE_ESP_CPLUSPLUS_H_ +#define _SYSTEM_INCLUDE_ESP_CPLUSPLUS_H_ #ifdef __cplusplus extern "C" { @@ -14,4 +24,4 @@ extern void (*__init_array_end)(void); void cpp_core_initialize(); -#endif +#endif /* _SYSTEM_INCLUDE_ESP_CPLUSPLUS_H_ */ diff --git a/Sming/system/include/esp_systemapi.h b/Sming/system/include/esp_systemapi.h index 9e5c14f026..e65e2ad526 100644 --- a/Sming/system/include/esp_systemapi.h +++ b/Sming/system/include/esp_systemapi.h @@ -1,7 +1,17 @@ -// Based on mziwisky espmissingincludes.h && ESP8266_IoT_SDK_Programming Guide_v0.9.1.pdf && ESP SDK defines - -#ifndef __ESP_SYSTEM_API_H__ -#define __ESP_SYSTEM_API_H__ +/**** + * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development. + * Created 2015 by Skurydin Alexey + * http://github.com/SmingHub/Sming + * All files of the Sming Core are provided under the LGPL v3 license. + * + * esp_systemapi.h + * + * Based on mziwisky espmissingincludes.h && ESP8266_IoT_SDK_Programming Guide_v0.9.1.pdf && ESP SDK defines + * + ****/ + +#ifndef _SYSTEM_INCLUDE_ESP_SYSTEMAPI_H_ +#define _SYSTEM_INCLUDE_ESP_SYSTEMAPI_H_ #include #include @@ -127,4 +137,4 @@ extern void ets_isr_unmask(unsigned intr); typedef signed short file_t; -#endif +#endif /* _SYSTEM_INCLUDE_ESP_SYSTEMAPI_H_ */ diff --git a/Sming/system/include/espinc/c_types_compatible.h b/Sming/system/include/espinc/c_types_compatible.h index 0dccadbe28..2c9462fd0a 100644 --- a/Sming/system/include/espinc/c_types_compatible.h +++ b/Sming/system/include/espinc/c_types_compatible.h @@ -6,8 +6,8 @@ // Updated, compatible version of c_types.h // Just removed types declared in -#ifndef _ESP_C_TYPES_COMPATIBLE_H -#define _ESP_C_TYPES_COMPATIBLE_H +#ifndef _SYSTEM_INCLUDE_ESPINC_C_TYPES_COMPATIBLE_H_ +#define _SYSTEM_INCLUDE_ESPINC_C_TYPES_COMPATIBLE_H_ /*typedef unsigned char uint8_t; typedef signed char sint8_t; @@ -101,4 +101,4 @@ typedef unsigned char bool; #endif /* !__cplusplus */ -#endif /* _C_TYPES_H_ */ +#endif /* _SYSTEM_INCLUDE_ESPINC_C_TYPES_COMPATIBLE_H_ */ diff --git a/Sming/system/include/espinc/lwip_includes.h b/Sming/system/include/espinc/lwip_includes.h index 5caf371448..3f76df603d 100644 --- a/Sming/system/include/espinc/lwip_includes.h +++ b/Sming/system/include/espinc/lwip_includes.h @@ -1,12 +1,12 @@ /* * lwip_includes.h * - * Created on: 23 ôåâð. 2015 ã. + * Created on: 23 ����. 2015 �. * Author: Anakonda */ -#ifndef SYSTEM_INCLUDE_ESPINC_LWIP_INCLUDES_H_ -#define SYSTEM_INCLUDE_ESPINC_LWIP_INCLUDES_H_ +#ifndef _SYSTEM_INCLUDE_ESPINC_LWIP_INCLUDES_H_ +#define _SYSTEM_INCLUDE_ESPINC_LWIP_INCLUDES_H_ #include #include @@ -16,4 +16,4 @@ #include #include -#endif /* SYSTEM_INCLUDE_ESPINC_LWIP_INCLUDES_H_ */ +#endif /* _SYSTEM_INCLUDE_ESPINC_LWIP_INCLUDES_H_ */ diff --git a/Sming/system/include/espinc/peri.h b/Sming/system/include/espinc/peri.h index d7b15e689f..36835bffab 100644 --- a/Sming/system/include/espinc/peri.h +++ b/Sming/system/include/espinc/peri.h @@ -19,8 +19,8 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef SYSTEM_INCLUDE_ESPINC_PERI_H_ -#define SYSTEM_INCLUDE_ESPINC_PERI_H_ +#ifndef _SYSTEM_INCLUDE_ESPINC_PERI_H_ +#define _SYSTEM_INCLUDE_ESPINC_PERI_H_ #ifdef __cplusplus extern "C" { @@ -851,4 +851,4 @@ extern const uint8_t esp8266_gpioToFn[16]; } #endif -#endif /* SYSTEM_INCLUDE_ESPINC_PERI_H_ */ +#endif /* _SYSTEM_INCLUDE_ESPINC_PERI_H_ */ diff --git a/Sming/system/include/espinc/spi_register.h b/Sming/system/include/espinc/spi_register.h index 4dd335b400..1cdac7f542 100644 --- a/Sming/system/include/espinc/spi_register.h +++ b/Sming/system/include/espinc/spi_register.h @@ -8,8 +8,8 @@ * names of these defines are likely to change. */ -#ifndef SPI_REGISTER_H_INCLUDED -#define SPI_REGISTER_H_INCLUDED +#ifndef _SYSTEM_INCLUDE_ESPINC_SPI_REGISTER_H_ +#define _SYSTEM_INCLUDE_ESPINC_SPI_REGISTER_H_ #define REG_SPI_BASE(i) (0x60000200-i*0x100) @@ -275,4 +275,5 @@ #define SPI_EXT3(i) (REG_SPI_BASE(i) + 0xFC) #define SPI_INT_HOLD_ENA 0x00000003 #define SPI_INT_HOLD_ENA_S 0 -#endif // SPI_REGISTER_H_INCLUDED + +#endif /* _SYSTEM_INCLUDE_ESPINC_SPI_REGISTER_H_ */ diff --git a/Sming/system/include/espinc/uart_register.h b/Sming/system/include/espinc/uart_register.h index 2b64ab2213..1e7effe436 100644 --- a/Sming/system/include/espinc/uart_register.h +++ b/Sming/system/include/espinc/uart_register.h @@ -4,8 +4,9 @@ * */ -#ifndef UART_REGISTER_H_INCLUDED -#define UART_REGISTER_H_INCLUDED +#ifndef _SYSTEM_INCLUDE_ESPINC_UART_REGISTER_H_ +#define _SYSTEM_INCLUDE_ESPINC_UART_REGISTER_H_ + #define REG_UART_BASE( i ) (0x60000000+(i)*0xf00) //version value:32'h062000 @@ -129,4 +130,5 @@ #define UART_DATE( i ) (REG_UART_BASE( i ) + 0x78) #define UART_ID( i ) (REG_UART_BASE( i ) + 0x7C) -#endif // UART_REGISTER_H_INCLUDED + +#endif /* _SYSTEM_INCLUDE_ESPINC_UART_REGISTER_H_ */ diff --git a/Sming/system/include/flashmem.h b/Sming/system/include/flashmem.h index 982763f630..6e1c31de66 100644 --- a/Sming/system/include/flashmem.h +++ b/Sming/system/include/flashmem.h @@ -9,8 +9,8 @@ * ****/ -#ifndef SYSTEM_FLASHMEM_H_ -#define SYSTEM_FLASHMEM_H_ +#ifndef _SYSTEM_INCLUDE_FLASHMEM_H_ +#define _SYSTEM_INCLUDE_FLASHMEM_H_ #ifdef __cplusplus extern "C" { @@ -161,4 +161,4 @@ uint32_t flashmem_get_first_free_block_address(); } #endif -#endif /* SYSTEM_FLASHMEM_H_ */ +#endif /* _SYSTEM_INCLUDE_FLASHMEM_H_ */ diff --git a/Sming/system/include/mem_manager.h b/Sming/system/include/mem_manager.h index 088170874e..fc1153a51e 100644 --- a/Sming/system/include/mem_manager.h +++ b/Sming/system/include/mem_manager.h @@ -1,10 +1,20 @@ -#ifndef __MEM_MANAGER_H__ -#define __MEM_MANAGER_H__ +/**** + * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development. + * Created 2015 by Skurydin Alexey + * http://github.com/SmingHub/Sming + * All files of the Sming Core are provided under the LGPL v3 license. + * + * mem_manager.h + * + ****/ + +#ifndef _SYSTEM_INCLUDE_MEM_MANAGER_H_ +#define _SYSTEM_INCLUDE_MEM_MANAGER_H_ //#include "c_types.h" #include -/*------------------------±äÁ¿¶¨Òå------------------------*/ +/*------------------------��������------------------------*/ #define MPU_WRAPPERS_INCLUDED_FROM_API_FILE #ifndef IOT_SIP_MODE @@ -62,7 +72,7 @@ static xBlockLink xStart, *pxEnd = NULL; //static size_t xFreeBytesRemaining = ( ( size_t ) configADJUSTED_HEAP_SIZE ) & ( ( size_t ) ~portBYTE_ALIGNMENT_MASK ); -/*------------------------º¯ÊýÉùÃ÷-----------------------------------*/ +/*------------------------��������-----------------------------------*/ static void prvInsertBlockIntoFreeList( xBlockLink *pxBlockToInsert ) ;//ICACHE_FLASH_ATTR; @@ -75,4 +85,4 @@ size_t xPortGetFreeHeapSize( void ) ;//ICACHE_FLASH_ATTR; void vPortInitialiseBlocks( void ) ;//ICACHE_FLASH_ATTR; /*-----------------------------------------------------------*/ -#endif +#endif /* _SYSTEM_INCLUDE_MEM_MANAGER_H_ */ diff --git a/Sming/system/include/rboot-integration.h b/Sming/system/include/rboot-integration.h index dd0132123b..21efd81241 100644 --- a/Sming/system/include/rboot-integration.h +++ b/Sming/system/include/rboot-integration.h @@ -1,5 +1,15 @@ -#ifndef __RBOOT_INTEGRATION_H__ -#define __RBOOT_INTEGRATION_H__ +/**** + * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development. + * Created 2015 by Skurydin Alexey + * http://github.com/SmingHub/Sming + * All files of the Sming Core are provided under the LGPL v3 license. + * + * rboot-integration.h + * + ****/ + +#ifndef _SYSTEM_INCLUDE_RBOOT_INTEGRATION_H_ +#define _SYSTEM_INCLUDE_RBOOT_INTEGRATION_H_ // prevent sming user_config.h being included #define __USER_CONFIG_H__ @@ -10,4 +20,4 @@ // missing prototypes for sdk functions #include -#endif /* __RBOOT_INTEGRATION_H__ */ +#endif /* _SYSTEM_INCLUDE_RBOOT_INTEGRATION_H_ */ diff --git a/Sming/system/include/stringconversion.h b/Sming/system/include/stringconversion.h index 4af5cd0170..d7decc4fbc 100644 --- a/Sming/system/include/stringconversion.h +++ b/Sming/system/include/stringconversion.h @@ -1,12 +1,18 @@ -/* +/**** + * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development. + * Created 2015 by Skurydin Alexey + * http://github.com/SmingHub/Sming + * All files of the Sming Core are provided under the LGPL v3 license. + * * StringConversion.h * - * Created on: 28 ÿíâ. 2015 ã. + * Created on: 28 ���. 2015 �. * Author: Anakonda - */ + * + ****/ -#ifndef INCLUDE_STRINGCONVERSION_H_ -#define INCLUDE_STRINGCONVERSION_H_ +#ifndef _SYSTEM_INCLUDE_STRINGCONVERSION_H_ +#define _SYSTEM_INCLUDE_STRINGCONVERSION_H_ #ifdef __cplusplus extern "C" { @@ -34,4 +40,4 @@ double os_atof(const char* s); } #endif -#endif /* INCLUDE_STRINGCONVERSION_H_ */ +#endif /* _SYSTEM_INCLUDE_STRINGCONVERSION_H_ */ diff --git a/Sming/system/include/stringutil.h b/Sming/system/include/stringutil.h index 56196f58f3..94d2855a6d 100644 --- a/Sming/system/include/stringutil.h +++ b/Sming/system/include/stringutil.h @@ -1,14 +1,20 @@ -/* +/**** + * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development. + * Created 2015 by Skurydin Alexey + * http://github.com/anakod/Sming + * All files of the Sming Core are provided under the LGPL v3 license. + * * StringUtil.h * * Contains utility functions for working with char strings. * * Created on: 26.01.2017 * Author: (github.com/)ADiea - */ + * + ****/ -#ifndef INCLUDE_STRINGUTIL_H_ -#define INCLUDE_STRINGUTIL_H_ +#ifndef _SYSTEM_INCLUDE_STRINGUTIL_H_ +#define _SYSTEM_INCLUDE_STRINGUTIL_H_ #ifdef __cplusplus extern "C" { @@ -64,4 +70,4 @@ static inline signed char unhex(char c) } #endif -#endif //INCLUDE_STRINGUTIL_H_ +#endif /* _SYSTEM_INCLUDE_STRINGUTIL_H_ */ diff --git a/Sming/system/stringconversion.cpp b/Sming/system/stringconversion.cpp index fdafe3a99c..42637a5909 100644 --- a/Sming/system/stringconversion.cpp +++ b/Sming/system/stringconversion.cpp @@ -1,3 +1,13 @@ +/**** + * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development. + * Created 2015 by Skurydin Alexey + * http://github.com/SmingHub/Sming + * All files of the Sming Core are provided under the LGPL v3 license. + * + * StringConversion.cpp + * + ****/ + #include #include #include diff --git a/Sming/system/stringutil.cpp b/Sming/system/stringutil.cpp index a75c2f4463..2bbfd87b8e 100644 --- a/Sming/system/stringutil.cpp +++ b/Sming/system/stringutil.cpp @@ -1,10 +1,16 @@ -/* +/**** + * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development. + * Created 2015 by Skurydin Alexey + * http://github.com/SmingHub/Sming + * All files of the Sming Core are provided under the LGPL v3 license. + * * StringUtil.cpp * * Contains utility functions for working with char strings. * * Created on: 26.01.2017 * Author: (github.com/)ADiea + * */ #include "stringutil.h" diff --git a/Sming/system/uart.cpp b/Sming/system/uart.cpp index 73cfe10156..9634d303ad 100644 --- a/Sming/system/uart.cpp +++ b/Sming/system/uart.cpp @@ -18,6 +18,10 @@ License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + @author 2018 mikee47 + + Additional features to support flexible transmit buffering and callbacks + */