From a4626e99fccebd7ee9473feec7cf1336912f61d7 Mon Sep 17 00:00:00 2001 From: Jens Ahrensfeld Date: Sat, 1 Jun 2019 09:38:51 +0000 Subject: [PATCH] [Peak Detector] - added callbacks for dynamic parameter change git-svn-id: http://moon:8086/svn/software/trunk/projects/GnuRadio@535 b431acfa-c32f-4a4a-93f1-934dc6c82436 --- gr-jay/grc/jay_peak_detect.xml | 6 ++++ gr-jay/include/jay/peak_detect.h | 7 +++++ gr-jay/lib/peak_detect_impl.cc | 48 ++++++++++++++++++++++++++++++-- gr-jay/lib/peak_detect_impl.h | 10 +++++++ 4 files changed, 68 insertions(+), 3 deletions(-) diff --git a/gr-jay/grc/jay_peak_detect.xml b/gr-jay/grc/jay_peak_detect.xml index fb605cb..9c53f31 100644 --- a/gr-jay/grc/jay_peak_detect.xml +++ b/gr-jay/grc/jay_peak_detect.xml @@ -5,6 +5,12 @@ [jay] import jay jay.peak_detect($vlen, $framerate, $bandwidth, $fcenter, $peak_thresh, $peak_hysteresis, $peak_width_min, $peak_width_max, $alpha_s, $alpha_m) + set_bandwidth($bandwidth) + set_centerFrequency($fcenter) + set_peakThresh($peak_thresh) + set_peakHysteresis($peak_hysteresis) + set_peakWidthMin($peak_width_min) + set_peakWidthMax($peak_width_max)