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
Merge pull request
#27
from beegee-tokyo/master
BG96
v_master
Sara Damiano
5 years ago
committed by
GitHub
parent
d85e83f049
a27d39c7f9
commit
a00428ea92
No known key found for this signature in database
GPG Key ID:
4AEE18F83AFDEB23
3 changed files
with
17 additions
and
4 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-2
README.md
+1
-1
src/TinyGsmClientA6.h
+15
-1
src/TinyGsmClientBG96.h
+ 1
- 2
README.md
View File
@ -116,9 +116,8 @@ Watch this repo for new updates! And of course, contributions are welcome ;)
- SIM800, SIM and SIM7000 only
- SIM800, SIM and SIM7000 only
**Credits**
**Credits**
- Primary Author/Contributor:
- Primary Author
s
/Contributor
s
:
- [
vshymanskyy
](
https://github.com/vshymanskyy
)
- [
vshymanskyy
](
https://github.com/vshymanskyy
)
- Digi XBee, editing of all modules:
- [
SRGDamia1
](
https://github.com/SRGDamia1/
)
- [
SRGDamia1
](
https://github.com/SRGDamia1/
)
- SIM7000:
- SIM7000:
- [
captFuture
](
https://github.com/captFuture/
)
- [
captFuture
](
https://github.com/captFuture/
)
+ 1
- 1
src/TinyGsmClientA6.h
View File
@ -596,7 +596,7 @@ protected:
return
len
;
return
len
;
}
}
bool
modemGetConnected
(
uint8_t
mux
)
{
bool
modemGetConnected
(
uint8_t
)
{
sendAT
(
GF
(
"
+CIPSTATUS
"
)
)
;
/
/
TODO
mux
?
sendAT
(
GF
(
"
+CIPSTATUS
"
)
)
;
/
/
TODO
mux
?
int
res
=
waitResponse
(
GF
(
"
,
\"
CONNECTED
\"
"
)
,
GF
(
"
,
\"
CLOSED
\"
"
)
,
GF
(
"
,
\"
CLOSING
\"
"
)
,
GF
(
"
,
\"
INITIAL
\"
"
)
)
;
int
res
=
waitResponse
(
GF
(
"
,
\"
CONNECTED
\"
"
)
,
GF
(
"
,
\"
CLOSED
\"
"
)
,
GF
(
"
,
\"
CLOSING
\"
"
)
,
GF
(
"
,
\"
INITIAL
\"
"
)
)
;
waitResponse
(
)
;
waitResponse
(
)
;
+ 15
- 1
src/TinyGsmClientBG96.h
View File
@ -341,7 +341,21 @@ TINY_GSM_MODEM_WAIT_FOR_NETWORK()
return
true
;
return
true
;
}
}
TINY_GSM_MODEM_GET_GPRS_IP_CONNECTED
(
)
/
/
TINY_GSM_MODEM_GET_GPRS_IP_CONNECTED
(
)
bool
isGprsConnected
(
)
{
sendAT
(
GF
(
"
+CGATT?
"
)
)
;
if
(
waitResponse
(
GF
(
GSM_NL
"
+CGATT:
"
)
)
!
=
1
)
{
return
false
;
}
int
res
=
stream
.
readStringUntil
(
'
\n
'
)
.
toInt
(
)
;
waitResponse
(
)
;
if
(
res
!
=
1
)
return
false
;
return
true
;
}
/*
/*
*
IP
Address
functions
*
IP
Address
functions
Write
Preview
Loading…
Cancel
Save