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