diff --git a/src/TinyGsmClientA6.h b/src/TinyGsmClientA6.h index 0983597..3a344fa 100644 --- a/src/TinyGsmClientA6.h +++ b/src/TinyGsmClientA6.h @@ -190,6 +190,8 @@ class TinyGsmA6 : public TinyGsmModem, bool sleepEnableImpl(bool enable = true) TINY_GSM_ATTR_NOT_AVAILABLE; + bool setPhoneFunctionalityImpl(uint8_t fun, bool reset = false) TINY_GSM_ATTR_NOT_IMPLEMENTED; + /* * Generic network functions */ diff --git a/src/TinyGsmClientESP8266.h b/src/TinyGsmClientESP8266.h index 9a8687a..38d8a50 100644 --- a/src/TinyGsmClientESP8266.h +++ b/src/TinyGsmClientESP8266.h @@ -200,6 +200,8 @@ class TinyGsmESP8266 : public TinyGsmModem, bool sleepEnableImpl(bool enable = true) TINY_GSM_ATTR_NOT_AVAILABLE; + bool setPhoneFunctionalityImpl(uint8_t fun, bool reset = false) TINY_GSM_ATTR_NOT_IMPLEMENTED; + /* * Generic network functions */ diff --git a/src/TinyGsmClientM95.h b/src/TinyGsmClientM95.h index a0878ab..16a07e0 100644 --- a/src/TinyGsmClientM95.h +++ b/src/TinyGsmClientM95.h @@ -226,6 +226,8 @@ class TinyGsmM95 : public TinyGsmModem, return waitResponse() == 1; } + bool setPhoneFunctionalityImpl(uint8_t fun, bool reset = false) TINY_GSM_ATTR_NOT_IMPLEMENTED; + /* * Generic network functions */ diff --git a/src/TinyGsmClientSequansMonarch.h b/src/TinyGsmClientSequansMonarch.h index 8f85edd..393a918 100644 --- a/src/TinyGsmClientSequansMonarch.h +++ b/src/TinyGsmClientSequansMonarch.h @@ -315,6 +315,8 @@ class TinyGsmSequansMonarch return waitResponse() == 1; } + bool setPhoneFunctionality(uint8_t fun, bool reset = false) TINY_GSM_ATTR_NOT_IMPLEMENTED; + /* * Generic network functions */ diff --git a/src/TinyGsmClientXBee.h b/src/TinyGsmClientXBee.h index e3b39a0..0669351 100644 --- a/src/TinyGsmClientXBee.h +++ b/src/TinyGsmClientXBee.h @@ -572,6 +572,8 @@ class TinyGsmXBee : public TinyGsmModem, bool sleepEnableImpl(bool enable = true) TINY_GSM_ATTR_NOT_IMPLEMENTED; + bool setPhoneFunctionalityImpl(uint8_t fun, bool reset = false) TINY_GSM_ATTR_NOT_IMPLEMENTED; + /* * Generic network functions */ diff --git a/src/TinyGsmModem.tpp b/src/TinyGsmModem.tpp index 519b3c4..b813bea 100644 --- a/src/TinyGsmModem.tpp +++ b/src/TinyGsmModem.tpp @@ -66,7 +66,7 @@ class TinyGsmModem { return thisModem().sleepEnableImpl(enable); } bool setPhoneFunctionality(uint8_t fun, bool reset = false) { - return thisModem().setPhoneFunctionality(fun, reset); + return thisModem().setPhoneFunctionalityImpl(fun, reset); } /* @@ -174,6 +174,8 @@ class TinyGsmModem { bool sleepEnableImpl(bool enable = true) TINY_GSM_ATTR_NOT_IMPLEMENTED; + bool setPhoneFunctionalityImpl(uint8_t fun, bool reset = false) TINY_GSM_ATTR_NOT_IMPLEMENTED; + /* * Generic network functions */