mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-22 13:33:03 +00:00
ESP-IDF Robot ESP NOW
This commit is contained in:
0
ESP-IDF_Robot/build/.ninja_lock
Normal file
0
ESP-IDF_Robot/build/.ninja_lock
Normal file
@@ -1 +1 @@
|
|||||||
610e0e35608326be43801e61bfb2c343eeed3002
|
842303de9361eceb6ff5a5b1cc476c758a07bdba
|
||||||
|
@@ -371,7 +371,7 @@ static void espnow_task (void *pvParameter) {
|
|||||||
ESP_LOGI(TAG, "send data to "MACSTR"", MAC2STR(send_cb->mac_addr));
|
ESP_LOGI(TAG, "send data to "MACSTR"", MAC2STR(send_cb->mac_addr));
|
||||||
|
|
||||||
memcpy(send_param->dest_mac, send_cb->mac_addr, ESP_NOW_ETH_ALEN);
|
memcpy(send_param->dest_mac, send_cb->mac_addr, ESP_NOW_ETH_ALEN);
|
||||||
example_espnow_data_prepare(send_param);
|
espnow_data_prepare(send_param);
|
||||||
|
|
||||||
/* Send the next data after the previous data is sent. */
|
/* Send the next data after the previous data is sent. */
|
||||||
if (esp_now_send(send_param->dest_mac, send_param->buffer, send_param->len) != ESP_OK) {
|
if (esp_now_send(send_param->dest_mac, send_param->buffer, send_param->len) != ESP_OK) {
|
||||||
|
Reference in New Issue
Block a user