ZiBaT
=> Peter Levinsky
=> Programming => exercise |
UDP / IoT |
Updated : 2016-09-26
|
To design and implement programs which support receiving sensor information over a UDP communication.
the previous exercise SOAP based web services With DataBase- Part 4
Different exercises from Zuhair - so be sure you can do these exercises otherwise do them now:
To receive the IoT Broadcast (This is actually fake or an simulation) you need to be at the EGV5-DMU2 / EGV5-DMU3 network (choose in your WiFi conenction viewer).
For some reason at 2den floor use EGV5-DMU3 and at 3rd floor use EGV5-DMU2.
Make an UDP 'server' to receive UDP datagrams from a client which broadcast out datagrams with IoT sensor information and print out these informations.
To receive the 'server' should listen on port 7080
Combine to read the IoT information from the sensor (even this is simulated) and save the information in the web-service from web-service - Part4 using the soap interface.
Do the same as in exercise D, but listen on port 7081 which give you the information encoded in JSON format
Do the same as in exercise D, but listen on port 7082 which give you the information encoded in xml format