This shows you the differences between two versions of the page.
|
iothings:laboratoare:lab7 [2022/04/20 20:34] cosmin.chenaru [CoAP] |
iothings:laboratoare:lab7 [2024/07/15 22:03] (current) cosmin.chenaru Change IP hardcoding |
||
|---|---|---|---|
| Line 11: | Line 11: | ||
| O captură Wireshark arată cum protocolul CoAP rulează peste protocolul UDP: | O captură Wireshark arată cum protocolul CoAP rulează peste protocolul UDP: | ||
| - | {{:iothings:laboratoare:lab7-coap-capture.png?800|}} | + | {{:iothings:laboratoare:lab7-coap-capture.png?600|}} |
| ==== MQTT ==== | ==== MQTT ==== | ||
| Line 46: | Line 46: | ||
| <code> | <code> | ||
| - | /usr/local/bin/coapclient.py -o PUT -p "coap://192.168.1.151/light" -P "1" | + | /usr/local/bin/coapclient.py -o PUT -p "coap://$ESP32_BOARD_IP/light" -P "1" |
| </code> | </code> | ||