summaryrefslogtreecommitdiff
path: root/documents/examples
diff options
context:
space:
mode:
authorStefan S <smarzlys@gmail.com>2014-12-22 14:32:29 +0100
committerStefan S <smarzlys@gmail.com>2014-12-22 14:32:29 +0100
commitdff79c48e95f86809ffa8ed2fb05d9eab67efca6 (patch)
treea73ffc83114f255c11058f49b93c8622c6ea29e3 /documents/examples
parent500ff53a72dd538623abd3dd808dae4e2c0a1933 (diff)
downloadOpen-AVB-dff79c48e95f86809ffa8ed2fb05d9eab67efca6.tar.gz
Simple example how to setup AVB's talker-listener example
Diffstat (limited to 'documents/examples')
-rw-r--r--documents/examples/AVB_Talker_Listener_Example_Setup.md46
1 files changed, 46 insertions, 0 deletions
diff --git a/documents/examples/AVB_Talker_Listener_Example_Setup.md b/documents/examples/AVB_Talker_Listener_Example_Setup.md
new file mode 100644
index 00000000..fb2431bf
--- /dev/null
+++ b/documents/examples/AVB_Talker_Listener_Example_Setup.md
@@ -0,0 +1,46 @@
+# Setup AVB tools for listener / talker example
+
+We assume the following PC setup:
+ * PC1: ethernet eth0 for AVB connection
+ * PC2: ethernet eth2 for AVB connection
+ * Both ethernet cards are using the driver `igb_avb`.
+ Check via `ethtool -i eth0`.
+ * Both PCs can ping each other through the AVB network cards.
+
+## PC 1: start AVB environment + talker application
+
+Start AVB environment:
+
+```bash
+# GPTP time synchronization daemon
+sudo ./daemon_cl eth0 -R 1
+
+# Stream reservation daemon (m: MMRP, v: MVRP, s: MSRP)
+sudo ./mrpd -mvs -i eth0
+```
+
+Start AVB talker example:
+
+```bash
+sudo ./simple_talker -i eth0 -t 2
+```
+
+## PC 2: start AVB environment + listener application
+
+Start AVB environment similar to PC 1:
+
+```bash
+# GPTP time synchronization daemon (will synchronize on PC 1)
+sudo ./daemon_cl eth2
+
+# Stream reservation daemon (m: MMRP, v: MVRP, s: MSRP)
+sudo ./mrpd -mvs -i eth2
+```
+
+Start AVB listener example:
+
+```bash
+sudo ./simple_listener -i eth2 -f out.wav
+```
+
+:tada: