esp-idf/examples/openthread/ot_cli/main/esp_ot_udp_socket.h
Jiacheng Guo d610282742 openthread: sync lwip multicast groups to Thread stack
This MR synchornizes the lwIP multicast groups to the Thread stack. This
will fix sockets failing to receive messages sent to multicast groups
issue.
2022-01-04 20:08:15 +08:00

44 lines
962 B
C

/*
* SPDX-FileCopyrightText: 2021-2022 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
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief User command "mcast" process.
*
*/
void esp_ot_process_mcast_group(void *aContext, uint8_t aArgsLength, char *aArgs[]);
/**
* @brief User command "udpsockserver" process.
*
*/
void esp_ot_process_udp_server(void *aContext, uint8_t aArgsLength, char *aArgs[]);
/**
* @brief User command "udpsockclient" process.
*
*/
void esp_ot_process_udp_client(void *aContext, uint8_t aArgsLength, char *aArgs[]);
#ifdef __cplusplus
}
#endif