Skip to content

W5500 net_player

W5500 net_player

chen

Published March 03, 2023

Original author: gqhgqh666 · ChinaOriginal source (new tab)

W5500 net_player

Project description

net_player 介绍 使用rtthread内核开发的云音乐播放器客户端,w5500内置tcp/udp协议,mcu采用的stm32f103vct6,资源有限。代码解藕,使用udp协议,使用队列缓冲,丢包超时重传机制。 软件架构 基于rtthread-nano的rtos嵌入式实时系统,创建两个任务:第一个任务负责接收音频数据并进行丢包重传处理,第二个任务负责播放音乐,音频数据使用两个队列进行存储和处理,可写队列的深度表示可以进行接收数据的存储区大小,可读队列的深度表示可以播放音频数据的大小。重传机制是建立的一个滑动窗口,当请求的窗口序列已满,且最小序列的数据包未收到,就会响应重传机制。 详细原理可以参考知乎 安装教程 MDK-V5工程 使用说明 参与贡献 Fork 本仓库 新建 Feat_xxx 分支 提交代码 新建 Pull Request

Keep reading with a free account

Guests can read 15 projects per visit. Log in or create a free account to read the full description, open the documents and join the comments.

Similar projects you might like