get-started的pipeline_tcp_client问题

SSSSJX
Posts: 18
Joined: Tue Oct 12, 2021 2:37 am

get-started的pipeline_tcp_client问题

Postby SSSSJX » Wed Nov 10, 2021 11:13 am

请问在get-started/pipeline_tcp_client中的TCP_URL和TCP_PORT是什么啊,是自带的默认值吗,默认值编译会出错。
微信图片_20211110190652.png
微信图片_20211110190652.png (16.23 KiB) Viewed 8864 times
图二是我电脑的ip信息
微信图片_20211110190324.png
微信图片_20211110190324.png (38.2 KiB) Viewed 8864 times

ESP_HengYC
Posts: 184
Joined: Fri Dec 15, 2017 2:45 am

Re: get-started的pipeline_tcp_client问题

Postby ESP_HengYC » Mon Nov 15, 2021 9:15 am

你好,
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 地址需要实际确定。

Who is online

Users browsing this forum: No registered users and 39 guests