<%- local ubus = require "ubus" local sys = require "luci.sys" local utl = require "luci.util" function connect_ubus(methods) local result local conn = ubus.connect() if not conn then error("Failed to connect to ubusd") end result = conn:call("otbr", methods, {}) return result end function threadget(action) local result = connect_ubus(action) return result end -%> <%+header%>

<%:Add Joiner in Network: %><%=threadget("networkname").NetworkName%>




"/><%:The Joiner Credential is a device-specific string of all uppercase alphanumeric characters(0-9 and A-Y, excluding I, O, Q and Z for readability), with a length between 6 and 32 characters.%>
"/><%:To restrict commissioning to a specific Joiner device, which is the devices factory-assigned IEEE EUI-64, use the eui64 parameter to get the EUI-64. You can input '*' to unrestrict to the specific joiner%>
<%+footer%>