Skip to main content

generate_device_id

Function generate_device_id 

Source
pub fn generate_device_id(device_type: DeviceType) -> String
Expand description

Generate a stable per-device id with the protocol’s class prefix (rhw_/rhn_/rhd_ for watch/necklace/desk). The firmware generates its own id at first boot; this mirror is used by tests and any node-driven flow.