This repository has been archived by the owner on Sep 20, 2022. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This application provides a simple Bluetooth LE service (via RIOT's NimBLE port) for device configuration purposes. The included bluetooth characteristics are taken from an application for a sensor node, which is placed in a specific room and transmits data to a MQTT-SN gateway.
The sent values are stored persistently in MCU's internal flash via RIOT's flashpage API.
There is an Android App specifically written for this application. Either build the app yourself from source,
download it from here or use Nordics "nRF Connect"-App, available for Android and iOS.
In the case you want to use Nordics app, you will need to write an empty string to the characteristic "890f7b6f-cecc-4e3e-ade2-5f2907867f4b" in the end of the configuration process to store the data permanently and to restart the device afterwards.
Currently the application is only running on nrf52dk and nrf52840dk boards.
Clean install
Add
JLINK_PRE_FLASH=erase
to your make command to erase the flash memory. That way you avoid data left in the storage, especially on the flash page used for configuration.