Expand description
In-memory bootstrap register map and embedded GenApi XML.
§Register Address Map
| Address | Length | Feature | Type |
|---|---|---|---|
0x0000 | 4 | Version (RO) | u32 BE |
0x0004 | 4 | DeviceMode (RO) | u32 BE |
0x0008 | 4 | DeviceMACAddressHigh (RO) | u32 BE |
0x000c | 4 | DeviceMACAddressLow (RO) | u32 BE |
0x0010 | 4 | SupportedIPConfiguration (RO) | u32 BE |
0x0014 | 4 | CurrentIPConfiguration | u32 BE |
0x0024 | 4 | CurrentIPAddress (RO) | IPv4 |
0x0034 | 4 | CurrentSubnetMask (RO) | IPv4 |
0x0044 | 4 | CurrentDefaultGateway (RO) | IPv4 |
0x0900 | 4 | GevNumberOfMessageChannels (RO) | u32 BE |
0x0904 | 4 | GevNumberOfStreamChannels (RO) | u32 BE |
0x0a00 | 4 | CCP (Control Channel Privilege) | u32 BE |
0x0938 | 4 | Heartbeat Timeout | u32 BE |
0x0b00 | 4 | GevMCP (message channel port) | u32 BE |
0x0b10 | 4 | GevMCDA (message channel addr) | u32 BE |
0x0d00+ | varies | Stream Channel 0 registers | u32 BE |
0x20000 | 4 | Width | u32 BE |
0x20004 | 4 | Height | u32 BE |
0x20008 | 4 | PixelFormat | u32 BE |
0x2000c | 4 | OffsetX | u32 BE |
0x20010 | 4 | OffsetY | u32 BE |
0x20014 | 4 | SensorWidth (RO) | u32 BE |
0x20018 | 4 | SensorHeight (RO) | u32 BE |
0x20020 | 4 | AcquisitionMode | u32 BE |
0x20024 | 4 | AcquisitionStart (command) | u32 BE |
0x20028 | 4 | AcquisitionStop (command) | u32 BE |
0x2002c | 4 | AcquisitionFrameRate | f32→u32 |
0x20030 | 8 | ExposureTime | f64 BE |
0x20038 | 4 | ExposureAuto | u32 BE |
0x20040 | 8 | Gain | f64 BE |
0x20048 | 4 | GainAuto | u32 BE |
0x20050 | 4 | BlackLevel | u32 BE |
0x20054 | 4 | AcquisitionFrameRateEnable | u32 BE |
0x20058 | 4 | SensorType | u32 BE |
0x20060 | 4 | GevTimestampTickFrequency (RO) | u32 BE |
0x20068 | 8 | GevTimestampValue (RO) | u64 BE |
0x20070 | 4 | TimestampLatch (command) | u32 BE |
0x20080 | 4 | ChunkModeActive | u32 BE |
0x20084 | 4 | ChunkSelector | u32 BE |
0x20088 | 4 | ChunkEnable | u32 BE |
0x200a0 | 4 | EventSelector | u32 BE |
0x200a4 | 4 | EventNotification (per selector) | u32 BE |
0x20100 | 4 | WidthMin (RO) | u32 BE |
0x20104 | 4 | WidthMax (RO) | u32 BE |
0x20108 | 4 | HeightMin (RO) | u32 BE |
0x2010c | 4 | HeightMax (RO) | u32 BE |
0x20200 | 32 | DeviceModelName (RO) | string |
0x20220 | 32 | DeviceVendorName (RO) | string |
0x20240 | 16 | DeviceSerialNumber (RO) | string |
0x20260 | 32 | DeviceFirmwareVersion (RO) | string |
0x20280 | 32 | DeviceID (RO) | string |
Structs§
- Register
Map - Pre-populated register store for the fake camera.
Constants§
- CCP
- CURRENT_
DEFAULT_ GATEWAY - CURRENT_
IP_ ADDRESS - CURRENT_
IP_ CONFIG - CURRENT_
SUBNET_ MASK - DEVICE_
MAC_ HIGH - Top two MAC bytes, right-aligned in the 32-bit register.
- DEVICE_
MAC_ LOW - Bottom four MAC bytes.
- DEVICE_
MODE - DEVICE_
MODE_ VALUE DeviceMode: big-endian (bit 31), character set 1 (UTF-8), class Transmitter (0).- FAKE_
XML - GenApi XML describing a realistic fake camera following SFNC conventions.
- FIRST_
URL_ REG - First XML URL register address and length.
- HEARTBEAT_
TIMEOUT - MESSAGE_
CHANNEL_ ADDRESS - Message channel destination address (
GevMCDA). - MESSAGE_
CHANNEL_ PORT - Message channel destination port (
GevMCP), port in the low 16 bits. - NUMBER_
OF_ MESSAGE_ CHANNELS GevNumberOfMessageChannels— the fake implements one.- NUMBER_
OF_ STREAM_ CHANNELS GevNumberOfStreamChannels— the fake implements one.- PERSISTENT_
DEFAULT_ GATEWAY - PERSISTENT_
IP_ ADDRESS - PERSISTENT_
SUBNET_ MASK - REG_
ACQ_ FRAME_ RATE - REG_
ACQ_ FRAME_ RATE_ ENABLE - Predicate-gating registers driving realistic feature behaviour.
- REG_
ACQ_ MODE - Acquisition registers.
- REG_
ACQ_ START - REG_
ACQ_ STOP - REG_
BLACK_ LEVEL - REG_
CHUNK_ ENABLE - REG_
CHUNK_ MODE_ ACTIVE - Chunk data registers.
- REG_
CHUNK_ SELECTOR - REG_
DEVICE_ CAPS - Device capability inquiry bits, exposed through a
<StructReg>whose address is<pAddress>(a base node) plus a fixed<Address>offset — the shape Point Grey, FLIR and Hikrobot use for their inquiry blocks. - REG_
DEVICE_ FIRMWARE_ VERSION - REG_
DEVICE_ ID - REG_
DEVICE_ MODEL_ NAME - Device info string registers.
- REG_
DEVICE_ SERIAL_ NUMBER - REG_
DEVICE_ VENDOR_ NAME - REG_
EVENT_ NOTIFICATION EventNotificationbacking register for the selected event (0 = Off, 1 = On).- REG_
EVENT_ SELECTOR EventSelectorbacking register: a GigE Vision event identifier.- REG_
EXPOSURE_ AUTO - REG_
EXPOSURE_ TIME - Analog control registers.
- REG_
GAIN - REG_
GAIN_ AUTO - REG_
HEIGHT - REG_
HEIGHT_ MAX - REG_
HEIGHT_ MIN - REG_
OFFSET_ X - REG_
OFFSET_ Y - REG_
PIXEL_ FORMAT - REG_
SENSOR_ HEIGHT - REG_
SENSOR_ TYPE - REG_
SENSOR_ WIDTH - REG_
STREAM_ CHANNEL_ SELECTOR - Which stream channel the
GevSCP*features address. - REG_
TIMESTAMP_ FREQ - Timestamp registers.
- REG_
TIMESTAMP_ LATCH - REG_
TIMESTAMP_ VALUE - REG_
WIDTH - Image format registers.
- REG_
WIDTH_ MAX - REG_
WIDTH_ MIN - Limit registers.
- SCPS_
DO_ NOT_ FRAGMENT GevSCPSPacketSizebit 30: set do-not-fragment on transmitted packets.- SCPS_
FIRE_ TEST_ PACKET GevSCPSPacketSizebit 31: send one test packet of the requested size.- SCP_
DEST_ ADDR - SCP_
HOST_ PORT - SCP_
PACKET_ DELAY - SCP_
PACKET_ SIZE - STREAM_
CHANNEL_ BASE - STREAM_
CHANNEL_ STRIDE - Address stride between GigE Vision stream channel register blocks.
- STREAM_
PACKET_ SIZE_ MASK - The bits of
GevSCPSPacketSizethat hold the size itself. - SUPPORTED_
IP_ CONFIG - URL_
REG_ LEN - VERSION
- Bootstrap register addresses (GigE Vision specification).
- XML_
BLOB_ BASE - Address where the actual XML blob is stored in the register space.