This repository contains the C source code developed for a Programming Techniques course project at Hanoi University of Science and Technology.
The project simulates PM2.5 sensor data (Task 1), processes the data to identify outliers and calculate Air Quality Index (Task 2), and converts data into a byte-stream format for transmission (Task 3).
- Language: C
- Compiler: GCC
- Architecture:
- Task 1: Implements command-line argument parsing and data generation.
- Task 2: I implemented this section using a modular approach with four separate files to ensure better isolation of logic for data validation, outlier detection, and AQI calculation. (Note: While the academic requirement was for a single file, I chose this structure for better code maintainability).
- Task 3: Handles data conversion and checksum calculation.
- Tran Viet Quang: Primary developer of Task 1 and Task 2 logic.
- Ha Kieu Hai: Collaborator.