// Camera states:
#define CAM_CONNECTION_OPEN	0x01
#define CAM_REFRESH_RUNNING	0x02
#define CAM_DATA_TAKING		0x04

// Defaults:
#define DEF_LOCAL_PORT	23100	// default driver UDP comm. port (refresh at port+1)
#define DEF_REMOTE_PORT	1234	// default camera UDP port
#define DEF_REFRESH_TIME	5	// watchdog refresh interval [s]

#define DEF_COMMAND_TIMEOUT	100	// time to resend command [ms]
#define DEF_COMMAND_RETRIES	2	// retries w/o ack before give up

#define DEF_DATA_TIMEOUT	100	// max. time to wait for next RAW data packet [ms]
#define DEF_DATA_RETRIES	2	// 0x0A command (status check) retries
#define DEF_WAIT_TIME		3	// waiting time for the next packet [ms] (NOT A TIMEOUT!)
