- Driver acks each completed DDP frame; the test waits for the acks before broadcasting the sync. - Sync listener on UDP 4049: a frame is held until the next sync, then shown. - DDP pixels are shown at full brightness, ignoring the device brightness settings. - "DDP and sync receive on" setting (NVS, network API, web UI); off ignores DDP and sync packets. - ddp_test.py: finds devices on the subnet, drives them in lockstep at a fixed rate, runs animations. - /api/ddp reports sync counters for diagnosis. - Includes in-progress WebSocket, multi-driver web UI and Wi-Fi work from the same tree. Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
33 lines
511 B
C
33 lines
511 B
C
/*
|
|
* SPDX-FileCopyrightText: 2025 Espressif Systems (Shanghai) CO LTD
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
#pragma once
|
|
|
|
#include <stddef.h>
|
|
#include "mdns_private.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/**
|
|
* @brief Lock mdns service
|
|
*/
|
|
void mdns_priv_service_lock(void);
|
|
|
|
/**
|
|
* @brief Unlock mdns service
|
|
*/
|
|
void mdns_priv_service_unlock(void);
|
|
|
|
/**
|
|
* @brief Send the given action to the service queue
|
|
*/
|
|
bool mdns_priv_queue_action(mdns_action_t *action);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|