libcoap 4.3.5-develop-19cef11
|
Structure to hold large body (many blocks) client receive information. More...
#include <coap_block_internal.h>
Data Fields | |
struct coap_lg_crcv_t * | next |
uint8_t | observe [3] |
Observe data (if observe_set) (only 24 bits) More... | |
uint8_t | observe_length |
Length of observe data. More... | |
uint8_t | observe_set |
Set if this is an observe receive PDU. More... | |
uint8_t | szx |
size of individual blocks More... | |
uint8_t | etag_set |
Set if ETag is in receive PDU. More... | |
uint8_t | etag_length |
ETag length. More... | |
uint8_t | etag [8] |
ETag for block checking. More... | |
uint16_t | content_format |
Content format for the set of blocks. More... | |
uint8_t | last_type |
Last request type (CON/NON) More... | |
uint8_t | initial |
If set, has not been used yet. More... | |
uint16_t | block_option |
Block option in use. More... | |
uint16_t | retry_counter |
Retry counter (part of state token) More... | |
size_t | total_len |
Length as indicated by SIZE2 option. More... | |
coap_binary_t * | body_data |
Used for re-assembling entire body. More... | |
coap_binary_t * | app_token |
app requesting PDU token More... | |
coap_bin_const_t ** | obs_token |
Tokens used in setting up Observe (to handle large FETCH) More... | |
size_t | obs_token_cnt |
number of tokens used to set up Observe More... | |
uint16_t | o_block_option |
Block CoAP option used when initiating Observe. More... | |
uint8_t | o_blk_size |
Block size used when initiating Observe. More... | |
uint64_t | state_token |
state token More... | |
coap_pdu_t | pdu |
skeletal PDU More... | |
coap_rblock_t | rec_blocks |
coap_tick_t | last_used |
< list of received blocks More... | |
Structure to hold large body (many blocks) client receive information.
Definition at line 176 of file coap_block_internal.h.
coap_binary_t* coap_lg_crcv_t::app_token |
app requesting PDU token
Definition at line 192 of file coap_block_internal.h.
uint16_t coap_lg_crcv_t::block_option |
Block option in use.
Definition at line 188 of file coap_block_internal.h.
coap_binary_t* coap_lg_crcv_t::body_data |
Used for re-assembling entire body.
Definition at line 191 of file coap_block_internal.h.
uint16_t coap_lg_crcv_t::content_format |
Content format for the set of blocks.
Definition at line 185 of file coap_block_internal.h.
uint8_t coap_lg_crcv_t::etag[8] |
ETag for block checking.
Definition at line 184 of file coap_block_internal.h.
uint8_t coap_lg_crcv_t::etag_length |
ETag length.
Definition at line 183 of file coap_block_internal.h.
uint8_t coap_lg_crcv_t::etag_set |
Set if ETag is in receive PDU.
Definition at line 182 of file coap_block_internal.h.
uint8_t coap_lg_crcv_t::initial |
If set, has not been used yet.
Definition at line 187 of file coap_block_internal.h.
uint8_t coap_lg_crcv_t::last_type |
Last request type (CON/NON)
Definition at line 186 of file coap_block_internal.h.
coap_tick_t coap_lg_crcv_t::last_used |
< list of received blocks
Last time all data sent or 0
Definition at line 201 of file coap_block_internal.h.
struct coap_lg_crcv_t* coap_lg_crcv_t::next |
Definition at line 177 of file coap_block_internal.h.
uint8_t coap_lg_crcv_t::o_blk_size |
Block size used when initiating Observe.
Definition at line 197 of file coap_block_internal.h.
uint16_t coap_lg_crcv_t::o_block_option |
Block CoAP option used when initiating Observe.
Definition at line 196 of file coap_block_internal.h.
coap_bin_const_t** coap_lg_crcv_t::obs_token |
Tokens used in setting up Observe (to handle large FETCH)
Definition at line 193 of file coap_block_internal.h.
size_t coap_lg_crcv_t::obs_token_cnt |
number of tokens used to set up Observe
Definition at line 195 of file coap_block_internal.h.
uint8_t coap_lg_crcv_t::observe[3] |
Observe data (if observe_set) (only 24 bits)
Definition at line 178 of file coap_block_internal.h.
uint8_t coap_lg_crcv_t::observe_length |
Length of observe data.
Definition at line 179 of file coap_block_internal.h.
uint8_t coap_lg_crcv_t::observe_set |
Set if this is an observe receive PDU.
Definition at line 180 of file coap_block_internal.h.
coap_pdu_t coap_lg_crcv_t::pdu |
skeletal PDU
Definition at line 199 of file coap_block_internal.h.
coap_rblock_t coap_lg_crcv_t::rec_blocks |
Definition at line 200 of file coap_block_internal.h.
uint16_t coap_lg_crcv_t::retry_counter |
Retry counter (part of state token)
Definition at line 189 of file coap_block_internal.h.
uint64_t coap_lg_crcv_t::state_token |
state token
Definition at line 198 of file coap_block_internal.h.
uint8_t coap_lg_crcv_t::szx |
size of individual blocks
Definition at line 181 of file coap_block_internal.h.
size_t coap_lg_crcv_t::total_len |
Length as indicated by SIZE2 option.
Definition at line 190 of file coap_block_internal.h.