Add localIP()

This commit is contained in:
Volodymyr Shymanskyy
2017-09-11 09:19:03 +03:00
parent 22e7464a08
commit 5b0e72f6bc
2 changed files with 9 additions and 6 deletions

View File

@@ -387,6 +387,8 @@ public:
String getLocalIP() TINY_GSM_ATTR_NOT_IMPLEMENTED;
IPAddress localIP() TINY_GSM_ATTR_NOT_IMPLEMENTED;
/*
* Phone Call functions
*/
@@ -448,7 +450,7 @@ public:
private:
int modemConnect(const char* host, uint16_t port, uint8_t mux) {
bool modemConnect(const char* host, uint16_t port, uint8_t mux) {
for (int i=0; i<3; i++) { // TODO: no need for loop?
String ip = dnsIpQuery(host);