libvisiontransfer  6.1.0
internalinformation.h
1 /*******************************************************************************
2  * Copyright (c) 2018 Nerian Vision GmbH
3  *
4  * Permission is hereby granted, free of charge, to any person obtaining a copy
5  * of this software and associated documentation files (the "Software"), to deal
6  * in the Software without restriction, including without limitation the rights
7  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8  * copies of the Software, and to permit persons to whom the Software is
9  * furnished to do so, subject to the following conditions:
10  *
11  * The above copyright notice and this permission notice shall be included in
12  * all copies or substantial portions of the Software.
13  *******************************************************************************/
14 
15 #ifndef VISIONTRANSFER_INTERNALINFORMATION_H
16 #define VISIONTRANSFER_INTERNALINFORMATION_H
17 
23 #pragma pack(push,1)
25  unsigned char protocolVersion;
26  unsigned char proVersion;
27  unsigned char useTcp;
28  char firmwareVersion[14];
29  };
30 #pragma pack(pop)
31 
32  static const char DISCOVERY_BROADCAST_MSG[16];
33  static constexpr int DISCOVERY_BROADCAST_PORT = 7680;
34  static constexpr unsigned char CURRENT_PROTOCOL_VERSION = 0x05;
35 };
36 
37 #endif
Information that is required internally by different program parts.
Nerian Vision Technologies