From 992f9c6374d42d5e7172d78710b8755de96fbf89 Mon Sep 17 00:00:00 2001 From: Sarah <91494325+sarah-iot@users.noreply.github.com> Date: Mon, 17 Oct 2022 11:09:10 -0700 Subject: [PATCH] [docs] Doxygen formatting updates (#8286) For various reasons, we're not able to use `<` and `>` in our Doxygen descriptions. I made some minor edits, LMKWYT. In the HTML, it renders similar to this: The IPv6 socket address string is formatted as [`address`]:`port` where `address` is shown as 16 hex values separated by `:` and `port` is the port number in decimal format, for example "[%x:%x:...:%x]:%u". --- include/openthread/instance.h | 2 +- include/openthread/ip6.h | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/include/openthread/instance.h b/include/openthread/instance.h index 7d9419721..1628c7e13 100644 --- a/include/openthread/instance.h +++ b/include/openthread/instance.h @@ -53,7 +53,7 @@ extern "C" { * @note This number versions both OpenThread platform and user APIs. * */ -#define OPENTHREAD_API_VERSION (250) +#define OPENTHREAD_API_VERSION (251) /** * @addtogroup api-instance diff --git a/include/openthread/ip6.h b/include/openthread/ip6.h index 359cc5b19..73bd59744 100644 --- a/include/openthread/ip6.h +++ b/include/openthread/ip6.h @@ -638,8 +638,9 @@ void otIp6AddressToString(const otIp6Address *aAddress, char *aBuffer, uint16_t /** * This function converts a given IPv6 socket address to a human-readable string. * - * The IPv6 socket address string is formatted as "[
]: