Browse Source

Mark call functions as TINY_GSM_ATTR_NOT_IMPLEMENTED

v_master
Volodymyr Shymanskyy 7 years ago
parent
commit
84a1c66733
1 changed files with 3 additions and 15 deletions
  1. +3
    -15
      TinyGsmClientU201.h

+ 3
- 15
TinyGsmClientU201.h View File

@ -434,7 +434,7 @@ public:
if (res != 1)
return false;
sendAT(GF("+CIFSR;E0")); // Another option is to use AT+CGPADDR=1
sendAT(GF("+CIFSR"));
if (waitResponse() != 1)
return false;
@ -459,24 +459,12 @@ public:
* Phone Call functions
*/
bool setGsmBusy(bool busy = true) {
sendAT(GF("+GSMBUSY="), busy ? 1 : 0);
return waitResponse() == 1;
}
bool setGsmBusy(bool busy = true) TINY_GSM_ATTR_NOT_IMPLEMENTED;
bool callAnswer() {
sendAT(GF("A"));
return waitResponse() == 1;
}
bool callAnswer() TINY_GSM_ATTR_NOT_IMPLEMENTED;
// Returns true on pick-up, false on error/busy
bool callNumber(const String& number) TINY_GSM_ATTR_NOT_IMPLEMENTED;
//bool callRedial() {
// sendAT(GF("DL"));
// return waitResponse() == 1;
//}
bool callHangup() TINY_GSM_ATTR_NOT_IMPLEMENTED;
/*


Loading…
Cancel
Save