#include "feepacket_flags.h"
Namespaces | |
namespace | dcs |
namespace | dcs::fee |
Defines | |
#define | FEE_PACKET_ID_SIZE 4 |
#define | FEE_PACKET_ERRORCODE_SIZE 2 |
#define | FEE_PACKET_FLAG_SIZE 2 |
#define | FEE_PACKET_CHECKSUM_SIZE 4 |
#define | FEE_PACKET_HEADER_SIZE (FEE_PACKET_ID_SIZE + FEE_PACKET_ERRORCODE_SIZE + FEE_PACKET_FLAG_SIZE + FEE_PACKET_CHECKSUM_SIZE) |
#define | FEE_PACKET_MAX_ID 65530 |
#define | FEE_PACKET_NO_ERRORCODE 0 |
#define | ADLER_BASE 65521 |
|
Define for the Adler base; largest prime number smaller than 2^16 (65536). Used by the checksum algorithm. |
|
Define for the length of checksum field in header of FEE-Packet.
|
|
Define for the length of the error code in header of FEE-Packet.
|
|
Define for the length of flag field in header of FEE-Packet.
|
|
Define for the size of FeePacket header (12) of FEE-Packet.
|
|
Define for the size of ID field in header of FEE-Packet.
|
|
Define of the max ID in header of FEE-Packet. Due to compatibility to different systems (2 byte). |
|
Define of the string for constructing packet with no error code. Errorcode is represented as short. |