Browse Source

Tag temp fxns protected as they should be

Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
v_master
Sara Damiano 5 years ago
parent
commit
75d228c545
4 changed files with 4 additions and 4 deletions
  1. +1
    -1
      src/TinyGsmClientSIM5360.h
  2. +1
    -1
      src/TinyGsmClientSIM7600.h
  3. +1
    -1
      src/TinyGsmClientSaraR4.h
  4. +1
    -1
      src/TinyGsmClientSequansMonarch.h

+ 1
- 1
src/TinyGsmClientSIM5360.h View File

@ -463,7 +463,7 @@ class TinyGsmSim5360 : public TinyGsmModem<TinyGsmSim5360>,
/*
* Temperature functions
*/
protected:
// get temperature in degree celsius
float getTemperatureImpl() {
// Enable Temparature Reading


+ 1
- 1
src/TinyGsmClientSIM7600.h View File

@ -554,7 +554,7 @@ class TinyGsmSim7600 : public TinyGsmModem<TinyGsmSim7600>,
/*
* Temperature functions
*/
protected:
// get temperature in degree celsius
uint16_t getTemperatureImpl() {
sendAT(GF("+CPMUTEMP"));


+ 1
- 1
src/TinyGsmClientSaraR4.h View File

@ -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


+ 1
- 1
src/TinyGsmClientSequansMonarch.h View File

@ -378,7 +378,7 @@ class TinyGsmSequansMonarch
/*
* Temperature functions
*/
protected:
float getTemperatureImpl() {
sendAT(GF("+SMDTH"));
if (waitResponse(10000L, GF("+SMDTH: ")) != 1) {


Loading…
Cancel
Save