mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-02 14:22:55 +03:00
- Make everything const by default.
- Remove setMeshInstance method from RequestData class. - Remove delay(50) and WiFi.disconnect() from setup() in the examples since those statements do not seem to have an effect any longer. - Improve documentation.
This commit is contained in:
@ -34,12 +34,12 @@ public:
|
||||
/**
|
||||
* Automatically fill in the rest of the network info using networkIndex and the WiFi scan results.
|
||||
*/
|
||||
EspnowNetworkInfo(int networkIndex);
|
||||
EspnowNetworkInfo(const int networkIndex);
|
||||
|
||||
EspnowNetworkInfo(const NetworkInfoBase &originalNetworkInfo);
|
||||
|
||||
EspnowNetworkInfo(const uint8_t BSSID[6], const String &SSID = defaultSSID, int32_t wifiChannel = defaultWifiChannel, uint8_t encryptionType = defaultEncryptionType,
|
||||
int32_t RSSI = defaultRSSI, bool isHidden = defaultIsHidden);
|
||||
EspnowNetworkInfo(const uint8_t BSSID[6], const String &SSID = defaultSSID, const int32_t wifiChannel = defaultWifiChannel, const uint8_t encryptionType = defaultEncryptionType,
|
||||
const int32_t RSSI = defaultRSSI, const bool isHidden = defaultIsHidden);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user