Browse Source

implement IPAddress localIP()

v_master
Volodymyr Shymanskyy 7 years ago
parent
commit
8511ec054c
2 changed files with 10 additions and 2 deletions
  1. +5
    -1
      TinyGsmClientA6.h
  2. +5
    -1
      TinyGsmClientSIM800.h

+ 5
- 1
TinyGsmClientA6.h View File

@ -384,7 +384,11 @@ public:
return res;
}
IPAddress localIP() TINY_GSM_ATTR_NOT_IMPLEMENTED;
IPAddress localIP() {
IPAddress res;
res.fromString(getLocalIP());
return res;
}
/*
* Phone Call functions


+ 5
- 1
TinyGsmClientSIM800.h View File

@ -473,7 +473,11 @@ public:
return res;
}
IPAddress localIP() TINY_GSM_ATTR_NOT_IMPLEMENTED;
IPAddress localIP() {
IPAddress res;
res.fromString(getLocalIP());
return res;
}
/*
* Phone Call functions


Loading…
Cancel
Save