A CoAP server example specific for W5100S-EVB-Pico board. It has been tested on WIZnet W5100S-EVB-Pico.
Requirements:
- Install "https://github.com/earlephilhower/arduino-pico" (also through the Board Manager).
- Select "WIZnet W5100S-EVB-Pico" board.
The current light status can be read using:
coap-client-notls -m get coap:
and the light can be set ON or OFF, respectively, by using:
coap-client-notls -m put coap:
coap-client-notls -m put coap:
Note that on some boards, ON/OFF logic may be inverted.
In addition, this example also acts as client, sending a GET request every second. To receive such requests, start a CoAP server on the remote machine. To test, you may use: