11 #ifndef PROTOCOL_INFO_H 12 #define PROTOCOL_INFO_H 38 static const int HANDLE_TYPE_TCP = 0;
39 static const int HANDLE_TYPE_UDP = 1;
71 #endif // PROTOCOL_INFO_H bool watchdog_enabled
If watchdog is enabled, it has to be fed otherwise scanner closes the connection after timeout...
std::string handle
Handle ID.
std::vector< std::string > commands
List of available commands.
Information about the HTTP/JSON protocol.
char packet_type
Packet type, possible values are A,B or C.
std::string hostname
UDP Handle: IP at client side where scanner data is sent to.
int version_minor
Minor version of protocol.
int start_angle
Start angle of scan in 1/10000°, defaults to -1800000.
Encapsulates data about an etablished data connection.
int watchdog_timeout
Watchdog timeout in ms.
std::string protocol_name
protocol name, defaults to "pfsdp"
int version_major
Major version of protocol.