Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Send SIGUSR1 to the sim_udpecoder process to simulate a dropped UDP packet.

...

Testing With Encoder Simulator (sim_udpencoder)

To test with the simulator, run sim_udpencoder on the same host as drp_udpencoder and use the matching "-p <partition>" setting.  The simulator sends packets to drp_udpencoder via localhost (127.0.0.1).

Code Block
languagetext
titlesim_udpencoder usage
collapsetrue
$ sim_udpencoder -h
Usage: sim_udpencoder [options]
Options: -r <rate> (0:929kHz,1:71kHz,..)
         -e <evcode>
         -p <partition>
         -d <data port>  (default 5006)
         -v (verbose)
Either -r or -e or -p is required

Send SIGUSR1 to the sim_udpecoder process to simulate a dropped UDP packet.

$ kill -USR1 pid

Send SIGUSR2 to the sim_udpecoder process to simulate a dropped UDP packet.

$ kill -USR2 pid

Testing With Loopback Mode (drp_udpencoder -L <loopback_port>) 

...