Benjamin Hepp / Mbed 2 deprecated AIT_UWB_Tracker

Dependencies:   DW1000 ait_link BufferedSerial mbed

Revision:
1:c070ca30da80
Parent:
0:6d63b6992cbf
Child:
2:5af0f0006f40
--- a/settings.h	Fri Feb 05 13:48:52 2016 +0000
+++ b/settings.h	Thu Feb 11 10:49:49 2016 +0000
@@ -1,12 +1,24 @@
 #pragma once
 
+#include "DW1000Utils.h"
+
 // Global settings
 
+const DW1000Utils::PrfSetting PRF_SETTING = DW1000Utils::PRF_16_MHz;
+const DW1000Utils::DataRateSetting DATA_RATE_SETTING = DW1000Utils::RATE_110_kbps;
+
+//const uint32_t PREAMBLE_SETTING = DW1000Utils::PREAMBLE_LENGTH_256;
+//#define ANSWER_DELAY_US_OVERWRITE 1500;
+//const uint32_t PREAMBLE_SETTING = DW1000Utils::PREAMBLE_LENGTH_512;
+//#define ANSWER_DELAY_US_OVERWRITE 2000;
+const uint32_t PREAMBLE_SETTING = DW1000Utils::PREAMBLE_LENGTH_1024;
+#define ANSWER_DELAY_US_OVERWRITE 2500;
+
 //#undef _DEBUG
-#define _DEBUG 1
-#define PRINT_ERRORS 1
+#define _DEBUG 0
+#define PRINT_ERRORS 0
 #define SLAVE_REPLY_WITH_STATS 0
-#define BUILD_ANCHOR 0
+#define BUILD_SLAVE 0
 
 #if _DEBUG
     #ifndef _DEBUG_PC_DEFINED