- added missing categories in keywords.txt
- added dependency of ArduinoJson in library.properties (I didn't add LoRa and PubSubClient but think they should go there as well)
- reformatted paragraph on dependencies as list for better readability
Extra tokens at end of #endif directive are not allowed. Arudino IDE does not care but Platform IO does. The specification forbids is as well, so adding a comment behind the endif is a good compromise between overview and conformity.
Just two small additions making debugging a little bit more convenient:
- Added value of data to FDRSBase::load
- Added additional text tp FDRSLoRa::init
I find it very convenient for testing to have altering values within the sensor sketches, as it is easier to see if new values are arriving. Therefore replaced the fixed humidity value to a random value between 0-100.
Added the example sketch.
At the moment this resides in a separate folder but after the Universal_Gateway has been finished this could be moved into the Full_System_Example or a generic Gateway_Examples folder.
Put FDRS_DEBUG to top
Some formatting and further explanations on the settings.
Uncommented local LoRa settings, so by default the global fdrs settings are taken.
This makes the setup process easier and less error-prone.
This needs to be checked, especially in the new class-based model of sensors and gateways: First the global settings must be checked and the corresponding local settings for a sensor / gateway commented out.
Then either the one or other is saved in a FDRS_prefix variable. After that checks must soley be done against FDRS_variables.