1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-24 19:42:27 +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

@ -70,11 +70,11 @@ public:
bool isHidden() const;
static uint8_t * const defaultBSSID;
static const uint8_t defaultEncryptionType;
static const bool defaultIsHidden;
static const String defaultSSID;
static const int32_t defaultWifiChannel;
static const uint8_t defaultEncryptionType;
static const int32_t defaultRSSI;
static const bool defaultIsHidden;
protected:
@ -90,12 +90,12 @@ protected:
private:
uint8_t _bssidArray[6] {0};
uint8_t *_BSSID = defaultBSSID;
String _SSID = defaultSSID;
int32_t _wifiChannel = defaultWifiChannel;
uint8_t _encryptionType = defaultEncryptionType; // see enum wl_enc_type for values
int32_t _RSSI = defaultRSSI;
uint8_t _bssidArray[6] {0};
uint8_t _encryptionType = defaultEncryptionType; // see enum wl_enc_type for values
bool _isHidden = defaultIsHidden;
};