stamp_identity

Function stamp_identity 

Source
pub fn stamp_identity(profile: &mut NodeIdentityProfile)
Expand description

Write the advertised position into a node identity profile.

The one place that decides what an identity says about where the node is, called both by the loop that reacts to movement and by the device-domain sync that rebuilds the profile from scratch — those two must not be able to disagree, and a profile rebuilt without this would silently drop the position until the node next moved.

Both fields move together, including to None: an altitude without a position describes nothing.