summaryrefslogtreecommitdiff
path: root/gr-vocoder/grc
diff options
context:
space:
mode:
authorClayton Smith <argilo@gmail.com>2020-10-12 09:09:43 -0400
committermormj <34754695+mormj@users.noreply.github.com>2020-10-20 08:40:31 -0400
commit629d8854863ab9ea782d0c0d648f525ed5d4c71b (patch)
tree7fba59da700a1080c2f259abbb33a9c184a0b9a7 /gr-vocoder/grc
parenta61c0c32b92dad34d4c1dda77064f36ce2780fcf (diff)
vocoder: add text message output to FreeDV demodulator
The FreeDV protocol includes a low bit rate text stream which is used to transmit information such as call sign and location. GNU Radio's FreeDV demodulator block sets up a callback to receive this text data, but the callback currently does nothing. Here I've added an optional message output to the block. It collects characters until a carriage return is encountered, then outputs a string. I've updated the sample flow graph to print these messages using the Message Debug block.
Diffstat (limited to 'gr-vocoder/grc')
-rw-r--r--gr-vocoder/grc/vocoder_freedv_rx_ss.block.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/gr-vocoder/grc/vocoder_freedv_rx_ss.block.yml b/gr-vocoder/grc/vocoder_freedv_rx_ss.block.yml
index b1ec5339e6..31f88b3224 100644
--- a/gr-vocoder/grc/vocoder_freedv_rx_ss.block.yml
+++ b/gr-vocoder/grc/vocoder_freedv_rx_ss.block.yml
@@ -29,6 +29,9 @@ inputs:
outputs:
- domain: stream
dtype: short
+- domain: message
+ id: text
+ optional: true
templates:
imports: |-