Skip to content

LumenRadio/mira-examples

Repository files navigation

mira-examples

Repository containing Mira example applications.

General

To build the examples as is, place this repository inside the libmira folder. The LIBDIR make variable can be used to point to another location of libmira.

Dependencies

Libmira

To be able to run any of the examples provided in this repository, libmira is required.

nRF5-SDK

To build examples using nRF5-SDK, download nRF5-SDK from Nordic Semiconductor. Current supported version is 17.1.0.
Note, the original directory has a name similar to nRF5_SDK_17.1.0_ddde560 and has to be renamed to nrf5-sdk.
Then build the example as described in the example's README.md.

Examples available

Name Description
ADC example How to use the ADC driver
BLE example Example on setting up a BLE connection concurrently with MiraMesh networking
BLE beacon example Example sending BLE beacon
Blink example GPIO blinking LEDs
Blink sync client Synchronized blinking of LEDs
Blink sync server Synchronized blinking of LEDs
Custom module example How to register a custom module configuration
Flash write example Uses the Mira flash API to write some data into the FLASH memory area. It uses Mira processes to write asynchronously and verifies the resulting flash contents.
FOTA receiver Demo of FOTA reception process
FOTA receiver with bootloader FOTA interaction with bootloader
FOTA receiver with driver FOTA receiver with custom storage driver
FOTA sender Demo of FOTA sending process
FOTA sender with driver FOTA sender with custom storage driver
License validation example Use of mira_license_* API
Monitoring example Collection of network stats
Network extender Application agnostic range extender
Network receiver example Minimal root node
Network sender example Minimal mesh node
NFC example How to use NFC driver
RF-slots BLE beacon example How to use rf-slots API to send BLE beacons
SPI master example How to use SPI driver
Stdout example Redirecting stdout
UART over USB UART over USB