using System.Runtime.InteropServices;

namespace QC.QMSLPhone;

[StructLayout(LayoutKind.Explicit)]
public struct GNSS_WB_FFT_Stats_v2
{
	[FieldOffset(0)]
	public byte iVersion;

	[FieldOffset(1)]
	public uint iGPSCNoDBHz;

	[FieldOffset(5)]
	public int iGPSFreq;

	[FieldOffset(9)]
	public uint iGLOCNoDBHz;

	[FieldOffset(13)]
	public int iGLOFreq;

	[FieldOffset(17)]
	public uint iBDSCNoDBHz;

	[FieldOffset(21)]
	public int iBDSFreq;

	[FieldOffset(25)]
	public uint iGALCNoDBHz;

	[FieldOffset(29)]
	public int iGALFreq;

	[FieldOffset(33)]
	public byte iGNSSConfigMask;

	[FieldOffset(34)]
	public int iADCMeanI;

	[FieldOffset(38)]
	public int iADCMeanQ;

	[FieldOffset(42)]
	public int iADCAmpI;

	[FieldOffset(46)]
	public int iADCAmpQ;
}
