A small CoAP implementation for microcontrollers