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
Fix isGprsConnected() for SIM8xx
v_master
Volodymyr Shymanskyy
7 years ago
parent
5d6a9afcf9
commit
3149c335fb
1 changed files
with
8 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+8
-1
TinyGsmClientSIM800.h
+ 8
- 1
TinyGsmClientSIM800.h
View File
@ -524,7 +524,14 @@ public:
}
int
res
=
stream
.
readStringUntil
(
'
\n
'
)
.
toInt
(
)
;
waitResponse
(
)
;
return
res
=
=
1
;
if
(
res
!
=
1
)
return
false
;
sendAT
(
GF
(
"
+CIFSR;E0
"
)
)
;
/
/
Another
option
is
to
use
AT
+
CGPADDR
=
1
if
(
waitResponse
(
)
!
=
1
)
return
false
;
return
true
;
}
String
getLocalIP
(
)
{
Write
Preview
Loading…
Cancel
Save