mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-13 13:01: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,7 +34,7 @@ public:
|
||||
/**
|
||||
* Automatically fill in the rest of the network info using networkIndex and the WiFi scan results.
|
||||
*/
|
||||
TcpIpNetworkInfo(int networkIndex);
|
||||
TcpIpNetworkInfo(const int networkIndex);
|
||||
|
||||
|
||||
TcpIpNetworkInfo(const NetworkInfoBase &originalNetworkInfo);
|
||||
@ -42,8 +42,8 @@ public:
|
||||
/**
|
||||
* Without giving wifiChannel and BSSID, connection time is longer.
|
||||
*/
|
||||
TcpIpNetworkInfo(const String &SSID, int32_t wifiChannel = defaultWifiChannel, const uint8_t BSSID[6] = defaultBSSID, uint8_t encryptionType = defaultEncryptionType,
|
||||
int32_t RSSI = defaultRSSI, bool isHidden = defaultIsHidden);
|
||||
TcpIpNetworkInfo(const String &SSID, const int32_t wifiChannel = defaultWifiChannel, const uint8_t BSSID[6] = defaultBSSID, const uint8_t encryptionType = defaultEncryptionType,
|
||||
const int32_t RSSI = defaultRSSI, const bool isHidden = defaultIsHidden);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user