pub unsafe extern "C" fn otPlatRadioSetAlternateShortAddress(
aInstance: *mut otInstance,
aShortAddress: otShortAddress,
)Expand description
Set the alternate short address.
This is an optional radio platform API. The radio platform MUST indicate support for this API by including the
capability OT_RADIO_CAPS_ALT_SHORT_ADDR in otPlatRadioGetCaps().
When supported, the radio should accept received frames destined to the specified alternate short address in
addition to the short address provided in otPlatRadioSetShortAddress().
The @p aShortAddress can be set to OT_RADIO_INVALID_SHORT_ADDR (0xfffe) to clear any previously set alternate
short address.
This function is used by OpenThread stack during child-to-router role transitions, allowing the device to continue receiving frames addressed to its previous short address for a short period.
@param[in] aInstance The OpenThread instance structure.
@param[in] aShortAddress The alternate IEEE 802.15.4 short address. OT_RADIO_INVALID_SHORT_ADDR to clear.