Skip to content

Commit b1b4167

Browse files
authored
Update WiFi.h include Config()
Include WiFi.config() into header file for Static IP
1 parent b77ea50 commit b1b4167

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libraries/WiFi/src/WiFi.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ class WiFiClass : public MbedSocketClass {
8585
* must be between ASCII 32-126 (decimal).
8686
*/
8787
int begin(const char* ssid, const char* passphrase);
88+
89+
void config(const char* localip, const char* netmask, const char* gateway);
8890

8991
int beginAP(const char* ssid, const char* passphrase, uint8_t channel = DEFAULT_AP_CHANNEL);
9092

0 commit comments

Comments
 (0)