openthread_sys

Function otJoinerGetId

Source
pub unsafe extern "C" fn otJoinerGetId(
    aInstance: *mut otInstance,
) -> *const otExtAddress
Expand description

Gets the Joiner ID.

If a Joiner Discerner is not set, Joiner ID is the first 64 bits of the result of computing SHA-256 over factory-assigned IEEE EUI-64. Otherwise the Joiner ID is calculated from the Joiner Discerner value.

The Joiner ID is also used as the device’s IEEE 802.15.4 Extended Address during the commissioning process.

@param[in] aInstance A pointer to the OpenThread instance.

@returns A pointer to the Joiner ID.