Difference between revisions of "Universal Code"
Jump to navigation
Jump to search
(2 intermediate revisions by the same user not shown) | |||
Line 10: | Line 10: | ||
From a code point of view, priority to first achieve automatic network selection. | From a code point of view, priority to first achieve automatic network selection. | ||
+ | It seems that AT+COPS only provides a list of available networks, the signal quality can only be obtained via AT+CSQ once registered to the desired network. | ||
== Key functions we need the universal code to achieve == | == Key functions we need the universal code to achieve == | ||
* No creation of new libraries yet | * No creation of new libraries yet | ||
− | * All the | + | * All the code should be in the same sketch folder |
+ | # one file per sensor type | ||
* Developed based on BoSL 0.5 | * Developed based on BoSL 0.5 | ||
* Users are able to: | * Users are able to: | ||
Line 23: | Line 25: | ||
# [alarm] or [program checking message] - e.g., check whether the URL is longer than 255 characters and output this result in text bar to avoid uploading issues | # [alarm] or [program checking message] - e.g., check whether the URL is longer than 255 characters and output this result in text bar to avoid uploading issues | ||
* Many of these settings should be adjustable from the SD card | * Many of these settings should be adjustable from the SD card | ||
+ | * Migrate to MQTT |
Latest revision as of 01:31, 9 February 2024
Hi Stephanio and Felix,
I want to use this page as a logbook for us to track the progress of the universal code development.
Let's start documenting all the work here.
8 February 2024
In the first step towards a universal code, we have gathered all the version of the BoSL logging code floating around. The next step on this front is to analyse them for similarities differences and functionality to see what should be taken forward when merging.
From a code point of view, priority to first achieve automatic network selection. It seems that AT+COPS only provides a list of available networks, the signal quality can only be obtained via AT+CSQ once registered to the desired network.
Key functions we need the universal code to achieve
- No creation of new libraries yet
- All the code should be in the same sketch folder
- one file per sensor type
- Developed based on BoSL 0.5
- Users are able to:
- change logging mode (constent logging interval or variable logging intervals)
- change scanning interval (for both variable logging and also storing the data to SD card)
- determine whether we want to calculate the average values or not
- automatically searching for the available network
- input the number and type of sensors which are connected to the board --> then get the program set up accordingly
- [alarm] or [program checking message] - e.g., check whether the URL is longer than 255 characters and output this result in text bar to avoid uploading issues
- Many of these settings should be adjustable from the SD card
- Migrate to MQTT