-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
First iteration of air_quality API based on the temperature API #16
base: master
Are you sure you want to change the base?
First iteration of air_quality API based on the temperature API #16
Commits on Mar 27, 2023
-
First iteration of air_quality API
I've written the base of air_quality API, next I will add a fake sensor for testing the API, including unit testing for the fake sensor
Configuration menu - View commit details
-
Copy full SHA for 70467b8 - Browse repository at this point
Copy the full SHA 70467b8View commit details -
Modified the API to include the suggested changes
I've removed the `AirQualityListener` and used a `Cell<Option<(u32,)>>` instead. I've added a private Enum for choosing what kind of data reading to execute, a private method that uses this Enum and two other public functions as wrappers.
Configuration menu - View commit details
-
Copy full SHA for 47f5278 - Browse repository at this point
Copy the full SHA 47f5278View commit details
Commits on Mar 30, 2023
-
I've added a fake `AirQuality` driver and some integration tests for it. Every test is passed and should reflect the behaviour of the real driver.
Configuration menu - View commit details
-
Copy full SHA for bfd3784 - Browse repository at this point
Copy the full SHA bfd3784View commit details
Commits on Apr 4, 2023
-
Added unittests for AirQuality API
I've added unittests for each function of the AirQuality API, all pass as expected. Documentation for the API will be part of the next commit.
Configuration menu - View commit details
-
Copy full SHA for 8fe570b - Browse repository at this point
Copy the full SHA 8fe570bView commit details
Commits on Apr 13, 2023
-
Added suggested changes to AirQuality API
Added the suggested changes, including the `read_sync` function that return a tuple of both CO2 and TVOC values. Improved the unittests for the fake driver and added a unittest for the new function.
Configuration menu - View commit details
-
Copy full SHA for 5afcd38 - Browse repository at this point
Copy the full SHA 5afcd38View commit details
Commits on Apr 19, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 6e82822 - Browse repository at this point
Copy the full SHA 6e82822View commit details
Commits on May 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 44b5247 - Browse repository at this point
Copy the full SHA 44b5247View commit details
Commits on May 16, 2023
-
I've added back the dedicated listener for this API and rewritten the returning errors of some functions.
Configuration menu - View commit details
-
Copy full SHA for 6873b50 - Browse repository at this point
Copy the full SHA 6873b50View commit details
Commits on May 18, 2023
-
Added documentation and fixed CI bug
I've added some documentation for the functions of the API and fixed an inclusion bug of the API in `tests.rs` that made the CI fail.
Configuration menu - View commit details
-
Copy full SHA for 35cd6b7 - Browse repository at this point
Copy the full SHA 35cd6b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 04f500a - Browse repository at this point
Copy the full SHA 04f500aView commit details