pub const API_VERSION: u32 = 10;Expand description
Current GenICam Zenoh API version.
Increment this constant when making breaking changes to the Zenoh wire protocol. The service publishes this value; clients check it on discovery and emit warnings when versions differ.
§Version history
1— initialNodeValueUpdatecontract with optionalmin/max/inc.2— addsFeatureState/NumericRange/CommandResultfor live introspection.NodeValueUpdatestays wire-compatible; readers that understand the new types can consume the new queryables and payloads.3—DeviceAnnouncecarries the device’s own identity (ip,mac,user_name,manufacturer), andserialis the serial the device reports rather than the service’s device id (#137). The new fields are optional, so a version 2 announce still deserialises.4— event-vision blocks move offkeys::imageonto their own key,keys::evs, framed by anEvsHeader(#138). Nothing else changes, but a version 3 client subscribed only toimageno longer receives anything from an event camera, and the version is what tells it why.5— a pixel format isviva-pfnc’s:ImageMetanames any PFNC format by its PFNC name (RGB8Packedwhere version 4 saidRGB8,Coord3D_ABC32fwhere it saidUnknown), and a USB3 Vision camera’s device id names its vendor, product and serial (u3v_device_id). The frame header’s one-byte codes are unchanged.6—AcquisitionStatuscarries the stream’s counters,StreamCounters, instats, where version 5 had onedroppedcount; it is sent every second while acquiring, frames or not, and a finalAcquisitionStatus::stoppedsnapshot follows the stream’s end.7—FrameHeaderversion 2 carries the row stride, so padded images retain their row layout in remote consumers. The header is 20 bytes; version-1 image headers are rejected.8— version-3 image headers carry bounded per-frame metadata inline, preserving exact identifiers, timestamps and chunk values with the pixels.9— GenICam device events:keys::events_controlstarts and stops monitoring (EventControlRequest), each event is aCameraEventonkeys::events, andEventMonitorStatusonkeys::events_statussays when monitoring stops and what could not be restored.10— a camera’s configuration is saved onkeys::configuration_save(ConfigurationSaved) and restored onkeys::configuration_load(ConfigurationLoaded), and a<Register>node is read onkeys::node_register(RegisterData) and written onkeys::node_register_set(RegisterWriteRequest).