2021-09-09 09:08:57 -04:00
|
|
|
/* 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.
|
2021-07-30 03:55:37 -04:00
|
|
|
*/
|
2021-05-25 09:13:41 -04:00
|
|
|
|
|
|
|
#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
|