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:
- 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");
