AVB 的上位机控制软件怎么玩?
2016-04-10 20:42
405 查看
大家知道avb 里面有一个控制和管理的协议叫1722.1 ,这个是开源的, 大家都可以用。 最近xmos 跟第三方写了一个开源的上位机1722.1的库。 in
C++ for Windows, OS X and Linux 。
it provides
an API to discover, connect and control 1722.1-compliant AVB endpoints.
还提供了一个上位机命令行的示例。 但是没有做好现成的gui界面, 需要工程师们自己去实现gui .
Github: https://github.com/audioscience/avdecc-lib
如果需要支持的话,可以上上面的地址, github , ‘Issues’ feature ,或者通过发邮件到下面的邮件地址 list: https://groups.google.com/forum/#!forum/avdecc-lib
同时可以下载这个报告文档 :http://pan.baidu.com/s/1GgsHp
有人要去购买avb 的库吗? 标准的协议吗? 在这里可以购买:
http://standards.ieee.org/findstds/standard/1722.1-2013.html
Even AVnu members do not get access to ratified 1722 and 1722.1 specifications and must purchase them from the IEEE website.
Some AVB protocols (802.1Q and 802.1AS) are available for free from the IEEE website here:http://standards.ieee.org/about/get/802/802.1.html
最近XMOS 发布了 AVDECC-Lib 可以在上位机编译使用的api 。 需要结合 WinPCAP 使用, 或者Wireshark/ WinPCAP, 但是如果你是在windows 8 使用的话,好像有问题,可以参考这里的办法: http://ask.wireshark.org/questions/26361/loading-configuration-files
Download Microsoft Visual Studio Express 2013 for Windows Desktop
http://www.visualstudio.com/downloads/download-visual-studio-vs#d-express-windows-desktop
Get the lib from GIT
Using git-bash:
· Make
and enter project directory
· git
clone git://github.com/audioscience/avdecc-lib
· cd
avdecc-lib
· git
submodule init
· Change
in .git/config :
url = git@github.com:jdkoftinoff/jdksavdecc-c.git to
url = git ://github.com/jdkoftinoff/jdksavdecc-c.git
otherwise the next command may fails.
· git
submodule update
Get winPcap
· Download
WinPcap 4.1.2 Developer's Pack : http://www.winpcap.org/devel.htm
· Extract
and set the following environment variable to point to its path :
WPCAP_DIR=[WpdPack path]
Compile
· Open
command window to "project folder" AVDECC-Lib
· Initialize
compiler environment :
"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" x86
· cmake
.
· msbuild
ALL_BUILD.vcxproj
· cd
controller
· cmake
.
· msbuild
ALL_BUILD.vcxproj
Run
· controller.dll
located in : AVDECC-Lib\avdecc-lib\controller\lib\Debug
· command
line app located in : AVDECC-Lib\avdecc-lib\controller\app\cmdline\Debug
· Copy
controller.dll to app folder
· Run
as administrator
Setup a path between one endpoint and another using the controller
· The
connect command is used to make a connection between endpoints. Eg. Connect 1 0 0 0 will
connect endpoint 1, stream 0 to endpoint 0, stream0.
· You
can identify which end point is which using the identify command . eg. Identify 0 will light the LEDs on endpoint 0.
附上现在经过了avnu 验证的avb 交换机
http://www.commercialintegrator.com/article/first_avnu_certified_products_are_exteme_networks_summit_x440_series
有人要测试自己的产品跟avb 的兼容性吗? 可以自己买来自己测试,下面是相关资料
https://www.iol.unh.edu/services/testing/AVnu/
https://www.iol.unh.edu/services/testing/AVnu/AVnu_Brochure.pdf
如果你是avnu 的会员,这里有测试工具: https://www.iol.unh.edu/services/testing/tools/avnu/
但是如果你是要分析网口发包和收包的话,可以用Wireshark 这个软件, 电脑装完后很容易分析的。
C++ for Windows, OS X and Linux 。
it provides
an API to discover, connect and control 1722.1-compliant AVB endpoints.
还提供了一个上位机命令行的示例。 但是没有做好现成的gui界面, 需要工程师们自己去实现gui .
Github: https://github.com/audioscience/avdecc-lib
如果需要支持的话,可以上上面的地址, github , ‘Issues’ feature ,或者通过发邮件到下面的邮件地址 list: https://groups.google.com/forum/#!forum/avdecc-lib
同时可以下载这个报告文档 :http://pan.baidu.com/s/1GgsHp
有人要去购买avb 的库吗? 标准的协议吗? 在这里可以购买:
http://standards.ieee.org/findstds/standard/1722.1-2013.html
Even AVnu members do not get access to ratified 1722 and 1722.1 specifications and must purchase them from the IEEE website.
Some AVB protocols (802.1Q and 802.1AS) are available for free from the IEEE website here:http://standards.ieee.org/about/get/802/802.1.html
最近XMOS 发布了 AVDECC-Lib 可以在上位机编译使用的api 。 需要结合 WinPCAP 使用, 或者Wireshark/ WinPCAP, 但是如果你是在windows 8 使用的话,好像有问题,可以参考这里的办法: http://ask.wireshark.org/questions/26361/loading-configuration-files
Download Microsoft Visual Studio Express 2013 for Windows Desktop
http://www.visualstudio.com/downloads/download-visual-studio-vs#d-express-windows-desktop
Get the lib from GIT
Using git-bash:
· Make
and enter project directory
· git
clone git://github.com/audioscience/avdecc-lib
· cd
avdecc-lib
· git
submodule init
· Change
in .git/config :
url = git@github.com:jdkoftinoff/jdksavdecc-c.git to
url = git ://github.com/jdkoftinoff/jdksavdecc-c.git
otherwise the next command may fails.
· git
submodule update
Get winPcap
· Download
WinPcap 4.1.2 Developer's Pack : http://www.winpcap.org/devel.htm
· Extract
and set the following environment variable to point to its path :
WPCAP_DIR=[WpdPack path]
Compile
· Open
command window to "project folder" AVDECC-Lib
· Initialize
compiler environment :
"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" x86
· cmake
.
· msbuild
ALL_BUILD.vcxproj
· cd
controller
· cmake
.
· msbuild
ALL_BUILD.vcxproj
Run
· controller.dll
located in : AVDECC-Lib\avdecc-lib\controller\lib\Debug
· command
line app located in : AVDECC-Lib\avdecc-lib\controller\app\cmdline\Debug
· Copy
controller.dll to app folder
· Run
as administrator
Setup a path between one endpoint and another using the controller
· The
connect command is used to make a connection between endpoints. Eg. Connect 1 0 0 0 will
connect endpoint 1, stream 0 to endpoint 0, stream0.
· You
can identify which end point is which using the identify command . eg. Identify 0 will light the LEDs on endpoint 0.
附上现在经过了avnu 验证的avb 交换机
http://www.commercialintegrator.com/article/first_avnu_certified_products_are_exteme_networks_summit_x440_series
有人要测试自己的产品跟avb 的兼容性吗? 可以自己买来自己测试,下面是相关资料
https://www.iol.unh.edu/services/testing/AVnu/
https://www.iol.unh.edu/services/testing/AVnu/AVnu_Brochure.pdf
如果你是avnu 的会员,这里有测试工具: https://www.iol.unh.edu/services/testing/tools/avnu/
但是如果你是要分析网口发包和收包的话,可以用Wireshark 这个软件, 电脑装完后很容易分析的。
相关文章推荐
- 学习vb的心得体会
- 对vb感受(下)
- 对vb感受(上)
- VB.net机房收费系统小问题之变量赋值前被使用
- 做完VB后的感言
- 工程设计人员VB开发注意几个问题
- VBA窗体转VB方法
- VB.net版机房收费系统——结账功能实现(调错与优化)
- VB.net版机房收费系统——结账功能实现(代码部分)
- VB.net版机房收费系统——Trim函数&Round函数&Mid函数
- VB.net版机房收费系统——VS报表制作及功能实现中的问题及解决办法(好学的代价=Bug)
- 怎样算出15个数的和
- R语言︱用excel VBA把xlsx批量转化为csv格式
- VBA 一个很神奇的东西
- 【VBA研究】怎样将单元格数据赋给数组
- 【从VB.NET视频看学习态度】
- vb6.0的常用属性
- 【VB.net】三层登陆的代码实现
- VB.net版机房收费系统——VS使用中的细节问题
- VB6.0 实现读取ini配置文件