This sample code is a reproduction of Sens'it Discovery's Magnet mode.
With the Magnet firmware, your Sens'it can send a Sigfox message using the Sens'it Discovery payload format every time a magnet is detected or removed from the device.
You can also force a message sending with a double press on the button.
This firmware is compatible with the sensit.io application.
To build this firmware, use the make magnet
command.
- Sens'it Team
- Copyright (c) 2018 Sigfox, All Rights Reserved.