Skip to main content

API_VERSION

Constant API_VERSION 

Source
pub const API_VERSION: u32 = 2;
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 — initial NodeValueUpdate contract with optional min/max/inc.
  • 2 — adds FeatureState / NumericRange / CommandResult for live introspection. NodeValueUpdate stays wire-compatible; readers that understand the new types can consume the new queryables and payloads.