ESP-IDF Robot ESP NOW

This commit is contained in:
2024-12-24 14:47:02 -05:00
parent f4584412f2
commit 030a094e27

View File

@@ -83,7 +83,7 @@ static uint8_t s_led_state = 0;
/* ESP NOW*/
#define ESPNOW_MAXDELAY 512
static QueueHandle_t espnow_queue;
static uint8_t broadcast_mac[ESP_NOW_ETH_ALEN] = {};
static uint8_t broadcast_mac[ESP_NOW_ETH_ALEN] = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF};
static uint8_t espnow_seq[ESPNOW_DATA_MAX] = {0, 0};
static uint8_t espnow_broadcast_mac[ESP_NOW_ETH_ALEN] = {};
typedef struct struct_message {