esp_ot_tcp_socket.h 800 B

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. * SPDX-FileCopyrightText: 2021 Espressif Systems (Shanghai) CO LTD
  3. *
  4. * SPDX-License-Identifier: CC0-1.0
  5. *
  6. * OpenThread Command Line Example
  7. *
  8. * This example code is in the Public Domain (or CC0 licensed, at your option.)
  9. *
  10. * Unless required by applicable law or agreed to in writing, this
  11. * software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
  12. * CONDITIONS OF ANY KIND, either express or implied.
  13. */
  14. #pragma once
  15. #ifdef __cplusplus
  16. extern "C" {
  17. #endif
  18. /**
  19. * @brief User command "tcpsockserver" process.
  20. *
  21. */
  22. void esp_ot_process_tcp_server(void *aContext, uint8_t aArgsLength, char *aArgs[]);
  23. /**
  24. * @brief User command "tcpsockclient" process.
  25. *
  26. */
  27. void esp_ot_process_tcp_client(void *aContext, uint8_t aArgsLength, char *aArgs[]);
  28. #ifdef __cplusplus
  29. }
  30. #endif