pub unsafe extern "C" fn otBorderAgentEphemeralKeyGetUdpPort(
aInstance: *mut otInstance,
) -> u16
Expand description
Gets the UDP port used by Border Agent’s Ephemeral Key Manager.
Requires OPENTHREAD_CONFIG_BORDER_AGENT_EPHEMERAL_KEY_ENABLE
.
The port is applicable if an ephemeral key is in use, i.e., the state is not OT_BORDER_AGENT_STATE_DISABLED
or
OT_BORDER_AGENT_STATE_STOPPED
.
@param[in] aInstance A pointer to an OpenThread instance.
@returns The UDP port being used by Border Agent’s Ephemeral Key Manager (when active).