nRF Connect SDK API 3.4.99
Loading...
Searching...
No Matches

◆ DULT_BT_ADV_PROPRIETARY_DATA_MAX_LEN_NO_FLAGS

#define DULT_BT_ADV_PROPRIETARY_DATA_MAX_LEN_NO_FLAGS   (25)

#include <include/dult/bt.h>

Maximum length in bytes of the proprietary data field in the DULT AD when the surrounding AD payload omits the optional Flags TLV.

When no Flags TLV is emitted, the 3 bytes at positions 6-8 of the Location-Enabled Payload can be reused by the proprietary payload, which raises the practical limit to 25 bytes. Using this extended limit is only safe when the caller can guarantee that no Flags TLV is also emitted in the surrounding AD payload. Select it through the dult_bt_adv_data::flags_present field.

Note
This 25-byte limit is an extension, not the DULT spec's 22-byte proprietary field (payload bytes 15-36).