We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b720897 commit 0977105Copy full SHA for 0977105
main.cpp
@@ -89,10 +89,11 @@ int main()
89
return error;
90
}
91
92
- while (NULL == mesh->get_ip_address())
+ SocketAddress sockAddr;
93
+ while (NSAPI_ERROR_OK != mesh->get_ip_address(&sockAddr))
94
ThisThread::sleep_for(500);
95
- printf("Connected. IP = %s\n", mesh->get_ip_address());
96
+ printf("Connected. IP = %s\n", sockAddr.get_ip_address());
97
98
#if MBED_CONF_APP_ENABLE_LED_CONTROL_EXAMPLE
99
// Network found, start socket example
mbed-os.lib
@@ -1 +1 @@
1
-https://github.com/ARMmbed/mbed-os/#679d24833acf0a0b5b0d528576bb37c70863bc4e
+https://github.com/ARMmbed/mbed-os/#888dfffabf9e77320ca0de5f2139f8b204043adc
0 commit comments