15 #ifndef VISIONTRANSFER_INTERNALINFORMATION_H
16 #define VISIONTRANSFER_INTERNALINFORMATION_H
18 namespace visiontransfer {
25 struct InternalInformation {
27 struct DiscoveryMessageBasic {
28 unsigned char protocolVersion;
31 char firmwareVersion[14];
33 struct DiscoveryMessage:
public DiscoveryMessageBasic {
36 unsigned int jumboSize;
37 char currentCaptureSource[8];
41 static const char DISCOVERY_BROADCAST_MSG[16];
43 static constexpr
int DISCOVERY_BROADCAST_PORT = 7680;
44 static constexpr
int IMAGEDATA_PORT = 7681;
45 static constexpr
int WEBSOCKET_PORT = 7682;
46 static constexpr
int PARAMETER_PORT = 7683;
47 static constexpr
int DATACHANNELSERVICE_PORT = 7684;
48 static constexpr
int PARAMETER_WEBSOCKET_PORT = 7685;
50 static constexpr
unsigned char CURRENT_PROTOCOL_VERSION = 0x06;
51 static constexpr
unsigned char CURRENT_PARAMETER_PROTOCOL_VERSION_MAJOR = 0x07;
52 static constexpr
unsigned char CURRENT_PARAMETER_PROTOCOL_VERSION_MINOR = 0x01;