]> git.rkrishnan.org Git - pihpsdr.git/commit
Add STEMlab discovery using Avahi
authorMarkus Großer <markus.grosser2+git@gmail.com>
Wed, 15 Nov 2017 22:00:53 +0000 (23:00 +0100)
committerMarkus Großer <markus.grosser2+git@gmail.com>
Wed, 15 Nov 2017 22:00:53 +0000 (23:00 +0100)
commit62db6278cb6e44229e52d205b7f3b96251bbaff8
treeffeff436e38f201561b25132e96d2895198b6305
parentb462adc15f9b6601649936c39ed7c3ad95f83924
Add STEMlab discovery using Avahi

This is currently hidden behind a flag in the Makefile as it introduces
two dependencies, namely Avahi and libcurl.

The rationale for this addition is that the STEMlab (also known as Red
Pitaya, the name under which it was previously sold) does start SDR
applications installed on it automatically. To avoid having to open the
web interface in order to use it as an SDR (which requires knowing its
IP or hostname, provided hostname resolution works), this patch adds
functionality to pihpsdr to discover the STEMlab using Avahi, and to
start a selected SDR application using its web API.
Makefile
discovered.h
discovery.c
stemlab_discovery.c [new file with mode: 0644]
stemlab_discovery.h [new file with mode: 0644]