libcoap 4.3.5-develop-19cef11
coap_lg_xmit_t Struct Reference

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

#include <coap_block_internal.h>

+ Collaboration diagram for coap_lg_xmit_t:

Data Fields

struct coap_lg_xmit_tnext
 
uint8_t blk_size
 large block transmission size More...
 
uint16_t option
 large block transmisson CoAP option More...
 
int last_block
 last acknowledged block number Block1 last transmitted Q-Block2 More...
 
const uint8_t * data
 large data ptr More...
 
size_t length
 large data length More...
 
size_t offset
 large data next offset to transmit More...
 
union {
   coap_l_block1_t   b1
 
   coap_l_block2_t   b2
 
b
 
coap_lg_crcv_tlg_crcv
 The lg_crcv associated with this blocked xmit. More...
 
coap_pdu_t pdu
 skeletal PDU More...
 
coap_tick_t last_payload
 Last time MAX_PAYLOAD was sent or 0. More...
 
coap_tick_t last_sent
 Last time any data sent. More...
 
coap_tick_t last_all_sent
 Last time all data sent or 0. More...
 
coap_tick_t last_obs
 Last time used (Observe tracking) or 0. More...
 
coap_release_large_data_t release_func
 large data de-alloc function More...
 
void * app_ptr
 applicaton provided ptr for de-alloc function More...
 

Detailed Description

Structure to hold large body (many blocks) transmission information.

Definition at line 146 of file coap_block_internal.h.

Field Documentation

◆ app_ptr

void* coap_lg_xmit_t::app_ptr

applicaton provided ptr for de-alloc function

Definition at line 169 of file coap_block_internal.h.

◆ 

union { ... } coap_lg_xmit_t::b

◆ b1

coap_l_block1_t coap_lg_xmit_t::b1

Definition at line 156 of file coap_block_internal.h.

◆ b2

coap_l_block2_t coap_lg_xmit_t::b2

Definition at line 157 of file coap_block_internal.h.

◆ blk_size

uint8_t coap_lg_xmit_t::blk_size

large block transmission size

Definition at line 148 of file coap_block_internal.h.

◆ data

const uint8_t* coap_lg_xmit_t::data

large data ptr

Definition at line 152 of file coap_block_internal.h.

◆ last_all_sent

coap_tick_t coap_lg_xmit_t::last_all_sent

Last time all data sent or 0.

Definition at line 163 of file coap_block_internal.h.

◆ last_block

int coap_lg_xmit_t::last_block

last acknowledged block number Block1 last transmitted Q-Block2

Definition at line 150 of file coap_block_internal.h.

◆ last_obs

coap_tick_t coap_lg_xmit_t::last_obs

Last time used (Observe tracking) or 0.

Definition at line 164 of file coap_block_internal.h.

◆ last_payload

coap_tick_t coap_lg_xmit_t::last_payload

Last time MAX_PAYLOAD was sent or 0.

Definition at line 161 of file coap_block_internal.h.

◆ last_sent

coap_tick_t coap_lg_xmit_t::last_sent

Last time any data sent.

Definition at line 162 of file coap_block_internal.h.

◆ length

size_t coap_lg_xmit_t::length

large data length

Definition at line 153 of file coap_block_internal.h.

◆ lg_crcv

coap_lg_crcv_t* coap_lg_xmit_t::lg_crcv

The lg_crcv associated with this blocked xmit.

Definition at line 159 of file coap_block_internal.h.

◆ next

struct coap_lg_xmit_t* coap_lg_xmit_t::next

Definition at line 147 of file coap_block_internal.h.

◆ offset

size_t coap_lg_xmit_t::offset

large data next offset to transmit

Definition at line 154 of file coap_block_internal.h.

◆ option

uint16_t coap_lg_xmit_t::option

large block transmisson CoAP option

Definition at line 149 of file coap_block_internal.h.

◆ pdu

coap_pdu_t coap_lg_xmit_t::pdu

skeletal PDU

Definition at line 160 of file coap_block_internal.h.

◆ release_func

coap_release_large_data_t coap_lg_xmit_t::release_func

large data de-alloc function

Definition at line 168 of file coap_block_internal.h.


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