Browse Source

Disable Phone Call functions

v_master
Volodymyr Shymanskyy 7 years ago
parent
commit
d50a3b3f53
1 changed files with 8 additions and 13 deletions
  1. +8
    -13
      TinyGsmClientM590.h

+ 8
- 13
TinyGsmClientM590.h View File

@ -387,7 +387,11 @@ public:
String getLocalIP() TINY_GSM_ATTR_NOT_IMPLEMENTED;
IPAddress localIP() TINY_GSM_ATTR_NOT_IMPLEMENTED;
IPAddress localIP() {
IPAddress res;
res.fromString(getLocalIP());
return res;
}
/*
* Phone Call functions
@ -395,22 +399,13 @@ public:
bool setGsmBusy(bool busy = true) TINY_GSM_ATTR_NOT_AVAILABLE;
bool callAnswer() {
sendAT(GF("A"));
return waitResponse() == 1;
}
bool callAnswer() TINY_GSM_ATTR_NOT_AVAILABLE;
bool callNumber(const String& number) {
sendAT(GF("D"), number);
return waitResponse() == 1;
}
bool callNumber(const String& number) TINY_GSM_ATTR_NOT_AVAILABLE;
bool callRedial() TINY_GSM_ATTR_NOT_AVAILABLE;
bool callHangup(const String& number) {
sendAT(GF("H"), number);
return waitResponse() == 1;
}
bool callHangup() TINY_GSM_ATTR_NOT_AVAILABLE;
/*
* Messaging functions


Loading…
Cancel
Save