Customers who license YumaPro SDK source code can build YumaPro SDK

with support for The Constrained Application Protocol (CoAP) defined in IETF

RFC 7252 and updated in RFC 7959


The compiler flag WITH_COAP=1 must be present when building YumaPro SDK

if you wish to use CoAP. For example:


user@system> make EVERYTHING=1 DEBUG=1 DEBUG2=1 USE_WERROR=1 WITH_COAP=1
...
user@system> sudo make EVERYTHING=1 DEBUG=1 DEBUG2=1 USE_WERROR=1 WITH_COAP=1 install


After you have built YumaPro with the WITH_COAP=1 flag you can now use the

yp-coap-port configuration parameter to dictate which port number will be used as

the source of and destination for YP-CoAP packets in the netconfd-pro server.


#### leaf yp-coap-port
#
# The UDP port number that the YP-CoAP protocol will use to listen
# for incoming requests. This will also be used as the source
# port number in YP-CoAP packets sent by the server.
#  type inet:port-number;
#
# yp-coap-port 5683
#
yp-coap-port 5888


Related parameters: