Zephyr API Documentation 4.0.0-rc2
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
coap_pending Struct Reference

Represents a request awaiting for an acknowledgment (ACK). More...

#include <coap.h>

Data Fields

struct sockaddr addr
 Remote address.
 
int64_t t0
 Time when the request was sent.
 
uint32_t timeout
 Timeout in ms.
 
uint16_t id
 Message id.
 
uint8_tdata
 User allocated buffer.
 
uint16_t len
 Length of the CoAP packet.
 
uint8_t retries
 Number of times the request has been sent.
 
struct coap_transmission_parameters params
 Transmission parameters.
 

Detailed Description

Represents a request awaiting for an acknowledgment (ACK).

Field Documentation

◆ addr

struct sockaddr coap_pending::addr

Remote address.

◆ data

uint8_t* coap_pending::data

User allocated buffer.

◆ id

uint16_t coap_pending::id

Message id.

◆ len

uint16_t coap_pending::len

Length of the CoAP packet.

◆ params

struct coap_transmission_parameters coap_pending::params

Transmission parameters.

◆ retries

uint8_t coap_pending::retries

Number of times the request has been sent.

◆ t0

int64_t coap_pending::t0

Time when the request was sent.

◆ timeout

uint32_t coap_pending::timeout

Timeout in ms.


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