Define ANJAY_MAX_URI_QUERY_SEGMENT_SIZE

Define Documentation

ANJAY_MAX_URI_QUERY_SEGMENT_SIZE

Maximum length supported for a single Uri-Query segment.

When handling incoming CoAP messages, any Uri-Query 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.