All of lore.kernel.org
 help / color / mirror / Atom feed
* How to verify TDMA functionality
@ 2022-08-16  9:23 Zhang, Qiang1
  0 siblings, 0 replies; only message in thread
From: Zhang, Qiang1 @ 2022-08-16  9:23 UTC (permalink / raw)
  To: Kiszka, Jan; +Cc: xenomai

Hi Jan

I have enabled the TDMA function on the server and client side 
respectively(execute the rtnet start command successfully in server and client)

Are there any relevant smokey test cases to test TDMA functionality or how to test?


Thanks
Zqiang


The content of the configuration file of rtnet is as follows:

server rtnet.conf:

IPADDR="192.208.1.100"
NETMASK=""

Start realtime loopback device ("yes" or "no")
RT_LOOPBACK="yes"

Use the following RTnet protocol drivers
RT_PROTOCOLS="udp packet"

Start capturing interface ("yes" or "no")
RTCAP="no"

STAGE_2_SRC=""

Stage 2 config data destination file (slave mode only)
STAGE_2_DST=""

Command to be executed after stage 2 phase (slave mode only)
STAGE_2_CMDS=""

TDMA mode of the station ("master" or "slave")

Start backup masters in slave mode, it will then be switched to master

mode automatically during startup.
TDMA_MODE="master"

Master parameters

Simple setup: List of TDMA slaves
TDMA_SLAVES="192.208.1.101"

Simple setup: Cycle time in microsecond
TDMA_CYCLE="5000"

Simple setup: Offset in microsecond between TDMA slots
TDMA_OFFSET="200"

=============================================================================

slave rtnet.conf:

IPADDR="192.208.1.101"
NETMASK=""

Start realtime loopback device ("yes" or "no")
RT_LOOPBACK="yes"

Use the following RTnet protocol drivers
RT_PROTOCOLS="udp packet"

Start capturing interface ("yes" or "no")
RTCAP="no"

STAGE_2_SRC=""

Stage 2 config data destination file (slave mode only)
STAGE_2_DST=""

Command to be executed after stage 2 phase (slave mode only)
STAGE_2_CMDS=""

 

TDMA mode of the station ("master" or "slave")

Start backup masters in slave mode, it will then be switched to master

mode automatically during startup.
TDMA_MODE="slave"

Simple setup: Cycle time in microsecond
TDMA_CYCLE="5000"

Simple setup: Offset in microsecond between TDMA slots
TDMA_OFFSET="200"

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-08-16  9:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-16  9:23 How to verify TDMA functionality Zhang, Qiang1

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.