Displ. |
Bytes |
Description |
0 |
4 |
Sample rate in S/s |
4 |
8 |
Center frequency in Hz |
12 |
8 |
Unix epoch (timestamp) of start |
20 |
4 |
Sample size (16 or 24 bits) |
24 |
4 |
Filler with zeroes |
28 |
4 |
CRC32 of the previous 28 bytes |
The header takes an integer number of 16 (4 bytes) or 24 (8 bytes) bits samples. To calculate CRC it is assumed that bytes are in little endian order.
The I/Q samples are copied to the baseband to be transmitted by the sink output device with possibly a chain of half-band interpolators for upsampling and shift of bandwidth.