---
title: "W5500 net_player"
url: "https://maker.wiznet.io/chen/projects/w5500-net-player/"
markdown_url: "https://maker.wiznet.io/chen/projects/w5500-net-player/md"
type: "UCC: User Created Content"
author: "gqhgqh666"
author_url: "https://gitee.com/quar/net_player"
editor: "WIZnet"
editor_url: "https://maker.wiznet.io/"
original_author: "gqhgqh666"
original_url: "https://gitee.com/quar/net_player"
published: "2023-03-03"
language: "en"
likes: 2
views: 115
comments: 0
source: "WIZnet Makers (https://maker.wiznet.io/)"
---

# W5500 net_player

> W5500 net_player

Original author: gqhgqh666 (source: https://gitee.com/quar/net_player)

## Article

## **net_player**

#### **介绍**

使用rtthread内核开发的云音乐播放器客户端，w5500内置tcp/udp协议，mcu采用的stm32f103vct6，资源有限。代码解藕，使用udp协议，使用队列缓冲，丢包超时重传机制。

#### **软件架构**

基于rtthread-nano的rtos嵌入式实时系统，创建两个任务：第一个任务负责接收音频数据并进行丢包重传处理，第二个任务负责播放音乐，音频数据使用两个队列进行存储和处理，可写队列的深度表示可以进行接收数据的存储区大小，可读队列的深度表示可以播放音频数据的大小。重传机制是建立的一个滑动窗口，当请求的窗口序列已满，且最小序列的数据包未收到，就会响应重传机制。 [详细原理可以参考知乎](https://gitee.com/link?target=https%3A%2F%2Fwww.zhihu.com%2Fquestion%2F49747529%2Fanswer%2F287465942)

#### **安装教程**

1. MDK-V5工程

#### **使用说明**

#### **参与贡献**

1. Fork 本仓库

2. 新建 Feat_xxx 分支

3. 提交代码

4. 新建 Pull Request

---

Source: https://maker.wiznet.io/chen/projects/w5500-net-player/
