File tree 3 files changed +1
-8
lines changed
libraries/SocketWrapper/src
3 files changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -65,12 +65,6 @@ uint8_t arduino::AClient::connected() {
65
65
return client->connected ();
66
66
}
67
67
68
- uint8_t arduino::AClient::status () {
69
- if (!client)
70
- return false ;
71
- return client->status ();
72
- }
73
-
74
68
IPAddress arduino::AClient::remoteIP () {
75
69
if (!client)
76
70
return INADDR_NONE;
Original file line number Diff line number Diff line change @@ -37,7 +37,6 @@ class AClient : public Client {
37
37
38
38
virtual explicit operator bool ();
39
39
virtual uint8_t connected ();
40
- uint8_t status ();
41
40
42
41
IPAddress remoteIP ();
43
42
uint16_t remotePort ();
Original file line number Diff line number Diff line change @@ -50,7 +50,6 @@ class MbedClient {
50
50
51
51
void setNetwork (NetworkInterface* network) {_network = network;}
52
52
53
- uint8_t status ();
54
53
int connect (SocketAddress socketAddress);
55
54
virtual int connect (IPAddress ip, uint16_t port);
56
55
virtual int connect (const char * host, uint16_t port);
@@ -108,6 +107,7 @@ class MbedClient {
108
107
rtos::Mutex* mutex = nullptr ;
109
108
unsigned long _timeout;
110
109
110
+ uint8_t status ();
111
111
void readSocket ();
112
112
void getStatus ();
113
113
};
You can’t perform that action at this time.
0 commit comments