the packet.payloadlen will not be initialized in coapClient::loop(). When there is a payload it will be set, but it will be a random number else. This might causes problems on developer side when using the client.
Solution:
Place packet.payloadlen = 0 somewhere around line 205 in coap_client.cpp.
Problem,
the packet.payloadlen will not be initialized in coapClient::loop(). When there is a payload it will be set, but it will be a random number else. This might causes problems on developer side when using the client.
Solution: Place packet.payloadlen = 0 somewhere around line 205 in coap_client.cpp.