Sigfox library with integration of ATParser
Diff: Sigfox.cpp
- Revision:
- 5:66e05787ad5c
- Parent:
- 4:c77d5019b264
- Child:
- 6:799a482a7024
diff -r c77d5019b264 -r 66e05787ad5c Sigfox.cpp --- a/Sigfox.cpp Thu May 18 17:32:00 2017 +0000 +++ b/Sigfox.cpp Sat May 27 10:55:06 2017 +0000 @@ -45,6 +45,11 @@ return _at->recv("OK"); } +bool Sigfox::saveConfig() { + _at->send("AT$WR"); + return _at->recv("OK"); +} + void Sigfox::wakeup(DigitalInOut sig_rst, float time) { // Wake up sigfox sig_rst.output();