Search found 1 match

by wanner
Wed Feb 15, 2023 7:11 am
Forum: ESP-IDF 中文讨论版
Topic: esp32s2的espnow更改默认传输速率
Replies: 0
Views: 1627

esp32s2的espnow更改默认传输速率

static void example_wifi_init(void) { ESP_ERROR_CHECK(esp_event_loop_create_default()); ESP_ERROR_CHECK(esp_netif_init()); wifi_init_config_t cfg = WIFI_INIT_CONFIG_DEFAULT(); ESP_ERROR_CHECK(esp_wifi_init(&cfg)); ESP_ERROR_CHECK(esp_wifi_set_mode(WIFI_MODE_STA)); ESP_ERROR_CHECK(esp_wifi_set_storag...