This repository was archived by the owner on Sep 20, 2022. It is now read-only.
add configuration_over_nimble application#64
Open
HendrikVE wants to merge 2 commits intoRIOT-OS:masterfrom
Open
add configuration_over_nimble application#64HendrikVE wants to merge 2 commits intoRIOT-OS:masterfrom
HendrikVE wants to merge 2 commits intoRIOT-OS:masterfrom
Conversation
a71d184 to
7cb0abd
Compare
7cb0abd to
abd223c
Compare
Member
|
a first general comment: the name |
Author
Yes, you are right. I would say that |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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=eraseto 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.