CodeForAfrica / sensors.AFRICA-AQ-sensors-software

sourcecode for reading sensor data
8 stars 10 forks source link

Refactor the airrohr-firmware #70

Open gideonmaina opened 2 months ago

gideonmaina commented 2 months ago

Make the codebase cleaner and leaner by refactoring/reorganizing these features among others:

  1. [x] Webserver components
  2. [x] Supported languages
  3. [x] WiFi configuration
  4. [x] Sensors libraries and functions
  5. [x] Loggers and displays
  6. [x] OTA update

The existing unstructured codebase is too long to follow along. Dumping **almost all functionalities in a single file is not a good practice if code readability is to be achieved**

gideonmaina commented 2 months ago

Hey @augustinemwendwa72 / @usmanbiu I have refactored system configs to a go to a utils folder. This includes serial loggers, wif config, network time, helper functions ... etc