ZiBaT
=> Peter Levinsky
=> Programming => exercise |
|
Updated : 2015-08-24
|
To create a relay to collect information from an IoT and use a webservice to save information in the cloud.
My own defined webservices see http://anbo-easj.dk/prog3/wcf/exerciseWCF_whatIsPossible.html
UDP programming see http://anbo-easj.dk/tek3/socket/udpBroadcast.html
Design and implement a webservice having following methods:
The data are save in some store (your choice - e.g. see http://pele-easj.dk/2015e-prog/exercises/AzureStorages.html)
Design and implement a new project/program that receives data (UDP packets) from the raspebarryPi on port 7000 and send them forward to the webservice
which adds a timestamp and store the information in some storage.
Design and implement a new project/program that can receive data from a specified period, and display these to the screen (Console or Gui at choice).
Design and implement a new UDP sender (could still be to port 7000 or use another port)
This sender should send out from time to time a current timestamp.
Refactor your webservice to handle these new events.
(To measure other features e.g. CPU utilization see : http://stackoverflow.com/questions/3896685/simplest-possible-performance-counter-example)