analogdevicesinc / iio-emu

Server application for libiio clients.
Other
8 stars 6 forks source link

IIO EMU

Server application for libiio clients. IIO-Emu can be extended to simulate different behaviors.

Available options:

option arguments description
generic device_id>@<file_path ... Creates a server that uses a context for accessing attributes based on the XML file. The server is created at the specified TCP port, if no port is provided a default one will be used. The file should respect the given template. RX or TX devices can be linked to a file from which to stream data
adalm2000 - Creates a server for emulating the basic behavior of ADALM2000

Build instructions

Linux

Dependencies

Basic system setup

sudo apt-get update
sudo apt-get install cmake build-essential

Install Prerequisites

sudo apt-get install libxml2-dev

Build IIOD protocol lib

git clone https://github.com/analogdevicesinc/libtinyiiod.git
cd libtinyiiod
mkdir build && cd build
cmake -DBUILD_EXAMPLES=OFF ..
make
sudo make install

Build iio-emu

git clone https://github.com/analogdevicesinc/iio-emu.git
cd iio-emu
mkdir build && cd build
cmake ..
make