6#ifndef DETAIL_H_INCLUDED
7#define DETAIL_H_INCLUDED
81 UriRegistry() : _count(0) {}
Shared definitions for the library.
#define COAP_MAX_CALLBACKS
Maximum number of callbacks that can be registered at runtime.
Definition Definitions.h:60
ErrorCode 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.
Definition Detail.cpp:8
unsigned long getRandomTimeout()
Get a random timeout value for retransmissions.
Definition Detail.cpp:27
size_t getMinOptionBytes(uint32_t value)
Return the minimum number of bytes needed to represent the given value.
Definition Detail.cpp:32
Namespace for the library.
Definition Definitions.h:161
void(* Callback)(Message &message, IPAddress ip, uint16_t port)
Callback function type for handling incoming messages.
Definition Definitions.h:361
ErrorCode
Error codes used in the library.
Definition Definitions.h:327
WiFiUDP udp
Definition serverEsp32.ino:18
IPAddress ip(192, 168, 0, DEVICE_ID)