[ble_device_base] Document the None output for unset UUIDs in to_str() (#18108)

This commit is contained in:
J. Nick Koston
2026-08-05 23:02:13 +00:00
committed by GitHub
parent 26256d3d2e
commit 7f80276cf4
@@ -85,8 +85,8 @@ class ESPBTUUID {
bool operator==(const ESPBTUUID &other) const;
bool operator!=(const ESPBTUUID &other) const { return !(*this == other); }
/// Write "0xABCD" / "0xABCDEF01" / the dashed 128-bit form into buf
/// (>= UUID_STR_LEN bytes) and return buf.
/// Write "0xABCD" / "0xABCDEF01" / the dashed 128-bit form, or "None" for an
/// unset UUID, into buf (>= UUID_STR_LEN bytes) and return buf.
const char *to_str(char *buf) const;
#if defined(__cpp_lib_span)
const char *to_str(std::span<char, UUID_STR_LEN> output) const { return this->to_str(output.data()); }