Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of Sigfox by
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();
