This shows you the differences between two versions of the page.
|
iothings:laboratoare:2025:lab4 [2025/10/21 16:59] dan.tudose [CoAP Server] |
iothings:laboratoare:2025:lab4 [2025/10/28 11:29] (current) dan.tudose [CoAP Server] |
||
|---|---|---|---|
| Line 125: | Line 125: | ||
| [[iothings:laboratoare:2025_code:lab4_2|Click here to get the code example.]] | [[iothings:laboratoare:2025_code:lab4_2|Click here to get the code example.]] | ||
| - | <note>**Assignment 1:** | ||
| - | Add BME680 functionality to this code in order to query sensor values through CoAP. They should be available at /sensors/temperature, /sensors/humidity, /sensors/pressure | ||
| - | </note> | ||
| - | |||
| - | <note>**Assignment 2:** | ||
| - | Build a web page that acts as a GUI for your coap-client queries (e.g. you can do discovery, get and put/post from the page. You will probably need a proxy to translate coap datagrams to WS or HTTP. | ||
| - | </note> | ||
| Test it from your computer with the following commands, where esp-ip is the IP the node prints after connecting in the serial terminal: | Test it from your computer with the following commands, where esp-ip is the IP the node prints after connecting in the serial terminal: | ||
| Line 148: | Line 141: | ||
| </code> | </code> | ||
| + | |||
| + | <note>**Assignment 1:** | ||
| + | Add BME680 functionality to this code in order to query sensor values through CoAP. They should be available at /sensors/temperature, /sensors/humidity, /sensors/pressure | ||
| + | </note> | ||
| + | |||
| + | <note>**Assignment 2:** | ||
| + | Build a web page that acts as a GUI for your coap-client queries (e.g. you can do discovery, get and put/post from the page. You will probably need a proxy to translate coap datagrams to WS or HTTP. | ||
| + | </note> | ||
| + | |||
| <hidden> | <hidden> | ||