Skip to content

Commit

Permalink
Merge branch 'fix/esp-now-bridge_update_espnow' into 'main'
Browse files Browse the repository at this point in the history
Update esp-now version.

See merge request app-frameworks/esp-matter!668
  • Loading branch information
dhrishi committed Apr 16, 2024
2 parents 431c6a5 + 4466418 commit 4774993
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/esp-now_bridge_light/main/app_espnow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ void app_espnow_init()

esp_event_handler_register(ESP_EVENT_ESPNOW, ESP_EVENT_ANY_ID, espnow_event_handler, NULL);

ESP_ERROR_CHECK(espnow_ctrl_responder_bind(30 * 1000, -55, NULL));
ESP_ERROR_CHECK(espnow_ctrl_responder_bind(30 * 60 * 1000, -55, NULL));
// Without registering this callback, it crashes when calling the callback espnow_ctrl_responder_raw_data_cb
espnow_ctrl_responder_data(espnow_ctrl_responder_data_cb);
espnow_ctrl_recv(espnow_ctrl_responder_raw_data_cb);
Expand Down
1 change: 1 addition & 0 deletions examples/esp-now_bridge_light/main/app_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ extern "C" void app_main()

#if CONFIG_ENABLE_CHIP_SHELL
esp_matter::console::diagnostics_register_commands();
esp_matter::console::wifi_register_commands();
esp_matter::console::init();
#endif
}
2 changes: 1 addition & 1 deletion examples/esp-now_bridge_light/main/idf_component.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
dependencies:
# esp-now 2.5.0 will use 'dcm' member in esp_now_rate_config_t, and that member is introduced after IDF v5.1.2.
# TODO: update esp-now component to the latest version when updating ESP-IDF
espressif/esp-now: "2.4.0"
espressif/esp-now: "2.5.1"
## Required IDF version
idf:
version: ">=4.1.0"
Expand Down

0 comments on commit 4774993

Please sign in to comment.