diff --git a/README.md b/README.md index 100655a..807783a 100644 --- a/README.md +++ b/README.md @@ -41,12 +41,12 @@ const manager = new WiFiConnectionManager( ], (message) => { switch (msg) { - case WiFiConnectionManager.gotIP.connected: + case WiFiConnectionManager.connected: break; // still waiting for IP address - case WiFiConnectionManager.gotIP.gotIP: + case WiFiConnectionManager.gotIP: trace(`IP address ${Net.get("IP")}\n`); break; - case WiFiConnectionManager.gotIP.disconnected: + case WiFiConnectionManager.disconnected: break; // connection lost } }