implement IPAddress localIP()
This commit is contained in:
@@ -384,7 +384,11 @@ public:
|
|||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
IPAddress localIP() TINY_GSM_ATTR_NOT_IMPLEMENTED;
|
IPAddress localIP() {
|
||||||
|
IPAddress res;
|
||||||
|
res.fromString(getLocalIP());
|
||||||
|
return res;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Phone Call functions
|
* Phone Call functions
|
||||||
|
|||||||
@@ -473,7 +473,11 @@ public:
|
|||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
IPAddress localIP() TINY_GSM_ATTR_NOT_IMPLEMENTED;
|
IPAddress localIP() {
|
||||||
|
IPAddress res;
|
||||||
|
res.fromString(getLocalIP());
|
||||||
|
return res;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Phone Call functions
|
* Phone Call functions
|
||||||
|
|||||||
Reference in New Issue
Block a user