import struct def read_f32_le(data: bytes, offset: int) -> float: if offset + 4 > len(data): return None return struct.unpack_from(' 8192: consumed += 1 else: consumed += pkt_len else: consumed += 1 print(f"Found {len(packets)} 56-byte packets:") # Print the float32 values of the first packet at every possible offset if packets: p = packets[0] print(f"Sample 56-byte packet: {p.hex()}") for offset in range(8, len(p) - 3, 4): val = read_f32_le(p, offset) print(f" Offset {offset:02d}: {val}")