openthread_sys

Function otBorderAgentGetState

Source
pub unsafe extern "C" fn otBorderAgentGetState(
    aInstance: *mut otInstance,
) -> otBorderAgentState
Expand description

Gets the #otBorderAgentState of the Thread Border Agent role.

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

@returns The current #otBorderAgentState of the Border Agent.