29 , mPayloadSize( aPayloadSize )
32 memcpy( mPayload, aPayloadData, mPayloadSize );
uint8 mFrame[MAX_PACKET_SIZE]
The packet as transmitted on the serial link (with DLE stuffing)
GarminPacket()
Construct an empty Garmin RS232 packet.
uint8 id_type
Garmin packet ID.
virtual uint32 getRawSize()
Get the raw size of the frame, in bytes.
virtual const uint8 * getRawBytes()
Get the bytes in the raw frame.
virtual ~GarminPacket()
Destructor.
uint16 mFrameSize
Number of bytes in the packet, with header, footer, and DLE stuffing.
unsigned char uint8
8-bit unsigned integer
Abstract base class for the application layer in the OSI model.
unsigned long int uint32
32-bit unsigned integer