Port qa_testsuite.py to GNU Radio 3.9

Reinstate MANIFEST.md
pull/148/head
Pieter Robyns 2021-11-30 20:38:07 -05:00
rodzic baf2e43db1
commit 5a22145ea8
2 zmienionych plików z 12 dodań i 7 usunięć

Wyświetl plik

@ -1,14 +1,18 @@
title: The LORA OOT Module title: The LORA OOT Module
brief: Short description of gr-lora brief: GNU Radio blocks for receiving LoRa modulated radio messages using SDR
tags: # Tags are arbitrary, but look at CGRAN what other authors are using tags: # Tags are arbitrary, but look at CGRAN what other authors are using
- sdr - sdr
- lora
- receiving
- decoding
author: author:
- Author Name <authors@email.address> - Pieter Robyns <pieter.robyns (<at>) uhasselt.be>
- Eduard Marin <eduard.marin (<at>) esat.kuleuven.be>
copyright_owner: copyright_owner:
- Copyright Owner 1 - All contributors have copyright over their respective code contributions
license: license: GNU GENERAL PUBLIC LICENSE Version 3
gr_supported_version: # Put a comma separated list of supported GR versions here gr_supported_version: 3.9
#repo: # Put the URL of the repository here, or leave blank for default repo: https://github.com/rpp0/gr-lora
#website: <module_website> # If you have a separate project website, put it here #website: <module_website> # If you have a separate project website, put it here
#icon: <icon_url> # Put a URL to a square image here that will be used as an icon on CGRAN #icon: <icon_url> # Put a URL to a square image here that will be used as an icon on CGRAN
--- ---

Wyświetl plik

@ -14,6 +14,7 @@ import argparse
from gnuradio import gr, gr_unittest, blocks, filter from gnuradio import gr, gr_unittest, blocks, filter
from gnuradio.filter import firdes from gnuradio.filter import firdes
from gnuradio.fft import window
from sigmf.sigmffile import SigMFFile from sigmf.sigmffile import SigMFFile
from lora.loraconfig import LoRaConfig from lora.loraconfig import LoRaConfig
from lora.lorasocket import LoRaUDPServer from lora.lorasocket import LoRaUDPServer
@ -230,7 +231,7 @@ class qa_testsuite():
lora_receiver = lora.lora_receiver(sample_rate, capture_freq, [868100000], bw, sf, False, 4, True, reduced_rate=False, decimation=1) lora_receiver = lora.lora_receiver(sample_rate, capture_freq, [868100000], bw, sf, False, 4, True, reduced_rate=False, decimation=1)
throttle = blocks.throttle(gr.sizeof_gr_complex, sample_rate, True) throttle = blocks.throttle(gr.sizeof_gr_complex, sample_rate, True)
message_socket_sink = lora.message_socket_sink("127.0.0.1", 40868, 2) message_socket_sink = lora.message_socket_sink("127.0.0.1", 40868, 2)
freq_xlating_fir_filter = filter.freq_xlating_fir_filter_ccc(1, (firdes.low_pass(1, sample_rate, 200000, 100000, firdes.WIN_HAMMING, 6.67)), frequency_offset, sample_rate) freq_xlating_fir_filter = filter.freq_xlating_fir_filter_ccc(1, (firdes.low_pass(1, sample_rate, 200000, 100000, window.win_type.WIN_HAMMING, 6.67)), frequency_offset, sample_rate)
# Make connections # Make connections
tb.connect((file_source, 0), (throttle, 0)) tb.connect((file_source, 0), (throttle, 0))