A first code example to get you started with the QW (GPS) Shield for SIGFOX development. It provides a serial connection to the modem over usb and transmits a SIGFOX message upon a button press.
HelloWorld QW Development kit
Preloaded code example
The QW development kits ship with this code example. This example allows you to talk straight to the TD1208 modem when using a virtual com port (note: local echo is off). This code-example also sends a SIGFOX message whenever you press a button. The message contains the button number and the measured environment temperature. The first byte is always 0x01.
More information and other example code can be found on the component page by clicking the link below: https://developer.mbed.org/components/QW-SIGFOX-Development-Kit/
History
Code cleanup.
2017-03-14, by quicksand [Tue, 14 Mar 2017 15:20:26 +0000] rev 6
Code cleanup.
Small update eliminating unnecessary if-clause.
2017-03-14, by quicksand [Tue, 14 Mar 2017 15:08:58 +0000] rev 5
Small update eliminating unnecessary if-clause.
Updated the function that sends out the SIGFOX command to be more robust.
2017-03-14, by quicksand [Tue, 14 Mar 2017 14:54:35 +0000] rev 4
Updated the function that sends out the SIGFOX command to be more robust.
Added header byte (0x01) to the sigfox packets that indicates this example.
2016-05-02, by quicksand [Mon, 02 May 2016 12:04:13 +0000] rev 3
Added header byte (0x01) to the sigfox packets that indicates this example.
Small update regarding temperature sensing. Only 5 samples are now used to calculate average instead of 40.
2016-04-27, by quicksand [Wed, 27 Apr 2016 08:12:42 +0000] rev 2
Small update regarding temperature sensing. Only 5 samples are now used to calculate average instead of 40.
This example now sends the measured temperature along with the button press!
2016-04-18, by quicksand [Mon, 18 Apr 2016 10:44:39 +0000] rev 1
This example now sends the measured temperature along with the button press!
First version of a simple code-example using the QW GPS Shield
2015-10-30, by quicksand [Fri, 30 Oct 2015 14:10:26 +0000] rev 0
First version of a simple code-example using the QW GPS Shield