11#ifndef INCLUDED_LORA_SDR_DATA_SOURCE_SIM_IMPL_H
12#define INCLUDED_LORA_SDR_DATA_SOURCE_SIM_IMPL_H
48 std::string m_string_input;
88 std::string random_string(
int nbytes);
101 uint32_t mean,
bool multi_control);
115 void forecast(
int noutput_items, gr_vector_int &ninput_items_required);
129 gr_vector_const_void_star &input_items,
130 gr_vector_void_star &output_items);
Definition: data_source_sim_impl.h:20
~data_source_sim_impl()
Destroy the data source impl object.
void forecast(int noutput_items, gr_vector_int &ninput_items_required)
Place holder function does not do anything for the data source.
data_source_sim_impl(int pay_len, int n_frames, std::string string_input, uint32_t mean, bool multi_control)
Construct a new data source impl object.
int general_work(int noutput_items, gr_vector_int &ninput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
Main function, generates random ([a-z A-Z 0-9]) data input to be sent over the network or if input_st...
Data source that can both generate random strings or static strings, for more information about the i...
Definition: data_source_sim.h:28