ProsecCoAP 🥂
 
Loading...
Searching...
No Matches
Detail.cpp File Reference
#include "Detail.h"
#include "Arduino.h"

Namespaces

namespace  Coap
 Namespace for the library.
 
namespace  Coap::Detail
 Internal details of the library. Not for public use.
 

Functions

ErrorCode Coap::Detail::sendUdp (UDP *udp, const uint8_t *data, size_t length, IPAddress ip, uint16_t port)
 Wrapper around low level function to send raw UDP data.
 
unsigned long Coap::Detail::getRandomTimeout ()
 Get a random timeout value for retransmissions.
 
size_t Coap::Detail::getMinOptionBytes (uint32_t value)
 Return the minimum number of bytes needed to represent the given value.