## Information for Phoenix Developers on using libcoap
### Adding data to a coap message
*libcoap* provides a call ```coap_add_data()``` which behaves similar as memcpy, i.e., you specify the number of bytes that you want to add.
Attention: In case you want to add a string to a coap message and you use ```strlen()``` to determine the number of bytes in the string, keep in mind that ```strlen()``` dos *not* account for the terminating null-character. So, if you want to add the terminating null-character as well via ```coap_add_data()```, you have to pass ```strlen() + 1``` to ```coap_add_data()```.