DinnerRecv: working esp-idf version with ack

This commit is contained in:
2025-09-15 16:26:41 -07:00
parent 0b4b9f512d
commit a18a0a30b0
7 changed files with 287 additions and 162 deletions

View File

@ -1,6 +1,12 @@
/*
* SPDX-FileCopyrightText: 2021-2022 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
#pragma once
#include "driver/rmt_encoder.h"
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
@ -20,7 +26,7 @@ typedef struct {
* @param[out] ret_encoder Returned encoder handle
* @return
* - ESP_ERR_INVALID_ARG for any invalid arguments
* - ESP_ERR_NO_MEM out of memory when creating encoder
* - ESP_ERR_NO_MEM out of memory when creating led strip encoder
* - ESP_OK if creating encoder successfully
*/
esp_err_t rmt_new_led_strip_encoder(const led_strip_encoder_config_t *config,