|
|
@ -134,6 +134,13 @@ public: |
|
|
|
return sock_connected; |
|
|
|
} |
|
|
|
virtual operator bool() { return connected(); } |
|
|
|
|
|
|
|
/* |
|
|
|
* Extended API |
|
|
|
*/ |
|
|
|
|
|
|
|
String remoteIP() TINY_GSM_ATTR_NOT_IMPLEMENTED; |
|
|
|
|
|
|
|
private: |
|
|
|
TinyGsm* at; |
|
|
|
uint8_t mux; |
|
|
@ -237,6 +244,10 @@ public: |
|
|
|
return waitResponse(10000L) == 1; |
|
|
|
} |
|
|
|
|
|
|
|
String getLocalIP() TINY_GSM_ATTR_NOT_IMPLEMENTED; |
|
|
|
|
|
|
|
IPAddress localIP() TINY_GSM_ATTR_NOT_IMPLEMENTED; |
|
|
|
|
|
|
|
private: |
|
|
|
|
|
|
|
int modemConnect(const char* host, uint16_t port, uint8_t mux) { |
|
|
|