esp_ot_udp_socket.h 962 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*
  2. * SPDX-FileCopyrightText: 2021-2022 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. #include <stdint.h>
  16. #ifdef __cplusplus
  17. extern "C" {
  18. #endif
  19. /**
  20. * @brief User command "mcast" process.
  21. *
  22. */
  23. void esp_ot_process_mcast_group(void *aContext, uint8_t aArgsLength, char *aArgs[]);
  24. /**
  25. * @brief User command "udpsockserver" process.
  26. *
  27. */
  28. void esp_ot_process_udp_server(void *aContext, uint8_t aArgsLength, char *aArgs[]);
  29. /**
  30. * @brief User command "udpsockclient" process.
  31. *
  32. */
  33. void esp_ot_process_udp_client(void *aContext, uint8_t aArgsLength, char *aArgs[]);
  34. #ifdef __cplusplus
  35. }
  36. #endif