Define ANJAY_MAX_URI_SEGMENT_SIZE

Define Documentation

ANJAY_MAX_URI_SEGMENT_SIZE

Maximum length supported for a single Uri-Path or Location-Path segment.

When handling incoming CoAP messages, any Uri-Path or Location-Path option of length equal or greater than this setting will be considered invalid.

If editing this file manually, 256 shall be replaced with a positive integer literal.

The default value defined in CMake build scripts is 256. Minimal suggested setting for low-resource builds is 64.