I am using download_client library in C++ project. I have to include coap.h but when I compile I get this error:
C:/ncs/v2.7.0/zephyr/include/zephyr/net/coap.h:744:16: error: invalid conversion from 'int' to 'coap_block_size' [-fpermissive]
I can modify my CMakeLists.txt adding the following