From 14b178ce3ff5aa8ebf0c740e6ab7dba57c015ff8 Mon Sep 17 00:00:00 2001 From: Alexander Bobkov Date: Wed, 25 Dec 2024 04:50:10 -0500 Subject: [PATCH] ESP-IDF Robot ESP NOW --- ESP-IDF_Robot/main/blink_example_main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ESP-IDF_Robot/main/blink_example_main.c b/ESP-IDF_Robot/main/blink_example_main.c index 004f46a34..a3bfaee83 100644 --- a/ESP-IDF_Robot/main/blink_example_main.c +++ b/ESP-IDF_Robot/main/blink_example_main.c @@ -92,7 +92,8 @@ static uint8_t s_led_state = 0; static QueueHandle_t espnow_queue; //static uint8_t broadcast_mac[ESP_NOW_ETH_ALEN] = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF}; static uint8_t broadcast_mac[ESP_NOW_ETH_ALEN] = {0x54, 0x32, 0x04, 0x46, 0x71, 0x80}; -static uint8_t robot_mac[ESP_NOW_ETH_ALEN] = {0xE4, 0xB0, 0x63, 0x17, 0x9E, 0x45}; +static uint8_t robot_mac[ESP_NOW_ETH_ALEN] = {0xE4, 0xB0, 0x63, 0x17, 0x9E, 0x45}; // MAC address of Robot +static uint8_t static uint8_t espnow_seq[ESPNOW_DATA_MAX] = {0, 0}; static uint8_t espnow_broadcast_mac[ESP_NOW_ETH_ALEN] = {}; typedef struct struct_message {