ESP-IDF Robot ESP NOW

This commit is contained in:
2024-12-25 03:33:21 -05:00
parent 10c820f28e
commit 7f51a1083f

View File

@@ -531,7 +531,7 @@ static esp_err_t espnow_init(void) {
send_param->unicast = false;
send_param->broadcast = true;
send_param->state = 0;
send_param->magic = esp_random(); // Arbitrary number that determines which device is sender/receiver.
send_param->magic = 5;//esp_random(); // Arbitrary number that determines which device is sender/receiver.
send_param->count = CONFIG_ESPNOW_SEND_COUNT;
send_param->delay = CONFIG_ESPNOW_SEND_DELAY;
send_param->len = CONFIG_ESPNOW_SEND_LEN;