1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-26 07:02:15 +03:00

- Use the new Crypto, TypeConversion and random() functionality added to the Arduino core, instead of the versions local to the mesh library.

- Rearrange class variables to minimize storage padding.

- Add protected getters for EspnowMeshBackend and MeshBackendBase components.

- Partially update README.md
This commit is contained in:
Anders
2020-05-18 22:09:34 +02:00
parent 595fb23128
commit f059e57322
34 changed files with 210 additions and 1573 deletions

View File

@ -291,6 +291,9 @@ public:
protected:
ConditionalPrinter *getConditionalPrinter();
const ConditionalPrinter *getConditionalPrinterConst() const;
/**
* @param latestTransmissionOutcomes The transmission outcomes vector to check.
*
@ -316,26 +319,27 @@ protected:
static std::shared_ptr<bool> _scanMutex;
ConditionalPrinter _conditionalPrinter;
private:
MeshBackendType _classType;
ConditionalPrinter _conditionalPrinter;
String _SSID;
String _SSIDPrefix;
String _SSIDRoot;
String _SSIDSuffix;
String _meshPassword;
uint8 _meshWiFiChannel;
String _message;
bool _scanHidden = false;
bool _apHidden = false;
requestHandlerType _requestHandler;
responseHandlerType _responseHandler;
networkFilterType _networkFilter;
transmissionOutcomesUpdateHookType _transmissionOutcomesUpdateHook = [](MeshBackendBase &){return true;};
uint8 _meshWiFiChannel;
bool _scanHidden = false;
bool _apHidden = false;
};
#endif