[1e781ba] | 1 | * Description IQDW sample file 17151-1.iqdw
|
---|
| 2 |
|
---|
| 3 | Little Endian!!!
|
---|
| 4 |
|
---|
| 5 |
|
---|
| 6 | ** Global Frame Header (6 x 32 Bit) Offset 0x00000000
|
---|
| 7 |
|
---|
| 8 | *** 32 Bit Magic word 0x726574fb = 0xfb746572 next magic bytes found at offsets
|
---|
| 9 |
|
---|
| 10 | 0x0000 (0000)
|
---|
| 11 | 0x019c (412)
|
---|
| 12 | 0x037c (892)
|
---|
| 13 | 0x0574 (1396)
|
---|
| 14 | 0x0880 (2176)
|
---|
| 15 | 0x0be0 (3040)
|
---|
| 16 | 0x1010 (4112)
|
---|
| 17 | 0x1454 (5204)
|
---|
| 18 |
|
---|
| 19 |
|
---|
| 20 | *** 32 Bit Frame length in 32 bit words
|
---|
| 21 |
|
---|
| 22 | 0x67000000 = 0x00000067 = Integer 103 * 4 bytes = 412 Bytes = 0x019c
|
---|
| 23 |
|
---|
| 24 |
|
---|
| 25 | *** 32 Bit Running Frame number
|
---|
| 26 |
|
---|
| 27 | 0xd3122800 = 0x002812d3 = Integer 2626259
|
---|
| 28 |
|
---|
| 29 |
|
---|
| 30 | *** 32 Bit Frame Type
|
---|
| 31 |
|
---|
| 32 | 0x02000000 = 0x00000002 = Integer 2
|
---|
| 33 |
|
---|
| 34 |
|
---|
| 35 | *** 32 Bit Data Header length in 32 bit words
|
---|
| 36 |
|
---|
| 37 | 0x13000000 = 0x00000013 = Integer 19 * 4 = 76 Bytes
|
---|
| 38 |
|
---|
| 39 |
|
---|
| 40 | *** 32 Bit Reserved
|
---|
| 41 |
|
---|
| 42 | 0x01000000 = 0x00000001 = Integer 1
|
---|
| 43 |
|
---|
| 44 |
|
---|
| 45 | ** Ammos Data header 76 bytes
|
---|
| 46 |
|
---|
| 47 | 4 Bytes Block count
|
---|
| 48 | 4 Bytes Block Length
|
---|
| 49 | 8 Bytes timestamp
|
---|
| 50 |
|
---|
| 51 | 0x203546b4 0x00000000 = 0x00000000 0xb4463520 = possible center frequency 3.024.500.000 Hz
|
---|
| 52 | 0x286bee00 = 0x00ee6b28 = possible bandwidth 15.625.000 Hz
|
---|
| 53 | 0x00a02526 = 0x2625a000 = possible sample rate 640000000 Hz
|
---|
| 54 |
|
---|
| 55 | ** Tx Block (Frame length - Data Header - Global Frame header)
|
---|
| 56 |
|
---|
| 57 | *** 32 Bytes PDW
|
---|
| 58 | *** n samples * 4 bytes
|
---|
| 59 |
|
---|
| 60 | ** PDW Data Header (2 x 32 Bit = 8 bytes) Offset 0x00000018
|
---|
| 61 |
|
---|
| 62 | *** 32 Bit Number of PDWs in Frame
|
---|
| 63 |
|
---|
| 64 | 0x01000000 = 0x00000001 = Integer 1
|
---|
| 65 |
|
---|
| 66 | *** 32 Bit Size of tx block in 32 bit words
|
---|
| 67 |
|
---|
| 68 | 0x4d000000 = 0x0000004D = 77 * 4 = 308 Bytes
|
---|
| 69 |
|
---|
| 70 |
|
---|
| 71 | ** PDW Data Body (8 x 32 Bit = 32 bytes) Offset 0x00000050 next is 1ec (diff = 412)
|
---|
| 72 |
|
---|
| 73 | *** 64 Bit Unix time
|
---|
| 74 |
|
---|
| 75 | next time stamp at 01bc = 144 bytes
|
---|
| 76 |
|
---|
| 77 | 0x52b0837b
|
---|
| 78 | 0x0492c414
|
---|
| 79 |
|
---|
| 80 | vs
|
---|
| 81 |
|
---|
| 82 | 0x14c49204
|
---|
| 83 | 0x7b83b052
|
---|
| 84 |
|
---|
| 85 | Integer 1496481524143599698 nanoseconds = 2017-06-03 09:18:44
|
---|
| 86 |
|
---|
| 87 | *** 32 Bit Center Frequency
|
---|
| 88 |
|
---|
| 89 | 0x00000000 = 0x00000000 = Integer 0 - no valid frequency
|
---|
| 90 |
|
---|
| 91 | *** 32 Bit Flags/Marks
|
---|
| 92 |
|
---|
| 93 | 0x00000000 = 0x00000000 = Integer 0 - invalid
|
---|
| 94 |
|
---|
| 95 | *** 32 Bit BW/Level (00000000)
|
---|
| 96 | 32 Bit IO_DFE_Mod_Chip_Low (b4463520)
|
---|
| 97 | 32 Bit POL_DFQ_EOA_AOA_Low (00000000)
|
---|
| 98 | 32 Bit Reserved (00ee6b28)
|
---|
| 99 |
|
---|
| 100 | *** 32 Bit IO_DFE_Mod_Chip_Low
|
---|
| 101 |
|
---|
| 102 | 1-011010-00100-0110001101010010-0000
|
---|
| 103 |
|
---|
| 104 | IO Flag - 1 (inside of region of interest)
|
---|
| 105 | Azimuth confidence 011010 (0.0-6.2 degree in steps of 0.1 degree)
|
---|
| 106 | Modulation ID 00100 (PSK-2)
|
---|
| 107 | Reserved 0110001101010010
|
---|
| 108 | Sector reference 0000
|
---|
| 109 |
|
---|
| 110 | *** 32 Bit POL_DFQ_EOA_AOA_Low
|
---|
| 111 |
|
---|
| 112 | to be done
|
---|
| 113 |
|
---|
| 114 | *** 32 Bit Reserved and channel number
|
---|
| 115 |
|
---|
| 116 | 000000-00111011100110101100101000
|
---|
| 117 |
|
---|
| 118 | Number of channel (000000)
|
---|
| 119 |
|
---|
| 120 | to be done
|
---|
| 121 |
|
---|
| 122 |
|
---|
| 123 | ** Offset 0x00000040
|
---|
| 124 |
|
---|
| 125 | ** 348 Bytes unidentified
|
---|
| 126 | *** 12*4 AMMOS Data header? 48 Bytes
|
---|
| 127 | *** 32 Bytes PDW (see ppdw.org)
|
---|
| 128 | *** n * 4 bytes IQ samples (maybe n=67)
|
---|
| 129 |
|
---|
| 130 | ** Next global frame header Offset 0x0000019c = Integer 412
|
---|
| 131 |
|
---|
| 132 | ** AMMOS Frame header (24 bytes)
|
---|
| 133 |
|
---|
| 134 |
|
---|
| 135 | 32 Bit Magic Word (fb746572)
|
---|
| 136 | 32 Bit Frame length
|
---|
| 137 | 32 Bit Running Frame number
|
---|
| 138 | 32 Bit Frame Type (00000002)
|
---|
| 139 | 32 Bit Data Header length
|
---|
| 140 | 32 Bit Reserved (00000001)
|
---|
| 141 |
|
---|
| 142 |
|
---|
| 143 | ** AMMOS Data header (48 bytes)
|
---|
| 144 |
|
---|
| 145 | 64 Bit Frequency
|
---|
| 146 |
|
---|
| 147 | Low 0x00a02526 = 0x2625a000
|
---|
| 148 | High 0x01000000 = 0x00000001
|
---|
| 149 |
|
---|
| 150 | Integer = 4.934967296 GHz
|
---|
| 151 |
|
---|
| 152 | 32 Bit Bandwidth (00000020) 32 Hz
|
---|
| 153 | 32 Bit Sample rate (000004bd) 1213 Hz
|
---|
| 154 | 32 Bit Interpolation / Decimation (7b83b052)
|
---|
| 155 | 32 Bit Antenna Voltage Ref (14c49204)
|
---|
| 156 | 32 Bit Start time low (00000000)
|
---|
| 157 | 32 Bit Start time high (00000000)
|
---|