ESP-NOW-Transmitter

This commit is contained in:
2025-06-17 11:17:48 -04:00
parent c8f2dc557d
commit 0645689d8e

View File

@@ -38,7 +38,7 @@ static const char *TAG = "ESP-NOW_Transmitter";
static QueueHandle_t s_example_espnow_queue = NULL; static QueueHandle_t s_example_espnow_queue = NULL;
static uint8_t receiver[ESP_NOW_ETH_ALEN] = {0xE4, 0xB0, 0x63, 0x17, 0x9E, 0x45}; // MAC address of Receiver device //static uint8_t receiver[ESP_NOW_ETH_ALEN] = {0xE4, 0xB0, 0x63, 0x17, 0x9E, 0x45}; // MAC address of Receiver device
static uint8_t s_example_broadcast_mac[ESP_NOW_ETH_ALEN] = { 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF }; static uint8_t s_example_broadcast_mac[ESP_NOW_ETH_ALEN] = { 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF };
static uint16_t s_example_espnow_seq[EXAMPLE_ESPNOW_DATA_MAX] = { 0, 0 }; static uint16_t s_example_espnow_seq[EXAMPLE_ESPNOW_DATA_MAX] = { 0, 0 };
@@ -407,4 +407,6 @@ void app_main(void)
wifi_init(); wifi_init();
esp_now_init(); esp_now_init();
memcpy(peerInfo.peer_addr, receiver_mac, 6);
} }