azyuqian / POEModule

POEControllerModule Capstone project for group 94
0 stars 2 forks source link

Continuous sensor read resource #7

Closed Roklion closed 9 years ago

Roklion commented 9 years ago

Implement a resource on server side (Raspberry Pi) that could take command from client side and perform continuous reading of sensor data. Should either: a) Continuously read indefinitely, stop until a stop command issued (be careful that this may need multi-threads). Make sure a stop command still can be heard when it's continuously reading data OR b) Take a parameter (read time, read count) and read sensor for a period of time or an indicated count.

Roklion commented 9 years ago

According to Ruibing's research (PDF about CoAP and IoT in Google Drive), this should be able to implement using "observation" functionality.

Roklion commented 9 years ago

Observation ability is resolved with new library