Skip to main content

join

Function join 

Source
pub async fn join(
    auth: &AuthClient,
    code: &PairingCode,
    key: &DeviceKey,
    name: &str,
) -> Result<Joined, PairError>
Expand description

The joiner’s side: pairs key using a code from the DM. On success the device is in the campaign and can log in.