You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
441 B
C++
41 lines
441 B
C++
#include "p_serial_packet.h"
|
|
|
|
ps_packet::ps_packet(uint8_t* data)
|
|
{}
|
|
|
|
ps_packet::~ps_packet()
|
|
{}
|
|
|
|
// takes members and prepares the buffer for transmission
|
|
bool ps_packet::encode()
|
|
{
|
|
bool ret = true;
|
|
do
|
|
{
|
|
|
|
} while (0);
|
|
return ret;
|
|
}
|
|
|
|
bool ps_packet::decode()
|
|
{
|
|
bool ret = true;
|
|
do
|
|
{
|
|
|
|
} while (0);
|
|
return ret;
|
|
}
|
|
|
|
bool ps_packet::validate()
|
|
{
|
|
bool ret = true;
|
|
do
|
|
{
|
|
|
|
} while (0);
|
|
return ret;
|
|
}
|
|
void ps_packet::calc_checksum()
|
|
{}
|