Sigfox library with integration of ATParser

Revision:
1:93450d8b2540
Parent:
0:5e0ae613c18c
Child:
2:d07e3b39ff74
--- a/Sigfox.cpp	Tue Apr 18 13:49:20 2017 +0000
+++ b/Sigfox.cpp	Tue Apr 18 15:05:57 2017 +0000
@@ -9,4 +9,19 @@
 bool Sigfox::send(const char *data) {
     _at->send("AT$SF=%s", data);
     return _at->recv("OK");
+}
+
+bool Sigfox::setPowerMode(uint8_t power) {
+    _at->send("AT$P=%d", power);
+    return _at->recv("OK");
+}
+
+void Sigfox::getID() {
+    _at->send("AT$I=10");
+    // TODO add return value
+}
+
+void Sigfox::getPAC() {
+    _at->send("AT$I=11");
+    // TODO add return value
 }
\ No newline at end of file