I want to create a standalone C application for pluto SDR that reads samples( transmit signal) from a text/bin file (which is inside pluto) and loads into Tx buffer and transmit it. I had seen other questions/pages where a .mat file or txt file loaded and tranistted through iio-oscilloscope application. Is it possible to do so with C program i,e to read file and load the values directly to the buffer (i.e without converting string to int/floats).
Also if it is not possible and if i convert the samples from string to floats what must be the data type of the tx_buf? If it should be integer how do i create say a lookup table ? Like for example creating sine wave in a microcontroller using DAC that uses some lookup tables.
Adding one more clarification
[edited by: bharathvikram at 1:33 PM (GMT -4) on 28 Jul 2021]