Source code for the CoAP chapter of the book "Learning Internet of Things".