Skip to content

Struct SYN_CoapTransportRequest

ClassList > SYN_CoapTransportRequest

CoAP request context over generic SYN_Transport (e.g. DTLS 1.3 / UDP / Serial).

  • #include <syn_coap.h>

Public Attributes

Type Name
SYN_Backoff backoff
const SYN_CoapMsg * req_msg
size_t req_option_count
const SYN_CoapOption * req_options
uint8_t resp_buf
size_t resp_len
SYN_CoapMsg resp_msg
size_t resp_option_count
SYN_CoapOption resp_options
uint32_t start_ms
SYN_Status status
SYN_Transport * transport
uint8_t tx_buf
size_t tx_len

Public Attributes Documentation

variable backoff

SYN_Backoff SYN_CoapTransportRequest::backoff;

Retransmit backoff state


variable req_msg

const SYN_CoapMsg* SYN_CoapTransportRequest::req_msg;

Request message to send


variable req_option_count

size_t SYN_CoapTransportRequest::req_option_count;

Number of request options


variable req_options

const SYN_CoapOption* SYN_CoapTransportRequest::req_options;

Request options array


variable resp_buf

uint8_t SYN_CoapTransportRequest::resp_buf[256];

Raw response packet buffer


variable resp_len

size_t SYN_CoapTransportRequest::resp_len;

Raw response length in bytes


variable resp_msg

SYN_CoapMsg SYN_CoapTransportRequest::resp_msg;

Parsed response message


variable resp_option_count

size_t SYN_CoapTransportRequest::resp_option_count;

Number of parsed response options


variable resp_options

SYN_CoapOption SYN_CoapTransportRequest::resp_options[8];

Parsed response options


variable start_ms

uint32_t SYN_CoapTransportRequest::start_ms;

Timestamp of current attempt


variable status

SYN_Status SYN_CoapTransportRequest::status;

Final request status


variable transport

SYN_Transport* SYN_CoapTransportRequest::transport;

Transport interface


variable tx_buf

uint8_t SYN_CoapTransportRequest::tx_buf[256];

Serialized request buffer


variable tx_len

size_t SYN_CoapTransportRequest::tx_len;

Serialized request length



The documentation for this class was generated from the following file src/syntropic/net/syn_coap.h