Sigfox library with integration of ATParser
Diff: Sigfox.cpp
- Revision:
- 4:c77d5019b264
- Parent:
- 3:279bed56f354
- Child:
- 5:66e05787ad5c
diff -r 279bed56f354 -r c77d5019b264 Sigfox.cpp --- a/Sigfox.cpp Mon May 01 08:26:05 2017 +0000 +++ b/Sigfox.cpp Thu May 18 17:32:00 2017 +0000 @@ -30,6 +30,11 @@ } } +bool Sigfox::setKey(bool type) { + _at->send("ATS410=%d", type); + return _at->recv("OK"); +} + bool Sigfox::setPower(uint8_t power) { _at->send("ATS302=%d", power); return _at->recv("OK");