Install libcoap-1-0-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libcoap-1-0-dev
Description:
C-Implementation of CoAP - development files
Lightweight application-protocol for devices that are constrained their resources such as computing power, RF range, memory, bandwidth, or network packet sizes. This protocol, CoAP, is developed in the IETF working group "CoRE",
Homepage: https://libcoap.net/
Version: 4.1.2-1
Section: universe/libdevel