pub unsafe extern "C" fn otCommissionerPanIdQuery(
    aInstance: *mut otInstance,
    aPanId: u16,
    aChannelMask: u32,
    aAddress: *const otIp6Address,
    aCallback: otCommissionerPanIdConflictCallback,
    aContext: *mut c_void
) -> otError
Expand description

Sends a PAN ID Query message.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aPanId The PAN ID to query. @param[in] aChannelMask The channel mask value. @param[in] aAddress A pointer to the IPv6 destination. @param[in] aCallback A pointer to a function called on receiving a PAN ID Conflict message. @param[in] aContext A pointer to application-specific context.

@retval OT_ERROR_NONE Successfully enqueued the PAN ID Query message. @retval OT_ERROR_NO_BUFS Insufficient buffers to generate a PAN ID Query message. @retval OT_ERROR_INVALID_STATE The commissioner is not active.

@note Only use this after successfully starting the Commissioner role with otCommissionerStart().