summaryrefslogtreecommitdiff
path: root/gr-digital/python/digital/qa_packet_format.py
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2021-05-17 17:56:06 +0200
committermormj <34754695+mormj@users.noreply.github.com>2021-05-22 14:30:40 -0400
commit5b82f925f4af11ba99d6c7e61dbef3fc3c0d33b3 (patch)
tree9511c7df58a6e11bcb8a376ed784be63245ec89e /gr-digital/python/digital/qa_packet_format.py
parent60147b42f29f9746a3f8fb5d41193f39a29054eb (diff)
digital: Gut packet_utils.py
This module is a deprecated module and is used nowhere in GNU Radio, with the exception of a single variable (default_access_code). We keep that variable and remove all the rest. Because this module was the only consumer of crc.py, that was also removed. Signed-off-by: Martin Braun <martin.braun@ettus.com>
Diffstat (limited to 'gr-digital/python/digital/qa_packet_format.py')
-rw-r--r--gr-digital/python/digital/qa_packet_format.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/gr-digital/python/digital/qa_packet_format.py b/gr-digital/python/digital/qa_packet_format.py
index 0a6564ca8d..2623198805 100644
--- a/gr-digital/python/digital/qa_packet_format.py
+++ b/gr-digital/python/digital/qa_packet_format.py
@@ -59,8 +59,7 @@ class test_packet_format_fb(gr_unittest.TestCase):
header = bytes(result_hdr)
payload = bytes(result_pld)
- access_code = packet_utils.conv_1_0_string_to_packed_binary_string(
- packet_utils.default_access_code)[0]
+ access_code = packet_utils.default_access_code_binary
rx_access_code = header[0:len(access_code)]
length = len(send_str)
@@ -152,8 +151,7 @@ class test_packet_format_fb(gr_unittest.TestCase):
header = bytes(result_hdr)
payload = bytes(result_pld)
- access_code = packet_utils.conv_1_0_string_to_packed_binary_string(
- packet_utils.default_access_code)[0]
+ access_code = packet_utils.default_access_code_binary
rx_access_code = header[0:len(access_code)]
length = len(send_str)