![]() |
RoveComm C++ 3.0.0
Welcome to the RoveComm C++ repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of RoveComm C++. The RoveComm C++ project is the RoveComm interface for high level systems and should not be used for microcontrollers.
|
The RoveCommPacket struct is used to store data in a packet format for transmission over a network. This struct is used to store the data ID, data count, data type, and the data itself. The data is stored in a vector of the specified data type. More...
#include <RoveCommPacket.h>
Public Member Functions | |
| uint16_t | GetDataCount () const |
| size_t | GetDataSize () const |
| uint8_t | GetDataType () const |
Public Attributes | |
| uint16_t | unDataId {} |
| std::vector< T > | vData |
Static Public Attributes | |
| static constexpr manifest::DataTypes | eDataType = manifest::Helpers::CToRoveCommType<T>::TYPE |
The RoveCommPacket struct is used to store data in a packet format for transmission over a network. This struct is used to store the data ID, data count, data type, and the data itself. The data is stored in a vector of the specified data type.
| T | - The data type of the data to be stored in the packet. This can be any of the data types defined in the manifest. |
|
inline |

|
inline |


|
inline |
|
staticconstexpr |
| uint16_t rovecomm::RoveCommPacket< T >::unDataId {} |
| std::vector<T> rovecomm::RoveCommPacket< T >::vData |