Tobi's ubw test branch
Dependencies: mavlink_bridge mbed
Fork of AIT_UWB_Range by
Diff: MMRanging/MMRanging.h
- Revision:
- 34:f56962030c5c
- Parent:
- 33:6ea4c3dd504d
- Child:
- 35:95d838d33bf5
diff -r 6ea4c3dd504d -r f56962030c5c MMRanging/MMRanging.h --- a/MMRanging/MMRanging.h Tue Dec 02 13:55:01 2014 +0000 +++ b/MMRanging/MMRanging.h Sat Dec 27 14:37:12 2014 +0000 @@ -18,12 +18,12 @@ void callbackRX(); void callbackTX(); + void sendRangingframe(uint8_t type, uint8_t sequence_number, uint64_t time_difference_receiver, uint16_t dummy); - struct rangingframe { // has a length of 10 bytes - uint8_t type; - uint8_t sequence_number; + struct rangingframe { + uint32_t type; + uint32_t sequence_number; uint64_t time_difference_receiver; - uint16_t dummy; } ; uint64_t rangingtimingsSender[10][2]; uint64_t rangingtimingsReceiver[10][2];