mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-12 11:27:02 +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 @@
|
|||||||
db24210d4703666da6d2b9fcbf03bfd696b279fe
|
e68c2054ff8896c216b5119b8b25e638ce88c291
|
||||||
|
@@ -313,7 +313,7 @@ int example_espnow_data_parse(uint8_t *data, uint16_t data_len, uint8_t *state,
|
|||||||
crc_cal = esp_crc16_le(UINT16_MAX, (uint8_t const *)buf, data_len);
|
crc_cal = esp_crc16_le(UINT16_MAX, (uint8_t const *)buf, data_len);
|
||||||
// Display received data.
|
// Display received data.
|
||||||
ESP_LOGW(TAG, "Received data size: %d", data_len);
|
ESP_LOGW(TAG, "Received data size: %d", data_len);
|
||||||
ESP_LOGW(TAG, "Received payload data is: %x", buf->payload[0]);
|
ESP_LOGW(TAG, "Received payload data is: %x", buf->payload);
|
||||||
|
|
||||||
if (crc_cal == crc) {
|
if (crc_cal == crc) {
|
||||||
return buf->type;
|
return buf->type;
|
||||||
|
Reference in New Issue
Block a user