关于upnp相关的网络资源答网友email.

UPnP数字家庭网关实践
本文探讨了基于UPnP的数字家庭网关项目中,Server与Renderer组件间的通信问题。提供了丰富的资源链接,包括开源代码、开发工具及测试软件等,有助于读者深入理解UPnP的工作原理和技术细节。
问:
张 写道:

我们是XXX,我们现在在做一个综合实践项目,是基于 UPNP的数字家庭网关,操作系统用的是 LINUX,现在在研究UPNP下的SERVER 和RENDER 如何分别在PC和板子间通信,但是 网上资料太少,能不能肯请余兄给以一些帮助,万分感谢。



答:
你好

应该说现在upnp已经非常成熟了.

www.upnp.org
upnp.sourceforge.net

在intel的网站上也有大量的工具.
http://www.intel.com/cd/ids/developer/asmo-na/eng/downloads/upnp/overview/index.htm

包括测试工具, (Intel® Tools for UPnP Technologies)
还有开发包代码(Intel® Authoring Tools for UPnP Technologies), 这个是免费 代码.



open source的media server有:
gmediaserver
djmount

open source的media render有:
gmediarender,但它是一个非官方.

网络上的第三方server也比较多,
dlink:
http://www.dlink.com/products/support.asp?pid=318&sec=0#applications
tversity:
www.tversity.com
等.


另外还有
www.dhtools.org 也有参考代码.
www.dlna.org



你可以用一些工具,先熟悉upnp的各个过程,设备发现, (ssdp, MSEARCH, NOTIFY) 等等. 用ethreal抓抓包看看.
(intel tools里的"AV Media Control.exe" "device spy.exe"都是很有用的工具.)

对了, 测试时, 记得i386 PC上的media server, 防火墙关关, 否则search 不到 server.

TAO
Project: miniupnp Project web page: http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/ github: https://github.com/miniupnp/miniupnp freecode: http://freecode.com/projects/miniupnp Author: Thomas Bernard Copyright (c) 2005-2014 Thomas Bernard This software is subject to the conditions detailed in the LICENSE file provided within this distribution. * miniUPnP Client - miniUPnPc * To compile, simply run 'gmake' (could be 'make' on your system). Under win32, to compile with MinGW, type "mingw32make.bat". MS Visual C solution and project files are supplied in the msvc/ subdirectory. The compilation is known to work under linux, FreeBSD, OpenBSD, MacOS X, AmigaOS and cygwin. The official AmigaOS4.1 SDK was used for AmigaOS4 and GeekGadgets for AmigaOS3. upx (http://upx.sourceforge.net) is used to compress the win32 .exe files. To install the library and headers on the system use : > su > make install > exit alternatively, to install into a specific location, use : > INSTALLPREFIX=/usr/local make install upnpc.c is a sample client using the libminiupnpc. To use the libminiupnpc in your application, link it with libminiupnpc.a (or .so) and use the following functions found in miniupnpc.h, upnpcommands.h and miniwget.h : - upnpDiscover() - miniwget() - parserootdesc() - GetUPNPUrls() - UPNP_* (calling UPNP methods) Note : use #include <miniupnpc/miniupnpc.h> etc... for the includes and -lminiupnpc for the link Discovery process is speeded up when MiniSSDPd is running on the machine. * Python module * you can build a python module with 'make pythonmodule' and install it with 'make installpythonmodule'. setup.py (and setupmingw32.py) are included in the distribution. Feel free to contact me if you have any problem : e-mail : miniupnp@free.fr If you are using libminiupnpc in your application, please send me an email ! For any question, you can use the web forum : http://miniupnp.tuxfamily.org/forum/
最新发布
09-10
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值