CS计算机代考程序代写 Hive Programming Assignment (426/580I Spring 2021)

Programming Assignment (426/580I Spring 2021)
In every second, Sensor 1 (Network ID = 1) measures the ambient light intensity, transmits a packet that carries the light intensity reading to Sensor 2 (Network ID = 2), and then toggles the led0.
In every two seconds, Sensor 1 measures the ambient humidity, transmits a packet that carries the humidity reading to Sensor 2, and then toggles the led1.
In every three seconds, Sensor 1 measures the ambient temperature, transmits a packet that carries the temperature reading, to Sensor 2, and then toggles the led2.
Sensor 2 toggles the led0 when receiving a light intensity reading and forwards the data to the computer.
Sensor 2 toggles the led1 when receiving a humidity reading and forwards the data to the computer.
Sensor 2 toggles the led2 when receiving a temperature reading and forwards the data to the computer.
Display the readings in the Cooja simulator.
Additional Requirements:
1. Please define a single type of packets and use it to carry all kinds of data.
2. Please use one implementation for both Sensor 1 and Sensor 2.
3. Please provide comments for each function block and a readme on how to compile and
run your code in the Cooja simulator.

Submission
Create a tar or zip archive and submit it in myCourses before the submission deadline. The submission link will disappear automatically after the deadline. Late submissions will not be accepted under any circumstances. Plan to turn in your assignment early. You can also email your code to buiotspring2021@gmail.com as backup. After the submission deadline, you are required to schedule a Zoom meeting with TA to explain your code and answer his/her questions before the demo deadline.
Please include the below academic honesty statement in your readme file:
¡°I have done this assignment completely on my own. I have not copied it, nor have I given my solution to anyone else. I understand that if I am involved in plagiarism or cheating I will have to sign an official form that I have cheated and that this form will be stored in my official university record. I also understand that I will receive a grade of 0 for the involved assignment for my first offense and that I will receive a grade of ¡°F¡± for the course for any additional offense.¡±
Grading Guidelines (30 points)
¡ñ Program does not have your academic honesty statement: -30 points
¡ñ Program is not implemented in NesC under TinyOS: -30 points
¡ñ Program cannot compile: -30 points
¡ñ Program cannot run properly: -25 points at least
¡ñ Program can run properly
¡ð Each logic error (e.g., using a wrong network ID, not toggling a LED correctly, not
display a reading properly): -5 points
¡ð Fail to meet each requirement: -5 points
¡ñ Demo
¡ð Fail to demo before the demo deadline: -30 points
¡ð Fail to explain the code: -25 points at least
¡ð Fail to answer questions: -5 points at least
¡ñ Others
¡ð Bad programming style (e.g., no indentation, using variable a, b, c): -5 points
¡ð Insufficient comments: -5 points
¡ð Do not have readme: -5 points
Submission Deadline: 2pm 4/2/2021 Eastern time Demo Deadline: 4/16/2021