Skip to content

Struct cl_packet_generator_config_t

ClassList > cl_packet_generator_config_t

Configuration options for packet generator.

  • #include <cl/cl_api.h>

Public Attributes

Type Name
uint8_t burst_size
bool enabled
bool generate_bad_packets
enum cl_pg_payload_size_t payload_size
enum cl_pg_payload_type_t payload_type

Public Attributes Documentation

variable burst_size

uint8_t cl_packet_generator_config_t::burst_size;

Number of packets to generate (0 = continous)


variable enabled

bool cl_packet_generator_config_t::enabled;

Generator enabled


variable generate_bad_packets

bool cl_packet_generator_config_t::generate_bad_packets;

Will generate frames with symbol errors and bad CRC if true


variable payload_size

enum cl_pg_payload_size_t cl_packet_generator_config_t::payload_size;

The size of each generated frame


variable payload_type

enum cl_pg_payload_type_t cl_packet_generator_config_t::payload_type;

The bit pattern of the generated payload, see cl_pg_payload_type_t



The documentation for this class was generated from the following file cl/cl_api.h