This commit is contained in:
Gerolf Ziegenhain 2015-02-03 23:29:32 +01:00
parent 572c6d93ac
commit 9319409282

View File

@ -13,11 +13,13 @@
#define SIZE_ID 128 #define SIZE_ID 128
#define SIZE_STATUS 128 #define SIZE_STATUS 128
#define SIZE_CODE 51 #define SIZE_CODE 51
// This structure will be used to (dis-)connect to KOB servers // This structure will be used to (dis-)connect to KOB servers
struct command_packet_format{ struct command_packet_format{
unsigned short command; // CON / DIS unsigned short command; // CON / DIS
unsigned short channel; // Channel number unsigned short channel; // Channel number
}; };
// This structure will be used for id, rx and tx packets // This structure will be used for id, rx and tx packets
struct data_packet_format{ struct data_packet_format{
unsigned short command; unsigned short command;