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
getOperator() to return name instead of number
v_master
Volodymyr Shymanskyy
7 years ago
parent
bebbbc8d29
commit
f7983673da
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
TinyGsmClientA6.h
+ 3
- 0
TinyGsmClientA6.h
View File
@ -321,6 +321,9 @@ public:
}
String
getOperator
(
)
{
sendAT
(
GF
(
"
+COPS=3,0
"
)
)
;
/
/
Set
format
waitResponse
(
)
;
sendAT
(
GF
(
"
+COPS?
"
)
)
;
if
(
waitResponse
(
GF
(
GSM_NL
"
+COPS:
"
)
)
!
=
1
)
{
return
"
"
;
Write
Preview
Loading…
Cancel
Save