File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 22
33## [ Unreleased]
44
5+ ### Changed
6+
7+ - Adopt ` bool isConnected() ` from ` Connection ` interface ([ #7 ] ( https://github.com/matth-x/MicroOcppMongoose/pull/7 ) )
8+
59### Added
610
711- ~ FTP over TLS support ([ #3 ] ( https://github.com/matth-x/MicroOcppMongoose/pull/3 ) )~ (see [ #5 ] ( https://github.com/matth-x/MicroOcppMongoose/pull/5 ) )
Original file line number Diff line number Diff line change 11// matth-x/MicroOcppMongoose
2- // Copyright Matthias Akstaller 2019 - 2023
2+ // Copyright Matthias Akstaller 2019 - 2024
33// GPL-3.0 License (see LICENSE)
44
5- #ifndef AOCPPMONGOOSECLIENT_H
6- #define AOCPPMONGOOSECLIENT_H
5+ #ifndef MO_MONGOOSECLIENT_H
6+ #define MO_MONGOOSECLIENT_H
77
88#if defined(ARDUINO) // fix for conflicting defitions of IPAddress on Arduino
99#include < Arduino.h>
@@ -108,6 +108,7 @@ class MOcppMongooseClient : public MicroOcpp::Connection {
108108
109109 void setConnectionOpen (bool open);
110110 bool isConnectionOpen () {return connection_established && !connection_closing;}
111+ bool isConnected () {return isConnectionOpen ();}
111112 void cleanConnection ();
112113
113114 void updateRcvTimer ();
You can’t perform that action at this time.
0 commit comments