Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A Lean DLNA Server and Control Point Implementation for Microcontrollers

License

NotificationsYou must be signed in to change notification settings

pschatzmann/arduino-dlna

Repository files navigation

Arduino LibraryLicense: MIT

This library provides the functionality to implementUPnP/DLNA control points and devices for Arduino.

The Digital Living Network Alliance (DLNA) aimed to establishinteroperability among PCs, consumer appliances, and mobile devices across wired and wireless networks. The goal was to provide a common solution forsharing digital media and content services.

Though this technology is now more then 20 years old and can be considered obsolete, it is still quite useful for some use cases: ForAudio and Video the successor protocols areChromecast and AirPlay. Chromecast is close sourced and uses secure channels to Google, so you can't implement your own devices. On the other hand, Airplay is Apple specific and is not available on other platforms (e.g. Android). This leavesDLNA as the only open and flexible Standard for accessing and sharing digital media (audio, video, images...)!

Device Types and Control Points

This library provides memory-efficient classes to implementDLNA devices andcontrol points (=clients). In addition to the core functionality, this project includes some easy-to-use classes:

This implementation supports the differentArduino Network Stacks: Just specifyyour network class as template parameter. The table below shows the recommendedpairings for the common Arduino WiFi and Ethernet libraries.

ClassWiFiEthernet
HttpRequestHttpRequest<WiFiClient>HttpRequest<EthernetClient>
HttpServerHttpServer<WiFiClient, WiFiServer>HttpServer<EthernetClient, EthernetServer>
HttpServerUsingTaskHttpServerUsingTask<WiFiClient, WiFiServer>HttpServerUsingTask<EthernetClient, EthernetServer>
DLNADeviceDLNADevice<WiFiClient>DLNADevice<EthernetClient>
DLNAMediaRendererDLNAMediaRenderer<WiFiClient>DLNAMediaRenderer<EthernetClient>
DLNAMediaServerDLNAMediaServer<WiFiClient>DLNAMediaServer<EthernetClient>
UDPServiceUDPService<WiFiUDP>UDPService<EthernetUDP>

Project Documentation

Installation in Arduino

You can download the library as zip and call include Library -> zip library. Or you can git clone this project into the Arduino libraries folder e.g. with

cd  ~/Documents/Arduino/librariesgit clone https://github.com/pschatzmann/arduino-dlna.git

I recommend to use git because you can easily update to the latest version just by executing thegit pull command in the project folder.

Sponsor Me

This software is totally free, but you can make me happy by rewarding me with a treat


[8]ページ先頭

©2009-2025 Movatter.jp