mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
feat(coex): enable external coexistence command
This commit is contained in:
@@ -19,3 +19,5 @@ dependencies:
|
||||
version: "~0.2.0"
|
||||
rules:
|
||||
- if: "target in [esp32p4]"
|
||||
esp-qa/coexist-cmd:
|
||||
version: "~0.0.1"
|
||||
|
||||
@@ -39,6 +39,10 @@ extern int wifi_cmd_clr_rx_statistics(int argc, char **argv);
|
||||
#include "esp_extconn.h"
|
||||
#endif
|
||||
|
||||
#if CONFIG_ESP_COEX_EXTERNAL_COEXIST_ENABLE
|
||||
#include "ext_coex_cmd.h"
|
||||
#endif
|
||||
|
||||
void iperf_hook_show_wifi_stats(iperf_traffic_type_t type, iperf_status_t status)
|
||||
{
|
||||
if (status == IPERF_STARTED) {
|
||||
@@ -136,6 +140,9 @@ void app_main(void)
|
||||
app_register_iperf_hook_func(iperf_hook_show_wifi_stats);
|
||||
/* From ping-cmd */
|
||||
ping_cmd_register_ping();
|
||||
#if CONFIG_ESP_COEX_EXTERNAL_COEXIST_ENABLE
|
||||
register_cmd_extcoex();
|
||||
#endif
|
||||
|
||||
|
||||
printf("\n ==================================================\n");
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
CONFIG_ESP_COEX_EXTERNAL_COEXIST_ENABLE=y
|
||||
Reference in New Issue
Block a user