We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 546529a commit df16fa7Copy full SHA for df16fa7
libraries/SocketWrapper/src/MbedClient.cpp
@@ -10,7 +10,7 @@ arduino::MbedClient::MbedClient()
10
}
11
12
uint8_t arduino::MbedClient::status() {
13
- return _status;
+ return (_status && (getNetwork()->get_connection_status() < NSAPI_STATUS_DISCONNECTED));
14
15
16
0 commit comments