This is the DW1000 driver and our self developed distance measurement application based on it. We do this as a semester thesis at ETH Zürich under the Automatic Control Laboratory in the Department of electrical engineering.

Dependencies:   mbed

Revision:
4:6240b9c7a033
Parent:
0:f50e671ffff7
Child:
7:e634eeafc4d2
--- a/DW1000/DW1000.h	Mon Nov 17 16:00:28 2014 +0000
+++ b/DW1000/DW1000.h	Tue Nov 18 12:44:22 2014 +0000
@@ -62,6 +62,9 @@
         void setEUI(uint64_t EUI);
         float getVoltage();
         
+        void sendFrame(char* message, int length);
+        void resetRX();
+        
     //private:
         
         // SPI Inteface
@@ -75,8 +78,10 @@
         void deselect();                                                                        // deselects the only slave after transaction
 };
 
+#endif
+
 // -------------------------------------------------------------------------------------------------------------------
-// structure from original Driver to hold device data (to be removed!)
+// structure from original Driver to hold device data (to be REMOVED!)
 typedef struct
 {
     uint32_t      deviceID;
@@ -103,6 +108,4 @@
     //void (*dwt_txcallback)(const dwt_callback_data_t *txd);
     //void (*dwt_rxcallback)(const dwt_callback_data_t *rxd);
 
-} dwt_local_data_t ;
-
-#endif
\ No newline at end of file
+} dwt_local_data_t ;
\ No newline at end of file