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.
Loading...
Searching...
No Matches
RoveCommPacket.cpp File Reference

RoveComm Packet Implementation. More...

#include "RoveCommPacket.h"
Include dependency graph for RoveCommPacket.cpp:

Namespaces

namespace  rovecomm
 The RoveComm namespace contains all of the functionality for the RoveComm library. This includes the packet structure and the functions for packing and unpacking data.

Functions

template<typename T>
std::vector< uint8_t > rovecomm::PackPacket (const RoveCommPacket< T > &stPacket)
 Create a RoveCommData structure from a RoveCommPacket structure.
template std::vector< uint8_t > rovecomm::PackPacket< uint8_t > (const RoveCommPacket< uint8_t > &stPacket)
template std::vector< uint8_t > rovecomm::PackPacket< uint16_t > (const RoveCommPacket< uint16_t > &stPacket)
template std::vector< uint8_t > rovecomm::PackPacket< uint32_t > (const RoveCommPacket< uint32_t > &stPacket)
template std::vector< uint8_t > rovecomm::PackPacket< int8_t > (const RoveCommPacket< int8_t > &stPacket)
template std::vector< uint8_t > rovecomm::PackPacket< int16_t > (const RoveCommPacket< int16_t > &stPacket)
template std::vector< uint8_t > rovecomm::PackPacket< int32_t > (const RoveCommPacket< int32_t > &stPacket)
template std::vector< uint8_t > rovecomm::PackPacket< float > (const RoveCommPacket< float > &stPacket)
template std::vector< uint8_t > rovecomm::PackPacket< double > (const RoveCommPacket< double > &stPacket)
template std::vector< uint8_t > rovecomm::PackPacket< char > (const RoveCommPacket< char > &stPacket)
template<typename T>
RoveCommPacket< T > rovecomm::UnpackData (std::span< const uint8_t > spBytes)
 Create a RoveCommPacket structure from a RoveCommData structure.
template RoveCommPacket< uint8_t > rovecomm::UnpackData< uint8_t > (std::span< const uint8_t >)
template RoveCommPacket< uint16_t > rovecomm::UnpackData< uint16_t > (std::span< const uint8_t >)
template RoveCommPacket< uint32_t > rovecomm::UnpackData< uint32_t > (std::span< const uint8_t >)
template RoveCommPacket< int8_t > rovecomm::UnpackData< int8_t > (std::span< const uint8_t >)
template RoveCommPacket< int16_t > rovecomm::UnpackData< int16_t > (std::span< const uint8_t >)
template RoveCommPacket< int32_t > rovecomm::UnpackData< int32_t > (std::span< const uint8_t >)
template RoveCommPacket< float > rovecomm::UnpackData< float > (std::span< const uint8_t >)
template RoveCommPacket< double > rovecomm::UnpackData< double > (std::span< const uint8_t >)
template RoveCommPacket< char > rovecomm::UnpackData< char > (std::span< const uint8_t >)

Detailed Description

RoveComm Packet Implementation.

Author
Eli Byrd (edbgk.nosp@m.k@ms.nosp@m.t.edu)
Date
2024-02-05