Tobi's ubw test branch

Dependencies:   mavlink_bridge mbed

Fork of AIT_UWB_Range by Benjamin Hepp

Revision:
24:6f25ba679490
Parent:
20:257d56530ae1
Child:
25:d58b0595b300
--- a/DW1000/DW1000.h	Thu Nov 27 13:34:35 2014 +0000
+++ b/DW1000/DW1000.h	Thu Nov 27 16:26:42 2014 +0000
@@ -1,4 +1,4 @@
-// by Manuel Stalder & Matthias Grob 2015
+// by Matthias Grob & Manuel Stalder - ETH Zürich - 2015
 
 #ifndef DW1000_H
 #define DW1000_H
@@ -63,7 +63,7 @@
         uint64_t getStatus();                                                                   // get the 40 bit device status
         
         void sendString(char* message);                                                         // to send String with arbitrary length
-        char* receiveString();                                                                  // to receive char string with arbitrary length (ATTENTION! you have to delete the returned memory location like "client delete[] receivedMessage;")
+        void receiveString(char* message);                                                      // to receive char string (length of the buffer must be 1021 to be safe)
         void sendFrame(uint8_t* message, uint16_t length);                                      // send a raw frame (length in bytes)
         void startRX();                                                                         // start listening for frames
         void stopRX();                                                                          // stop listening for frames