Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

esp_csi_tool.py: error: the following arguments are required: -p/--port (AEGHB-813) #206

Open
3 tasks done
CCY-Dean opened this issue Sep 15, 2024 · 1 comment
Open
3 tasks done

Comments

@CCY-Dean
Copy link

Checklist

  • Checked the issue tracker for similar issues to ensure this is not a duplicate
  • Read the documentation to confirm the issue is not addressed there and your configuration is set correctly
  • Tested with the latest version to ensure the issue hasn't been fixed

How often does this bug occurs?

always

Expected behavior

我在esp32-s3上运行了esp-radar的代码,本来应该有波形界面产生

Actual behavior (suspected bug)

发现在运行esp_csi_tool时无界面显示

Error logs or terminal output

esp_csi_tool.py: error: the following arguments are required: -p/--port

Steps to reproduce the behavior

重装试过了不行

Project release version

v5.3.1

System architecture

Intel/AMD 64-bit (modern PC, older Mac)

Operating system

Windows

Operating system version

Window10

Shell

ZSH

Additional context

No response

@github-actions github-actions bot changed the title esp_csi_tool.py: error: the following arguments are required: -p/--port esp_csi_tool.py: error: the following arguments are required: -p/--port (AEGHB-813) Sep 15, 2024
@NingYuxiang
Copy link

这个错误提示表明在运行 esp_csi_tool.py 时,缺少了必需的 -p 或 --port 参数,这个参数指定了连接到 ESP32 设备的串口(即设备的端口号)。该工具需要通过串口与 ESP32 设备进行通信。

解决方法

1、查看可用串口:

你需要找到 ESP32 设备连接到计算机上的串口端口。

  • 在 Windows 上,可以在设备管理器中查看 COM 端口(通常是 COMx,例如 COM3)。
  • 在 Linux 或 macOS 上,可以通过运行以下命令来查看:
ls /dev/ttyUSB*  # Linux

2、使用正确的端口运行命令:

一旦确定了 ESP32 设备的串口端口,使用 -p 或 --port 参数指定端口。例如:

python esp_csi_tool.py -p COM3  # Windows
python esp_csi_tool.py -p /dev/ttyUSB0  # Linux

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants