Host library for controlling a WiConnect enabled Wi-Fi module.
Dependents: wiconnect-ota_example wiconnect-web_setup_example wiconnect-test-console wiconnect-tcp_server_example ... more
Diff: internal/network/NetworkInterface.cpp
- Revision:
- 6:8a87a59d0d21
- Parent:
- 3:2dc2592bae5e
- Child:
- 16:7f1d6d359787
diff -r 8d91a87ebba2 -r 8a87a59d0d21 internal/network/NetworkInterface.cpp --- a/internal/network/NetworkInterface.cpp Mon Aug 11 04:00:39 2014 -0700 +++ b/internal/network/NetworkInterface.cpp Mon Aug 11 13:55:07 2014 -0700 @@ -182,6 +182,9 @@ if(!NetworkInterface::strToIp(wiconnect->internalBuffer, ip)) { result = WICONNECT_RESPONSE_PARSE_ERROR; + } + else + { wiconnect->internalProcessingState = FS_GET_NETMASK; } } @@ -194,6 +197,9 @@ if(!NetworkInterface::strToIp(wiconnect->internalBuffer, netmask)) { result = WICONNECT_RESPONSE_PARSE_ERROR; + } + else + { wiconnect->internalProcessingState = FS_GET_GATEWAY; } }