Loading...
Searching...
No Matches
unicoap_message_properties_t Struct Reference

Properties of a CoAP message. More...

Detailed Description

Properties of a CoAP message.

Definition at line 300 of file message.h.

#include <message.h>

Data Fields

uint8_t * token
 CoAP token used to correlate requests to responses.
 
uint8_t token_length: UNICOAP_TOKEN_LENGTH_FIXED_WIDTH
 Length of unicoap_message_properties_t::token.
 
bool is_registration: 1
 Determines if the corresponding message is considered an Observe registration.
 
bool is_notification: 1
 Determines if the corresponding message is considered an Observe notification.
 
struct { 
 
   unicoap_rfc7252_message_type_t   type: UNICOAP_RFC7252_MESSAGE_TYPE_FIXED_WIDTH 
 RFC 7252 message type. More...
 
   uint16_t   id 
 RFC 7252 message ID. More...
 
rfc7252 
 RFC 7252 only properties.
 

Field Documentation

◆ id

uint16_t unicoap_message_properties_t::id

RFC 7252 message ID.

Definition at line 327 of file message.h.

◆ is_notification

bool unicoap_message_properties_t::is_notification

Determines if the corresponding message is considered an Observe notification.

This property avoids the need to read the Observe option every time this value is needed

Definition at line 319 of file message.h.

◆ is_registration

bool unicoap_message_properties_t::is_registration

Determines if the corresponding message is considered an Observe registration.

This property avoids the need to read the Observe option every time this value is needed

Definition at line 312 of file message.h.

◆ token

uint8_t* unicoap_message_properties_t::token

CoAP token used to correlate requests to responses.

Definition at line 302 of file message.h.

◆ token_length

uint8_t unicoap_message_properties_t::token_length

Length of unicoap_message_properties_t::token.

Definition at line 305 of file message.h.

◆ type

unicoap_rfc7252_message_type_t unicoap_message_properties_t::type

RFC 7252 message type.

Definition at line 324 of file message.h.


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