Page 1 of 1

get-started的pipeline_tcp_client问题

Posted: Wed Nov 10, 2021 11:13 am
by SSSSJX
请问在get-started/pipeline_tcp_client中的TCP_URL和TCP_PORT是什么啊,是自带的默认值吗,默认值编译会出错。
微信图片_20211110190652.png
微信图片_20211110190652.png (16.23 KiB) Viewed 8828 times
图二是我电脑的ip信息
微信图片_20211110190324.png
微信图片_20211110190324.png (38.2 KiB) Viewed 8828 times

Re: get-started的pipeline_tcp_client问题

Posted: Mon Nov 15, 2021 9:15 am
by ESP_HengYC
你好,
Usage
Prepare the audio board:

Connect speakers or headphones to the board.
Configure the example:

Select compatible audio board in menuconfig > Audio HAL.
Set up the Wi-Fi connection by running menuconfig > Example Configuration and filling in WiFi SSID , WiFi Password CONFIG_TCP_URL and CONFIG_TCP_PORT.
Load and run the example:

Copy a mp3 music to tools folder, and named esp32.mp3
Run the tcp_server_write.py script from tools folder
The audio board will first connect to the Wi-Fi.
Then the board will get data from local server and play

此例程的 README 已经提供了详细是使用步骤, 关于你说的这两个参数应该是 tcp_server_write.py 脚本运行时候提供的参数,IP 地址需要实际确定。