Bug fix by Kovatsch Matthias.
This commit is contained in:
parent
d862e9dcfb
commit
0b6f9c0e97
|
@ -101,7 +101,7 @@ int serialize_packet(coap_packet_t* packet, uint8_t* buffer)
|
|||
|
||||
memcpy((char*)&buffer[index], option->value, option->len);
|
||||
index += option->len;
|
||||
option_delta += option->option;
|
||||
option_delta = option->option;
|
||||
}
|
||||
|
||||
if(packet->payload){
|
||||
|
|
Loading…
Reference in a new issue