Skip to main content

gige_device_id

Function gige_device_id 

Source
pub fn gige_device_id(mac: &[u8; 6]) -> String
Expand description

Device id for a GigE Vision camera: cam- followed by its MAC address as twelve lowercase hex digits.

The MAC is the one identifier every GigE Vision device reports, that is unique on the wire, and that survives an address change — DHCP, FORCEIP, or a persistent IP written from Studio itself. The IP is none of those, and the serial is optional in the Discovery ACK. The service and Studio’s embedded backend both derive the id here, so a camera keeps one identity in either mode.