0.01.00
coap.hpp File Reference

This file includes definitions for CoAP client and server functionality. More...

#include "openthread-core-config.h"
#include <openthread/coap.h>
#include "coap/coap_header.hpp"
#include "common/debug.hpp"
#include "common/locator.hpp"
#include "common/message.hpp"
#include "common/timer.hpp"
#include "net/ip6.hpp"
#include "net/netif.hpp"
#include "net/udp6.hpp"

Go to the source code of this file.

Classes

class  ot::Coap::CoapMetadata
 This class implements metadata required for CoAP retransmission. More...
 
class  ot::Coap::Resource
 This class implements CoAP resource handling. More...
 
class  ot::Coap::EnqueuedResponseHeader
 This class implements metadata required for caching CoAP responses. More...
 
class  ot::Coap::ResponsesQueue
 This class caches CoAP responses to implement message deduplication. More...
 
class  ot::Coap::CoapBase
 This class implements the common base for CoAP client and server. More...
 
class  ot::Coap::Coap
 This class implements the CoAP client and server. More...
 

Namespaces

 ot::Coap
 This namespace includes definitions for CoAP.
 

Enumerations

enum  {
  kAckTimeout = OPENTHREAD_CONFIG_COAP_ACK_TIMEOUT,
  kAckRandomFactorNumerator = OPENTHREAD_CONFIG_COAP_ACK_RANDOM_FACTOR_NUMERATOR,
  kAckRandomFactorDenominator = OPENTHREAD_CONFIG_COAP_ACK_RANDOM_FACTOR_DENOMINATOR,
  kMaxRetransmit = OPENTHREAD_CONFIG_COAP_MAX_RETRANSMIT,
  kNStart = 1,
  kDefaultLeisure = 5,
  kProbingRate = 1,
  kMaxTransmitSpan,
  kMaxTransmitWait,
  kMaxLatency = 100,
  kProcessingDelay = kAckTimeout,
  kMaxRtt = 2 * kMaxLatency + kProcessingDelay,
  kExchangeLifetime = kMaxTransmitSpan + 2 * (kMaxLatency) + kProcessingDelay,
  kNonLifetime = kMaxTransmitSpan + kMaxLatency
}
 Protocol Constants (RFC 7252).
 

Variables

OT_TOOL_PACKED_BEGIN class ot::Coap::CoapMetadata ot::Coap::OT_TOOL_PACKED_END
 

Detailed Description

This file includes definitions for CoAP client and server functionality.