mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-11 19:30:40 +03:00
Simplify token handling by having a state token for Block1 requests where the top 16 bits are an incrementing request counter and the bottom 48 bits are the base token. Re-order struct coap_lg_crcv_t to reduce data space usage. Track request method for Block2 requests. Make coap_add_data_large_internal() a static function. Make sure that lg_srcv is freed off when all PUT/POST data is in to prevent next PUT/POST to same resource not getting correctly updated.