Question about real-time networking
Quoted 12 lines · 김병진
Quoted 5 lines
Quoted 1 line · 김병진 via Xenomai
Hello<br>I wanna use tcp or udp for real-time network.<br>i found an example from /home/kraptor/xenomai-v3.0.8/demo/posix/cobalt/eth_p_all<br>But it seems like not using rtnet.<br>https://gitlab.denx.de/Xenomai/xenomai/wikis/RTnet<br>Wiki says that i need to install Rtnet separately.<br>Is it right? I am trying to build rtnet tcp example without install.<br>Cause all function I need is in /xenomai/kernel/drivers/net/stack/<br>But what should I include or link?(cflags or ldflags)<br><br>Is there anyone who can help me?<br><br>Thank you.
Something is mangling your emails...
Sorry for messy html. I think My mail editor has a problem:(
Quoted 1 line
RTnet is part of Xenomai, no need for a separate installation anymore. Where exactly is our wiki suggesting something different?
Several paths in 'Rtnet programming' are based on installing Rtnet.
Quoted 7 lines
https://gitlab.denx.de/Xenomai/xenomai/wikis/RTnet
"The second folder of interest is the folder where RTnet was installed into. The default location for this would be /usr/local/rtnet."
https://gitlab.denx.de/Xenomai/xenomai/wikis/RTnet_Setup
"Change to directory /usr/local/rtnet/sbin"
Well, that is talking about installing it from the Xenomai sources onto the target. That still applies.
Quoted 7 lines
Quoted 2 lines
For rttcp, you need to use the development branch (master).
So if i use master branch xenomai, can i add tcp in "RT_PROTOCOLS" from 'rtnet.conf'?
I can't add tcp flags on 3.0.8 branch because there is no tcp/rtnet option in kernel config.
As I said: use git, master branch.
Jan
Signature · 2 lines
Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux