Tobi's ubw test branch

Dependencies:   mavlink_bridge mbed

Fork of AIT_UWB_Range by Benjamin Hepp

Revision:
46:6398237672a0
Parent:
45:01a33363bc21
Child:
47:b6120c152ad1
--- a/MM2WayRanging/MM2WayRanging.h	Sun Mar 08 15:59:14 2015 +0000
+++ b/MM2WayRanging/MM2WayRanging.h	Tue Mar 10 12:11:13 2015 +0000
@@ -64,16 +64,17 @@
         PING=1,
         ANCHOR_RESPONSE,
         BEACON_RESPONSE,
-        TRANSFER_FRAME
+        TRANSFER_FRAME,
+        DISTANCES_FRAME
     };
 
-    struct RangingFrame {
+    struct __attribute__((packed, aligned(1))) RangingFrame {
         uint8_t source;
         uint8_t destination;
         uint8_t type;
     };
 
-    struct ExtendedRangingFrame : RangingFrame{
+    struct __attribute__((packed, aligned(1))) ExtendedRangingFrame : RangingFrame{
         int signedTime;
     };