11#include <dw3000_mac_802_15_4.h>
13#define DEST_PAN_ID 0x4321
16#define BLINK_FRAME_SN_IDX 1
18#define FRAME_LENGTH (sizeof(tx_msg) + FCS_LEN)
21#define RNG_DELAY_TDOA 500
24#define TX_ANT_DLY 16400
28#define RX_ANT_DLY 16400
The base class for TDOA (Time Difference of Arrival) devices.
Definition: tdoa-device.h:39
char * get_type()
Get the type of the TDOA device.
Definition: tdoa-device.h:71
String type
Definition: tdoa-device.h:77
uint8_t rx_buffer[FRAME_LENGTH]
Definition: tdoa-device.h:88
dwt_config_t config
Configuration settings for the DW3000 device.
Definition: tdoa-device.h:103
uwb_addr src_address
Definition: tdoa-device.h:75
uint8_t tx_msg[10]
Definition: tdoa-device.h:84
virtual void setup()
Perform setup and configuration of the TDOA device.
Definition: tdoa-device.cpp:61
int8_t status
Status variable indicating the device's current status.
Definition: tdoa-device.h:98
uint32_t status_reg
Status register value.
Definition: tdoa-device.h:93
~TdoaDevice()
Destructor for the TdoaDevice class.
Definition: tdoa-device.h:50
void enable_leds()
Enable LEDs on the TDOA device if available.
Definition: tdoa-device.cpp:79
virtual void loop()
Main loop function for the TDOA device.
Definition: tdoa-device.cpp:88
Defines custom data types used in the UWB device code.
long long uwb_addr
Definition: datatypes.h:11
Configuration of various pins used in the project.
dwt_txconfig_t txconfig_options
#define FRAME_LENGTH
Definition: tdoa-device.h:18