|
Critical Link MityCam SoC Firmware
1.0
Critical Link MityCam SoC Firmware
|
Go to the documentation of this file.
6 #define GEV_MAJOR_VERSION 0x0002
7 #define GEV_MINOR_VERSION 0x0000
17 #define GVCP_MAX_DATAGRAM_SIZE 576
18 #define GVCP_HEADER_SIZE 8
19 #define MAX_GVSP_BUFFER_LENGTH 65536
20 #define IP_UDP_HEADER_SIZE 28
164 #pragma pack(push, 1)
179 uint32_t reserved2[3];
181 uint32_t reserved3[3];
183 uint32_t reserved4[3];
185 uint8_t manufacturer_name[32];
186 uint8_t model_name[32];
187 uint8_t device_version[32];
188 uint8_t manufacturer_specific[48];
189 uint8_t serial_number[16];
190 uint8_t user_defined_name[16];
245 #define ACQUISITION_MODE_CONTINUOUS 1
246 #define ACQUISITION_MODE_SINGLE 2
247 #define ACQUISITION_MODE_MULTIPLE 3
uint8_t reserved
Definition: GigE.h:277
uint8_t eipf
Definition: GigE.h:269
tsGvcpCmdHdr hdr
Message header.
Definition: GigE.h:119
uint32_t current_ip
Definition: GigE.h:180
uint32_t reserved9
Set to zero.
Definition: GigE.h:141
tsGvcpAckHdr hdr
Message header.
Definition: GigE.h:225
uint32_t nvalue
32 bit data value
Definition: GigE.h:100
DiscoveryInfo bootstrap_struct
Definition: GigE.h:200
tsGvcpCmdHdr hdr
Message header.
Definition: GigE.h:90
uint32_t address
32 bit register address
Definition: GigE.h:108
uint32_t current_subnet
Definition: GigE.h:182
const GEV_STATUS GEV_STATUS_WRITE_PROTECT
The addressed register must not be written.
Definition: GigE.h:29
const GEV_STATUS GEV_STATUS_INVALID_ADDRESS
An attempt was made to access a non existent address space location.
Definition: GigE.h:28
uint16_t spec_version_major
Definition: GigE.h:168
uint32_t blkid_hi
Definition: GigE.h:260
uint32_t last_packet_id
last packet within block
Definition: GigE.h:151
uint8_t field_id_and_count
Definition: GigE.h:276
uint32_t reserved8
Set to zero.
Definition: GigE.h:140
uint16_t blkid
Definition: GigE.h:268
uint16_t spec_version_minor
Definition: GigE.h:169
const uint16_t eeREADREG_CMD
Read Register request (mandatory)
Definition: GigE.h:51
const uint16_t eePACKETRESEND_CMD
Packet resend request (recommended)
Definition: GigE.h:48
uint32_t reserved5
Set to zero.
Definition: GigE.h:136
uint32_t device_mode
Definition: GigE.h:173
uint16_t stream_channel_index
stream channel index
Definition: GigE.h:148
uint16_t reserved
Definition: GigE.h:292
const uint16_t READMEM_MAXLEN
Definition: GigE.h:222
const uint16_t eeREADMEM_CMD
Read Memory request (mandatory)
Definition: GigE.h:53
uint32_t block_id64_low
block_id low word
Definition: GigE.h:153
const GEV_STATUS GEV_STATUS_INVALID_HEADER
The message header is not valid. Some of its fields do not match the specificiation.
Definition: GigE.h:35
uint16_t payload_type
Definition: GigE.h:293
const GEV_STATUS GEV_STATUS_DATA_OVERRUN
Internal memory of device overrun (typically for image acquisition)
Definition: GigE.h:34
const GEV_STATUS GEV_STATUS_BUSY
A required resource to service the request isn't currently available. The request may be retried.
Definition: GigE.h:32
uint32_t static_gw
Default gateway to use with the static IP address.
Definition: GigE.h:142
const uint16_t eeWRITEMEM_CMD
Write Memory request (mandatory)
Definition: GigE.h:54
tsGvcpAckHdr hdr
Message header.
Definition: GigE.h:233
uint32_t address
32 bit register address
Definition: GigE.h:99
const GEV_STATUS GEV_STATUS_BAD_ALIGNMENT
A badly aligned address offset or data size was specified.
Definition: GigE.h:30
uint32_t default_gateway
Definition: GigE.h:184
uint32_t ip_conf_opt
Definition: GigE.h:177
const uint16_t eeDISCOVERY_ACK
Definition: GigE.h:57
const GEV_STATUS GEV_STATUS_INVALID_PARAMETER
At least one parameter provided in the command is invalid (or out of range) for the device.
Definition: GigE.h:27
const GEV_STATUS GEV_STATUS_SUCCESS
Requested operation was completed successfully.
Definition: GigE.h:25
uint16_t count
Number of bytes to read. Must be multiple of 4.
Definition: GigE.h:110
const uint16_t GEV_FLAG_PREVIOUS_BLOCK_DROPPED
Definition: GigE.h:252
uint16_t length
Definition: GigE.h:160
const int DISCOVERY_ACK_PAYLOAD_SIZE
Definition: GigE.h:204
uint16_t reserved1
Definition: GigE.h:174
uint32_t size_x
Definition: GigE.h:282
const uint16_t eeREADREG_ACK
Definition: GigE.h:59
uint32_t timestamp_low
Definition: GigE.h:280
uint16_t cmnd
Command message ID.
Definition: GigE.h:82
uint32_t reserved2
Set to zero.
Definition: GigE.h:132
tsGvcpAckHdr hdr
Message header.
Definition: GigE.h:197
uint16_t reserved0
Set to zero on transmission ignore on receipt.
Definition: GigE.h:129
uint32_t reserved7
Set to zero.
Definition: GigE.h:139
const uint16_t eeREADMEM_ACK
Definition: GigE.h:61
uint32_t ip_conf_cur
Definition: GigE.h:178
uint32_t address
32 bit register address
Definition: GigE.h:120
tsGvcpAckHdr hdr
Message header.
Definition: GigE.h:208
uint32_t timestamp_high
Definition: GigE.h:279
const GEV_STATUS GEV_STATUS_PACKET_UNAVAILABLE
The request packet is not available anymore.
Definition: GigE.h:33
tsGvcpAckHdr hdr
Message header.
Definition: GigE.h:241
uint32_t blkid_lo
Definition: GigE.h:261
const int GVSP_DFLT_PKT_SIZE
Definition: GigE.h:9
const GEV_STATUS GEV_STATUS_ERROR
Generic error. Try to avoid and use a more descriptive status code from list above.
Definition: GigE.h:37
uint16_t flags
Definition: GigE.h:257
uint16_t reserved
Set to zero on transmission ignore on receipt.
Definition: GigE.h:109
uint32_t reserved1
Set to zero.
Definition: GigE.h:131
uint16_t reserved
Set to zero on transmission ignore on receipt.
Definition: GigE.h:217
const uint16_t eeFORCEIP_ACK
Definition: GigE.h:58
tsGvcpAckHdr hdr
Message header.
Definition: GigE.h:216
uint16_t status
Definition: GigE.h:256
uint16_t ack_id
Definition: GigE.h:161
uint32_t static_sn
Subnet mask to use with the static IP address.
Definition: GigE.h:138
const uint8_t GVCP_FLAG_FORCEIP_BCAST
For DISCOVERY_CMD the ACK should be broadcast.
Definition: GigE.h:74
const uint16_t eeDISCOVERY_CMD
Device Discovery request (mandatory)
Definition: GigE.h:44
uint32_t size_y
Definition: GigE.h:283
uint16_t block_id
packet block ID
Definition: GigE.h:149
uint32_t address
32 bit register address
Definition: GigE.h:91
uint32_t offset_y
Definition: GigE.h:285
uint16_t status
Definition: GigE.h:158
uint32_t device_MAC_low
Definition: GigE.h:176
const uint8_t GVCP_FLAG_ACKREQ
The recipient of this command is required to send an acknowledge message.
Definition: GigE.h:71
uint8_t key
Should be GVCP_HEADER_KEY (0x42) if it's a real message.
Definition: GigE.h:80
uint32_t reserved4
Set to zero.
Definition: GigE.h:135
uint16_t length
Length of this message not includeing this header.
Definition: GigE.h:83
const uint8_t GVCP_HEADER_KEY
GVCP header key to identify GVCP packets.
Definition: GigE.h:15
uint8_t flags
Bit wise or of GVCP_FLAG_xxxx bits.
Definition: GigE.h:81
uint32_t pktid
Definition: GigE.h:262
uint32_t spec_version
Definition: GigE.h:171
uint16_t padding_x
Definition: GigE.h:286
uint16_t status
Definition: GigE.h:267
uint32_t block_id64_high
block_id high word
Definition: GigE.h:152
const uint16_t eeFORCEIP_CMD
Force an IP address request (mandatory)
Definition: GigE.h:45
uint16_t device_MAC_high
Definition: GigE.h:175
uint16_t payload_type
Definition: GigE.h:278
uint8_t eipf
Definition: GigE.h:258
const uint8_t GVCP_FLAG_DISCOVERY_BCAST
For DISCOVERY_CMD the ACK should be broadcast.
Definition: GigE.h:73
const uint16_t GVCP_PORT
Definition: GigE.h:12
uint16_t reserved
Set to zero on transmission ignore on receipt.
Definition: GigE.h:234
tsGvcpCmdHdr hdr
Message Header.
Definition: GigE.h:147
uint16_t padding_y
Definition: GigE.h:287
const GEV_STATUS GEV_STATUS_ACCESS_DENIED
An attempt was made to access an address location which is currently/momentary not accessible....
Definition: GigE.h:31
uint32_t address
Definition: GigE.h:226
const uint16_t eeWRITEMEM_ACK
Definition: GigE.h:62
const uint16_t eeWRITEREG_ACK
Definition: GigE.h:60
uint16_t GEV_STATUS
Definition: GigE.h:24
uint16_t ack
Definition: GigE.h:159
uint16_t req_id
Request ID generated by the client application. Device returns this value in ACK.
Definition: GigE.h:84
tsGvcpCmdHdr hdr
Message header.
Definition: GigE.h:128
uint32_t reserved6
Set to zero.
Definition: GigE.h:137
uint32_t static_ip
Static IP address to force into the device.
Definition: GigE.h:134
uint32_t reserved3
Set to zero.
Definition: GigE.h:133
uint32_t pixel_format
Definition: GigE.h:281
uint32_t data
Definition: GigE.h:209
const GEV_STATUS GEV_STATUS_NOT_IMPLEMENTED
The request isn't supported by the device.
Definition: GigE.h:26
#define GVCP_MAX_DATAGRAM_SIZE
Definition: GigE.h:17
tsGvcpCmdHdr hdr
Message header.
Definition: GigE.h:107
const int GVCP_MAX_WRITEMEM_BYTES
Definition: GigE.h:114
uint32_t first_packet_id
first packet within block
Definition: GigE.h:150
uint32_t offset_x
Definition: GigE.h:284
tsGvcpCmdHdr hdr
Message header.
Definition: GigE.h:98
const uint16_t eeWRITEREG_CMD
Write Register request (mandatory)
Definition: GigE.h:52
uint16_t index
On success indicates the number of valid writes, on fail indicates index 0-66 of multibyte wrie that ...
Definition: GigE.h:235
const GEV_STATUS GEV_STATUS_ACTION_LATE
The requested scheduled action command was requested at a time that is already past....
Definition: GigE.h:36
uint16_t index
On success indicates the number of valid writes, on fail indicates index 0-66 of multibyte wrie that ...
Definition: GigE.h:218
uint32_t size_y
Definition: GigE.h:294