This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
JSD
/
TinyGSM_Senseright
Watch
3
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
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
c3df44a65d
commit
75d228c545
4 changed files
with
4 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/TinyGsmClientSIM5360.h
+1
-1
src/TinyGsmClientSIM7600.h
+1
-1
src/TinyGsmClientSaraR4.h
+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
)
{
Write
Preview
Loading…
Cancel
Save