Skip to content

Commit

Permalink
[docs] added xrefs from UDP CLI to UDP Concepts Guide (openthread#9558)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrhodie authored Oct 24, 2023
1 parent b73b124 commit d26f4e5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/cli/cli_udp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ UdpExample::UdpExample(otInstance *aInstance, OutputImplementer &aOutputImplemen
* Assigns an IPv6 address and a port to an open socket, which binds the socket for communication.
* Assigning the IPv6 address and port is referred to as naming the socket.
* @sa otUdpBind
* @sa @udp
*/
template <> otError UdpExample::Process<Cmd("bind")>(Arg aArgs[])
{
Expand Down Expand Up @@ -126,6 +127,7 @@ template <> otError UdpExample::Process<Cmd("bind")>(Arg aArgs[])
* `InvalidState` when the preferred NAT64 prefix is unavailable.
* @par api_copy
* #otUdpConnect
* @sa @udp
*/
template <> otError UdpExample::Process<Cmd("connect")>(Arg aArgs[])
{
Expand Down Expand Up @@ -247,6 +249,7 @@ template <> otError UdpExample::Process<Cmd("open")>(Arg aArgs[])
* @csa{udp bind}
* @csa{udp connect}
* @sa otUdpSend
* @sa @udp
*/
template <> otError UdpExample::Process<Cmd("send")>(Arg aArgs[])
{
Expand Down

0 comments on commit d26f4e5

Please sign in to comment.