This software example demonstrates the downlink capabilities of the SIGFOX network.

Dependencies:   QW_Sensors mbed

Fork of HelloWorld - QW Development kit by Quicksand micro-electronics

Revision:
3:4da15d6e1429
Parent:
2:a4a68a858624
Child:
4:1d707586e24d
--- a/main.cpp	Wed Apr 27 08:12:42 2016 +0000
+++ b/main.cpp	Mon May 02 12:04:13 2016 +0000
@@ -102,7 +102,7 @@
     sprintf(temperature, "%3.1f", tAvg);
     for(int i = 0; i < 5; i++)
         if(temperature[i]==0) temperature[i] = ' ';
-    sprintf(command, "AT$SF=42544e%x20%x%x%x%x%x43,2,0\n", btn+48, temperature[0],temperature[1],temperature[2],temperature[3],temperature[4]);
+    sprintf(command, "AT$SF=0142544e%x20%x%x%x%x%x43,2,0\n", btn+48, temperature[0],temperature[1],temperature[2],temperature[3],temperature[4]);
     pc.printf("Sending pressed button %d and temperature %s C over Sigfox.\n", btn, temperature);
     pc.printf("using modem command: %s", command);
     modem_command_check_ok(command);