Overview
In this article:
Default FlexSense Firmware
The Myriota FlexSense comes pre-programmed with firmware that is configured to report location and temperature data (taken from the onboard sensor), four times per day.
If this behaviour is suited to your needs, you are ready to insert batteries and deploy to start sending messages.
If not, the FlexSense can be reprogrammed with new firmware to customise its behaviour to the specific needs of your use case or sensor type.
Writing Custom FlexSense Firmware
The Myriota Flex SDK Template provides users with the necessary boilerplate to get started writing custom application firmware for the Myriota FlexSense. For guidance on how to set up your development environment and get started, head to the Flex SDK & API documentation.
For a head start with developing your custom FlexSense firmware, check out the code examples available in the Flex SDK, or raise a support request to find out how Myriota’s Design Services team can help.
Reprogramming FlexSense
Once your firmware is ready to go, you can reprogram your FlexSense using the DeviceAssist app.
For instructions on how to reprogram with a new firmware binary, please refer to the Device Update section of the DeviceAssist User Guide.
Upgrading SDK on FlexSense
When a new version of FlexSDK is released, upgrading your FlexSense firmware is essential to access the latest features and improvements. This process involves updating both the system image and the application built against the new SDK.
1. Download the Latest System Image
Choose a method below that is suitable for you:
-
Using Device Manager
- Open Device Manager
- Download the latest system image for FlexSense available on the page
-
Using FlexSDK
- If FlexSDK is installed, run the
download_binaries.pyscript included in the SDK - Follow the instructions in the FlexSDK’s README to complete the download
- If FlexSDK is installed, run the
2. Get or Build the Application
Depending on your setup:
-
Using Standard Binaries
- Download the latest application binaries from Device Manager
-
Building a Custom Application
- Obtain the latest FlexSDK files
- Rebuild your application using the updated SDK to ensure compatibility
3. Program the Device
Once both components are ready, flash both the updated system image and the new application binary built against the latest FlexSDK
