UWB-Tracking
|
The TdoaTag class represents a TDOA tag device. More...
#include <tdoa-tag.h>
Public Member Functions | |
TdoaTag (uwb_addr src) | |
Constructor for the TdoaTag class. More... | |
~TdoaTag () | |
Destructor for the TdoaTag class. More... | |
virtual void | setup () override |
Perform setup and configuration specific to the TDOA tag device. More... | |
virtual void | loop () override |
Main loop function for the TDOA tag device. More... | |
![]() | |
TdoaDevice (uwb_addr src) | |
Constructor for the TdoaDevice class. More... | |
~TdoaDevice () | |
Destructor for the TdoaDevice class. More... | |
virtual void | setup () |
Perform setup and configuration of the TDOA device. More... | |
void | enable_leds () |
Enable LEDs on the TDOA device if available. More... | |
virtual void | loop () |
Main loop function for the TDOA device. More... | |
char * | get_type () |
Get the type of the TDOA device. More... | |
Private Attributes | |
uint8_t | seq_cnt |
Additional Inherited Members | |
![]() | |
uwb_addr | src_address |
String | type |
uint8_t | tx_msg [10] |
uint8_t | rx_buffer [FRAME_LENGTH] |
uint32_t | status_reg |
Status register value. More... | |
int8_t | status |
Status variable indicating the device's current status. More... | |
dwt_config_t | config |
Configuration settings for the DW3000 device. More... | |
The TdoaTag class represents a TDOA tag device.
This class inherits from the TdoaDevice class and provides specific setup and loop functionality for a TDOA tag device. It periodically sends an blink frame to containing a sequence number.
Constructor for the TdoaTag class.
Initializes a TDOA tag device with the specified source address.
src | The source address of the TDOA tag device. |
|
overridevirtual |
Main loop function for the TDOA tag device.
Overrides the loop method from the base class (TdoaDevice).
This function prepares and transmits a frame using the DW IC and handles the transmission process, including checking for successful transmission.
Reimplemented from TdoaDevice.
|
overridevirtual |
Perform setup and configuration specific to the TDOA tag device.
Overrides the setup method from the base class (TdoaDevice).
Reimplemented from TdoaDevice.
|
private |