 }

		local conn = ubus.connect()
		if not conn then
			error("Failed to connect to ubusd")
		end

		local scanresult = conn:call("otbr", "scan", {})

		for k, v in pairs(scanresult.scan_list) do
			l[#l+1] = v
		end

		return l
	end
-%>

<%+header%>

<h2><%:Join Network: Thread Scan%></h2>
<br />

<div class="cbi-map">
	<div class="cbi-section">
		<div class="table">
			<div class="tr table-titles">
				<div class="th col-1 center"><%:RSSI%></div>
				<div class="th col-1 center"><%:Channel%></div>
				<di