-
Notifications
You must be signed in to change notification settings - Fork 3
Packet generator
The packet generator allows the user to specify a number of satellites generating a number of packets. These packets are put into TC-Transfer Segments and those finally put into TC-Transfer Frames. The generator renders some noise upon these frames to simulate transmission errors.
The frames generated are fed into the real API interface.
To use the packet generator open a linux shell and enter
./packetgen <num satellites> <num packets overall>
For example to generate packets 500 packets from 3 different satellites do
./packetgen 3 500
The library is used in the packet generator to create the packets, segments and frames on the generating side of the process. A real world application would get the frames from a real uplink channel and will only need to reconstruct segments from the given frames and packets from the reconstructed segments again. For demo purposes, this is combined in the packet generator. The packet generator will use the reconstructed packets and put them into a database.