discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Questions about the Default Header Format Obj.


From: Barry Duggan
Subject: Questions about the Default Header Format Obj.
Date: Sat, 02 Oct 2021 12:58:17 -0500
User-agent: Zoho Mail

The packet example in https://github.com/gnuradio/gnuradio/blob/master/gr-digital/examples/packet/tx_stage3.grc uses a Default Header Format Obj. which describes a header as

    | access code | pkt len  | pkt len  |

In that example, the access code is '10101010111101010101' which is bits in network order.

An output of the example produced:

***** VERBOSE PDU DEBUG PRINT ******
()
pdu length = 6 bytes
pdu vector contents =
0000: f0 5a 00 14 00 14
************************************
***** VERBOSE PDU DEBUG PRINT ******
()
pdu length = 20 bytes
pdu vector contents =
0000: 2f 68 7d 75 72 7c a5 cb b5 eb c1 ce 46 b4 ae 00
0010: 6f 20 b1 14
************************************

So my questions are:
1) How does the access code of 20 bits get translated into the 'f0 5a' of 16 bits?
2) The Parameters of the Default Header Format Obj. include 'Threshold' and 'Payload Bits per Symbol'. Where are those values in the header output?

Thanks,
---
Barry Duggan KV4FV
https://github.com/duggabe




reply via email to

[Prev in Thread] Current Thread [Next in Thread]