Tag temp fxns protected as they should be
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
This commit is contained in:
@@ -463,7 +463,7 @@ class TinyGsmSim5360 : public TinyGsmModem<TinyGsmSim5360>,
|
||||
/*
|
||||
* Temperature functions
|
||||
*/
|
||||
|
||||
protected:
|
||||
// get temperature in degree celsius
|
||||
float getTemperatureImpl() {
|
||||
// Enable Temparature Reading
|
||||
|
@@ -554,7 +554,7 @@ class TinyGsmSim7600 : public TinyGsmModem<TinyGsmSim7600>,
|
||||
/*
|
||||
* Temperature functions
|
||||
*/
|
||||
|
||||
protected:
|
||||
// get temperature in degree celsius
|
||||
uint16_t getTemperatureImpl() {
|
||||
sendAT(GF("+CPMUTEMP"));
|
||||
|
@@ -622,7 +622,7 @@ class TinyGsmSaraR4 : public TinyGsmModem<TinyGsmSaraR4>,
|
||||
/*
|
||||
* Temperature functions
|
||||
*/
|
||||
|
||||
protected:
|
||||
float getTemperatureImpl() {
|
||||
// First make sure the temperature is set to be in celsius
|
||||
sendAT(GF("+UTEMP=0")); // Would use 1 for Fahrenheit
|
||||
|
@@ -378,7 +378,7 @@ class TinyGsmSequansMonarch
|
||||
/*
|
||||
* Temperature functions
|
||||
*/
|
||||
|
||||
protected:
|
||||
float getTemperatureImpl() {
|
||||
sendAT(GF("+SMDTH"));
|
||||
if (waitResponse(10000L, GF("+SMDTH: ")) != 1) {
|
||||
|
Reference in New Issue
Block a user