File tree Expand file tree Collapse file tree 5 files changed +15
-15
lines changed
Expand file tree Collapse file tree 5 files changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -18,10 +18,6 @@ extern "C" {
1818
1919#define ESP_SPINEL_LOG_TAG "ESP_RADIO_SPINEL"
2020
21- #define SPINEL_PROP_VENDOR_ESP_SET_COORDINATOR (SPINEL_PROP_VENDOR_ESP__BEGIN + 1) /* Vendor command for coordinator.*/
22-
23- #define SPINEL_PROP_VENDOR_ESP_SET_PENDINGMODE (SPINEL_PROP_VENDOR_ESP__BEGIN + 2) /* Vendor command for pending mode.*/
24-
2521typedef enum {
2622 ESP_RADIO_SPINEL_ZIGBEE = 0x0 , /* The index of Zigbee.*/
2723 ESP_RADIO_SPINEL_OPENTHREAD = 0x1 , /* The index of OpenThread.*/
Original file line number Diff line number Diff line change 44 * SPDX-License-Identifier: Apache-2.0
55 */
66
7- #include <spinel.h>
87#include <esp_openthread.h>
98
10- #if CONFIG_OPENTHREAD_NCP_VENDOR_HOOK
11-
12- #define SPINEL_PROP_VENDOR_ESP_SET_COORDINATOR (SPINEL_PROP_VENDOR_ESP__BEGIN + 1)
13-
14- #define SPINEL_PROP_VENDOR_ESP_SET_PENDINGMODE (SPINEL_PROP_VENDOR_ESP__BEGIN + 2)
15-
16- #define SPINEL_PROP_VENDOR_ESP_COEX_EVENT (SPINEL_PROP_VENDOR_ESP__BEGIN + 3)
17-
18- #endif
19-
209#ifdef __cplusplus
2110extern "C" {
2211#endif
Original file line number Diff line number Diff line change 1+ /*
2+ * SPDX-FileCopyrightText: 2025 Espressif Systems (Shanghai) CO LTD
3+ *
4+ * SPDX-License-Identifier: Apache-2.0
5+ */
6+
7+ #include "spinel.h"
8+
9+ #define SPINEL_PROP_VENDOR_ESP_SET_COORDINATOR (SPINEL_PROP_VENDOR_ESP__BEGIN + 1) /* Vendor command for coordinator.*/
10+
11+ #define SPINEL_PROP_VENDOR_ESP_SET_PENDINGMODE (SPINEL_PROP_VENDOR_ESP__BEGIN + 2) /* Vendor command for pending mode.*/
12+
13+ #define SPINEL_PROP_VENDOR_ESP_COEX_EVENT (SPINEL_PROP_VENDOR_ESP__BEGIN + 3)
Original file line number Diff line number Diff line change 77#include " sdkconfig.h"
88#include " esp_ieee802154.h"
99#include " esp_openthread_ncp.h"
10+ #include " esp_spinel_ncp_vendor_macro.h"
1011#include " ncp_base.hpp"
1112
1213#if (CONFIG_ESP_COEX_SW_COEXIST_ENABLE || CONFIG_EXTERNAL_COEX_ENABLE)
Original file line number Diff line number Diff line change 1212#include " esp_radio_spinel.h"
1313#include " esp_radio_spinel_platform.h"
1414#include " esp_radio_spinel_adapter.hpp"
15+ #include " esp_spinel_ncp_vendor_macro.h"
1516#include " esp_radio_spinel_uart_interface.hpp"
1617#include " spinel_driver.hpp"
1718#include " openthread/link.h"
You can’t perform that action at this time.
0 commit comments