mirror of
https://github.com/espressif/openthread.git
synced 2026-08-04 09:57:47 +00:00
[cli] add aliases for TCP and SRP concepts guides (#9707)
* Adding aliases for TCP and SRP concepts guides * TCP and SRP concept guides now referenced by Command Ref CLIs
This commit is contained in:
@@ -324,6 +324,7 @@ exit:
|
||||
* address and port is referred to as "naming the TCP endpoint." This binds the
|
||||
* endpoint for communication.
|
||||
* @sa otTcpBind
|
||||
* @sa @tcp
|
||||
*/
|
||||
template <> otError TcpExample::Process<Cmd("bind")>(Arg aArgs[])
|
||||
{
|
||||
@@ -369,6 +370,7 @@ exit:
|
||||
* If the connection establishment is successful, the resulting TCP connection
|
||||
* is associated with the example TCP endpoint.
|
||||
* @sa otTcpConnect
|
||||
* @sa @tcp
|
||||
*/
|
||||
template <> otError TcpExample::Process<Cmd("connect")>(Arg aArgs[])
|
||||
{
|
||||
@@ -449,6 +451,7 @@ exit:
|
||||
* @par
|
||||
* Sends data over the TCP connection associated with the example TCP endpoint
|
||||
* that is provided with the `tcp` CLI.
|
||||
* @sa @tcp
|
||||
*/
|
||||
template <> otError TcpExample::Process<Cmd("send")>(Arg aArgs[])
|
||||
{
|
||||
@@ -683,6 +686,7 @@ exit:
|
||||
* Uses the example TCP listener to listen for incoming connections on the
|
||||
* specified IPv6 address and port.
|
||||
* @sa otTcpListen
|
||||
* @sa @tcp
|
||||
*/
|
||||
template <> otError TcpExample::Process<Cmd("listen")>(Arg aArgs[])
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user