This project simulates a network of smart devices, including TV, Refrigerator, Light, Camera, and Thermostat, with both client and server implementations. It is organized into several folders:
-
client/
Contains the client-side application source code (client/Client.cpp, client/Client.h) and Visual Studio project files. -
server/
Contains the server-side application source code (server/Server.cpp, server/Server.h), device headers (e.g., server/Camera.h), and Visual Studio project files. -
test-client/
Contains unit tests for the client, including test-client/Client.cpp and the testing framework test-client/doctest.h. -
report/
Contains the project report (report/BTN415_PROJECT_REPORT (1).docx) with more details about the design, implementation, and usage.
-
Open the solution file
- For client:
client/project_btn415_with_menu_client.sln - For server:
server/project_btn415_with_menu.sln
- For client:
-
Build the project using Visual Studio.
-
Run the executables to start the client and server applications.
Unit tests for the client are available in the test-client/ folder.
Run the tests using the provided Visual Studio project.
For more details about the project, refer to the report available in the report/ folder.