diff autocal/l1stats.h @ 47:e86779d5445c

autocal: preparations for receiving auto stats and rfe completion
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 27 May 2017 06:46:17 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/autocal/l1stats.h	Sat May 27 06:46:17 2017 +0000
@@ -0,0 +1,23 @@
+/*
+ * Here we define our internal structure in which we pass
+ * the stats read from L1TM.
+ */
+
+struct l1stats {
+	int		type;
+	unsigned	bitmask;
+	unsigned	rssi;
+	unsigned	dsp_pm;
+	int		angle_mean;
+	unsigned	angle_var;
+	int		angle_min;
+	int		angle_max;
+	unsigned	snr_mean;
+	unsigned	snr_var;
+	unsigned	toa_mean;
+	unsigned	toa_var;
+	unsigned	frame_number;
+	unsigned	runs;
+	unsigned	successes;
+	unsigned	bsic;
+};