mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-04 01:23:50 +03:00
- Move all Strings to flash and optimize String usage, saving 4-5 kB of RAM.
- Replace const with constexpr where possible. - Use default constructor instead of copy constructor for IPAddress variable initialization. - Add MeshTypeConversionFunctions namespace around TypeConversionFunctions. - Add MeshUtilityFunctions namespace around UtilityFunctions. - Add ESP8266WIFIMESH_DISABLE_COMPATIBILITY preprocessor flag to retain compatibility with old code despite new namespaces. - Add setLogEntryLifetimeMs and setBroadcastResponseTimeoutMs methods to EspnowMeshBackend. - Move FloodingMesh constant definitions from header to .cpp file to reduce the risk of extra RAM consumption. - Add deactivateAP method to FloodingMesh. - Make deactivateAP static and add new non-static deactivateControlledAP method to MeshBackendBase. - Add example of how to transfer null values using multiStrings to HelloEspnow.ino. - Improve documentation. - Improve comments.
This commit is contained in:
@ -25,7 +25,7 @@
|
||||
#include "NetworkInfoBase.h"
|
||||
|
||||
uint8_t * const NetworkInfoBase::defaultBSSID = nullptr;
|
||||
const String NetworkInfoBase::defaultSSID = "";
|
||||
const String NetworkInfoBase::defaultSSID;
|
||||
const int32_t NetworkInfoBase::defaultWifiChannel = NETWORK_INFO_DEFAULT_INT;
|
||||
const uint8_t NetworkInfoBase::defaultEncryptionType = 0;
|
||||
const int32_t NetworkInfoBase::defaultRSSI = ~0;
|
||||
|
Reference in New Issue
Block a user