openthread: ot extension command refactor

This commit is contained in:
zhangwenxu
2022-01-04 20:45:37 +08:00
committed by bot
parent dae8bdb60b
commit 3262d74513
23 changed files with 315 additions and 311 deletions

View File

@@ -0,0 +1,35 @@
/*
* SPDX-FileCopyrightText: 2021 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: CC0-1.0
*
* OpenThread Command Line Example
*
* This example code is in the Public Domain (or CC0 licensed, at your option.)
*
* Unless required by applicable law or agreed to in writing, this
* software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied.
*/
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief User command "tcpsockserver" process.
*
*/
void esp_ot_process_tcp_server(void *aContext, uint8_t aArgsLength, char *aArgs[]);
/**
* @brief User command "tcpsockclient" process.
*
*/
void esp_ot_process_tcp_client(void *aContext, uint8_t aArgsLength, char *aArgs[]);
#ifdef __cplusplus
}
#endif