libcoap  4.3.0rc1
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 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_pdu_t pdu
 skeletal PDU More...
 
coap_tick_t last_payload
 Last time MAX_PAYLOAD was sent or 0. More...
 
coap_tick_t last_used
 Last time all data sent 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 74 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 90 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 83 of file coap_block_internal.h.

◆ b2

coap_l_block2_t coap_lg_xmit_t::b2

Definition at line 84 of file coap_block_internal.h.

◆ blk_size

uint8_t coap_lg_xmit_t::blk_size

large block transmission size

Definition at line 76 of file coap_block_internal.h.

◆ data

const uint8_t* coap_lg_xmit_t::data

large data ptr

Definition at line 79 of file coap_block_internal.h.

◆ last_block

int coap_lg_xmit_t::last_block

last acknowledged block number

Definition at line 78 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 87 of file coap_block_internal.h.

◆ last_used

coap_tick_t coap_lg_xmit_t::last_used

Last time all data sent or 0.

Definition at line 88 of file coap_block_internal.h.

◆ length

size_t coap_lg_xmit_t::length

large data length

Definition at line 80 of file coap_block_internal.h.

◆ next

struct coap_lg_xmit_t* coap_lg_xmit_t::next

Definition at line 75 of file coap_block_internal.h.

◆ offset

size_t coap_lg_xmit_t::offset

large data next offset to transmit

Definition at line 81 of file coap_block_internal.h.

◆ option

uint16_t coap_lg_xmit_t::option

large block transmisson CoAP option

Definition at line 77 of file coap_block_internal.h.

◆ pdu

coap_pdu_t coap_lg_xmit_t::pdu

skeletal PDU

Definition at line 86 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 89 of file coap_block_internal.h.


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