Code and slides for lab6 on CoAP are available. You can download the material cloning the repo lab2:

git clone https://github.com/lab-anaws/lab6-2017.git

You can also browse the code from https://github.com/lab-anaws/lab6-2017