libcoap  4.3.0rc3
coap_lg_srcv_t Struct Reference

Structure to hold large body (many blocks) server receive information. More...

#include <coap_block_internal.h>

+ Collaboration diagram for coap_lg_srcv_t:

Data Fields

struct coap_lg_srcv_tnext
 
uint8_t observe [3]
 Observe data (if 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 rtag_set
 Set if RTag is in receive PDU. More...
 
uint8_t rtag_length
 RTag length. More...
 
uint8_t rtag [8]
 RTag 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 szx
 size of individual blocks More...
 
size_t total_len
 Length as indicated by SIZE1 option. More...
 
coap_binary_tbody_data
 Used for re-assembling entire body. More...
 
size_t amount_so_far
 Amount of data seen so far. More...
 
coap_resource_tresource
 associated resource More...
 
coap_str_const_turi_path
 
coap_rblock_t rec_blocks
 set to uri_path if unknown resource More...
 
uint8_t last_token [8]
 < list of received blocks More...
 
size_t last_token_length
 length of token More...
 
coap_mid_t last_mid
 Last received mid for this set of packets. More...
 
coap_tick_t last_used
 Last time data sent or 0. More...
 
uint16_t block_option
 Block option in use. More...
 

Detailed Description

Structure to hold large body (many blocks) server receive information.

Definition at line 125 of file coap_block_internal.h.

Field Documentation

◆ amount_so_far

size_t coap_lg_srcv_t::amount_so_far

Amount of data seen so far.

Definition at line 138 of file coap_block_internal.h.

◆ block_option

uint16_t coap_lg_srcv_t::block_option

Block option in use.

Definition at line 146 of file coap_block_internal.h.

◆ body_data

coap_binary_t* coap_lg_srcv_t::body_data

Used for re-assembling entire body.

Definition at line 137 of file coap_block_internal.h.

◆ content_format

uint16_t coap_lg_srcv_t::content_format

Content format for the set of blocks.

Definition at line 133 of file coap_block_internal.h.

◆ last_mid

coap_mid_t coap_lg_srcv_t::last_mid

Last received mid for this set of packets.

Definition at line 144 of file coap_block_internal.h.

◆ last_token

uint8_t coap_lg_srcv_t::last_token[8]

< list of received blocks

last used token

Definition at line 142 of file coap_block_internal.h.

◆ last_token_length

size_t coap_lg_srcv_t::last_token_length

length of token

Definition at line 143 of file coap_block_internal.h.

◆ last_type

uint8_t coap_lg_srcv_t::last_type

Last request type (CON/NON)

Definition at line 134 of file coap_block_internal.h.

◆ last_used

coap_tick_t coap_lg_srcv_t::last_used

Last time data sent or 0.

Definition at line 145 of file coap_block_internal.h.

◆ next

struct coap_lg_srcv_t* coap_lg_srcv_t::next

Definition at line 126 of file coap_block_internal.h.

◆ observe

uint8_t coap_lg_srcv_t::observe[3]

Observe data (if set) (only 24 bits)

Definition at line 127 of file coap_block_internal.h.

◆ observe_length

uint8_t coap_lg_srcv_t::observe_length

Length of observe data.

Definition at line 128 of file coap_block_internal.h.

◆ observe_set

uint8_t coap_lg_srcv_t::observe_set

Set if this is an observe receive PDU.

Definition at line 129 of file coap_block_internal.h.

◆ rec_blocks

coap_rblock_t coap_lg_srcv_t::rec_blocks

set to uri_path if unknown resource

Definition at line 141 of file coap_block_internal.h.

◆ resource

coap_resource_t* coap_lg_srcv_t::resource

associated resource

Definition at line 139 of file coap_block_internal.h.

◆ rtag

uint8_t coap_lg_srcv_t::rtag[8]

RTag for block checking.

Definition at line 132 of file coap_block_internal.h.

◆ rtag_length

uint8_t coap_lg_srcv_t::rtag_length

RTag length.

Definition at line 131 of file coap_block_internal.h.

◆ rtag_set

uint8_t coap_lg_srcv_t::rtag_set

Set if RTag is in receive PDU.

Definition at line 130 of file coap_block_internal.h.

◆ szx

uint8_t coap_lg_srcv_t::szx

size of individual blocks

Definition at line 135 of file coap_block_internal.h.

◆ total_len

size_t coap_lg_srcv_t::total_len

Length as indicated by SIZE1 option.

Definition at line 136 of file coap_block_internal.h.

◆ uri_path

coap_str_const_t* coap_lg_srcv_t::uri_path

Definition at line 140 of file coap_block_internal.h.


The documentation for this struct was generated from the following file: