sigfox
Fork of Sigfox by
Diff: Sigfox.cpp
- Revision:
- 12:43a4b8ba4635
- Parent:
- 11:7e21590031dd
- Child:
- 13:9e1c2ea4742b
--- a/Sigfox.cpp Sat Sep 09 17:21:03 2017 +0000
+++ b/Sigfox.cpp Wed Jan 17 14:30:08 2018 +0000
@@ -6,7 +6,7 @@
return _at->recv("OK");
}
-bool Sigfox::send(const char *data, char* response) {
+/*bool Sigfox::send(const char *data, char* response) {
// If require a response add plus in message
if(response != NULL) {
// Add request response data
@@ -21,6 +21,18 @@
_at->send("AT$SF=%s", data);
return _at->recv("OK");
}
+}*/
+
+
+bool Sigfox::send(const char *data) {
+ // If require a response add plus in message
+ // Add request response data
+ _at->send("AT$SF=%s,1", data);
+ // Wait response from sigfox after send
+
+
+
+
}
bool Sigfox::setKey(bool type) {
