5 <title>Class: network</title>
8 <script src="scripts/prettify/prettify.js"></script>
9 <script src="scripts/prettify/lang-css.js"></script>
10 <script src="scripts/jquery.min.js"></script>
12 <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
14 <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
15 <link type="text/css" rel="stylesheet" href="styles/bootstrap.min.css">
16 <link type="text/css" rel="stylesheet" href="styles/jaguar.css">
20 var config = {"monospaceLinks":true,"cleverLinks":true,"default":{"outputSourceFiles":true}};
27 <div id="wrap" class="clearfix">
29 <div class="navigation">
30 <h3 class="applicationName"><a href="index.html"></a></h3>
33 <input id="search" type="text" class="form-control input-sm" placeholder="Search Documentations">
37 <li class="item" data-name="LuCI">
39 <a href="LuCI.html">LuCI</a>
42 <ul class="members itemMembers">
44 <span class="subtitle">Members</span>
46 <li data-name="LuCI#Class"><a href="LuCI.html#Class">Class</a></li>
48 <li data-name="LuCI#dom"><a href="LuCI.html#dom">dom</a></li>
50 <li data-name="LuCI#env"><a href="LuCI.html#env">env</a></li>
52 <li data-name="LuCI#Poll"><a href="LuCI.html#Poll">Poll</a></li>
54 <li data-name="LuCI#Request"><a href="LuCI.html#Request">Request</a></li>
56 <li data-name="LuCI#view"><a href="LuCI.html#view">view</a></li>
59 <ul class="typedefs itemMembers">
61 <span class="subtitle">Typedefs</span>
63 <li data-name="LuCI.requestCallbackFn"><a href="LuCI.html#.requestCallbackFn">requestCallbackFn</a></li>
66 <ul class="typedefs itemMembers">
69 <ul class="methods itemMembers">
71 <span class="subtitle">Methods</span>
73 <li data-name="LuCI#bind"><a href="LuCI.html#bind">bind</a></li>
75 <li data-name="LuCI#error"><a href="LuCI.html#error">error</a></li>
77 <li data-name="LuCI#get"><a href="LuCI.html#get">get</a></li>
79 <li data-name="LuCI#halt"><a href="LuCI.html#halt">halt</a></li>
81 <li data-name="LuCI#hasSystemFeature"><a href="LuCI.html#hasSystemFeature">hasSystemFeature</a></li>
83 <li data-name="LuCI#isObject"><a href="LuCI.html#isObject">isObject</a></li>
85 <li data-name="LuCI#location"><a href="LuCI.html#location">location</a></li>
87 <li data-name="LuCI#media"><a href="LuCI.html#media">media</a></li>
89 <li data-name="LuCI#path"><a href="LuCI.html#path">path</a></li>
91 <li data-name="LuCI#poll"><a href="LuCI.html#poll">poll</a></li>
93 <li data-name="LuCI#post"><a href="LuCI.html#post">post</a></li>
95 <li data-name="LuCI#raise"><a href="LuCI.html#raise">raise</a></li>
97 <li data-name="LuCI#require"><a href="LuCI.html#require">require</a></li>
99 <li data-name="LuCI#resolveDefault"><a href="LuCI.html#resolveDefault">resolveDefault</a></li>
101 <li data-name="LuCI#resource"><a href="LuCI.html#resource">resource</a></li>
103 <li data-name="LuCI#run"><a href="LuCI.html#run">run</a></li>
105 <li data-name="LuCI#sortedKeys"><a href="LuCI.html#sortedKeys">sortedKeys</a></li>
107 <li data-name="LuCI#stop"><a href="LuCI.html#stop">stop</a></li>
109 <li data-name="LuCI#toArray"><a href="LuCI.html#toArray">toArray</a></li>
111 <li data-name="LuCI#url"><a href="LuCI.html#url">url</a></li>
114 <ul class="events itemMembers">
119 <li class="item" data-name="LuCI.baseclass">
121 <a href="LuCI.baseclass.html">LuCI.baseclass</a>
124 <ul class="members itemMembers">
127 <ul class="typedefs itemMembers">
130 <ul class="typedefs itemMembers">
133 <ul class="methods itemMembers">
135 <span class="subtitle">Methods</span>
137 <li data-name="LuCI.baseclass.extend"><a href="LuCI.baseclass.html#.extend">extend</a></li>
139 <li data-name="LuCI.baseclass.instantiate"><a href="LuCI.baseclass.html#.instantiate">instantiate</a></li>
141 <li data-name="LuCI.baseclass.isSubclass"><a href="LuCI.baseclass.html#.isSubclass">isSubclass</a></li>
143 <li data-name="LuCI.baseclass.singleton"><a href="LuCI.baseclass.html#.singleton">singleton</a></li>
145 <li data-name="LuCI.baseclass#super"><a href="LuCI.baseclass.html#super">super</a></li>
147 <li data-name="LuCI.baseclass#varargs"><a href="LuCI.baseclass.html#varargs">varargs</a></li>
150 <ul class="events itemMembers">
155 <li class="item" data-name="LuCI.dom">
157 <a href="LuCI.dom.html">LuCI.dom</a>
160 <ul class="members itemMembers">
163 <ul class="typedefs itemMembers">
165 <span class="subtitle">Typedefs</span>
167 <li data-name="LuCI.dom~ignoreCallbackFn"><a href="LuCI.dom.html#~ignoreCallbackFn">ignoreCallbackFn</a></li>
170 <ul class="typedefs itemMembers">
173 <ul class="methods itemMembers">
175 <span class="subtitle">Methods</span>
177 <li data-name="LuCI.dom#append"><a href="LuCI.dom.html#append">append</a></li>
179 <li data-name="LuCI.dom#attr"><a href="LuCI.dom.html#attr">attr</a></li>
181 <li data-name="LuCI.dom#bindClassInstance"><a href="LuCI.dom.html#bindClassInstance">bindClassInstance</a></li>
183 <li data-name="LuCI.dom#callClassMethod"><a href="LuCI.dom.html#callClassMethod">callClassMethod</a></li>
185 <li data-name="LuCI.dom#content"><a href="LuCI.dom.html#content">content</a></li>
187 <li data-name="LuCI.dom#create"><a href="LuCI.dom.html#create">create</a></li>
189 <li data-name="LuCI.dom#data"><a href="LuCI.dom.html#data">data</a></li>
191 <li data-name="LuCI.dom#elem"><a href="LuCI.dom.html#elem">elem</a></li>
193 <li data-name="LuCI.dom#findClassInstance"><a href="LuCI.dom.html#findClassInstance">findClassInstance</a></li>
195 <li data-name="LuCI.dom#isEmpty"><a href="LuCI.dom.html#isEmpty">isEmpty</a></li>
197 <li data-name="LuCI.dom#matches"><a href="LuCI.dom.html#matches">matches</a></li>
199 <li data-name="LuCI.dom#parent"><a href="LuCI.dom.html#parent">parent</a></li>
201 <li data-name="LuCI.dom#parse"><a href="LuCI.dom.html#parse">parse</a></li>
204 <ul class="events itemMembers">
209 <li class="item" data-name="LuCI.fs">
211 <a href="LuCI.fs.html">LuCI.fs</a>
214 <ul class="members itemMembers">
217 <ul class="typedefs itemMembers">
219 <span class="subtitle">Typedefs</span>
221 <li data-name="LuCI.fs.FileExecResult"><a href="LuCI.fs.html#.FileExecResult">FileExecResult</a></li>
223 <li data-name="LuCI.fs.FileStatEntry"><a href="LuCI.fs.html#.FileStatEntry">FileStatEntry</a></li>
226 <ul class="typedefs itemMembers">
229 <ul class="methods itemMembers">
231 <span class="subtitle">Methods</span>
233 <li data-name="LuCI.fs#exec"><a href="LuCI.fs.html#exec">exec</a></li>
235 <li data-name="LuCI.fs#exec_direct"><a href="LuCI.fs.html#exec_direct">exec_direct</a></li>
237 <li data-name="LuCI.fs#lines"><a href="LuCI.fs.html#lines">lines</a></li>
239 <li data-name="LuCI.fs#list"><a href="LuCI.fs.html#list">list</a></li>
241 <li data-name="LuCI.fs#read"><a href="LuCI.fs.html#read">read</a></li>
243 <li data-name="LuCI.fs#read_direct"><a href="LuCI.fs.html#read_direct">read_direct</a></li>
245 <li data-name="LuCI.fs#remove"><a href="LuCI.fs.html#remove">remove</a></li>
247 <li data-name="LuCI.fs#stat"><a href="LuCI.fs.html#stat">stat</a></li>
249 <li data-name="LuCI.fs#trimmed"><a href="LuCI.fs.html#trimmed">trimmed</a></li>
251 <li data-name="LuCI.fs#write"><a href="LuCI.fs.html#write">write</a></li>
254 <ul class="events itemMembers">
259 <li class="item" data-name="LuCI.headers">
261 <a href="LuCI.headers.html">LuCI.headers</a>
264 <ul class="members itemMembers">
267 <ul class="typedefs itemMembers">
270 <ul class="typedefs itemMembers">
273 <ul class="methods itemMembers">
275 <span class="subtitle">Methods</span>
277 <li data-name="LuCI.headers#get"><a href="LuCI.headers.html#get">get</a></li>
279 <li data-name="LuCI.headers#has"><a href="LuCI.headers.html#has">has</a></li>
282 <ul class="events itemMembers">
287 <li class="item" data-name="LuCI.network">
289 <a href="LuCI.network.html">LuCI.network</a>
292 <ul class="members itemMembers">
295 <ul class="typedefs itemMembers">
297 <span class="subtitle">Typedefs</span>
299 <li data-name="LuCI.network.SwitchTopology"><a href="LuCI.network.html#.SwitchTopology">SwitchTopology</a></li>
301 <li data-name="LuCI.network.WifiEncryption"><a href="LuCI.network.html#.WifiEncryption">WifiEncryption</a></li>
303 <li data-name="LuCI.network.WifiPeerEntry"><a href="LuCI.network.html#.WifiPeerEntry">WifiPeerEntry</a></li>
305 <li data-name="LuCI.network.WifiRateEntry"><a href="LuCI.network.html#.WifiRateEntry">WifiRateEntry</a></li>
307 <li data-name="LuCI.network.WifiScanResult"><a href="LuCI.network.html#.WifiScanResult">WifiScanResult</a></li>
310 <ul class="typedefs itemMembers">
313 <ul class="methods itemMembers">
315 <span class="subtitle">Methods</span>
317 <li data-name="LuCI.network#addNetwork"><a href="LuCI.network.html#addNetwork">addNetwork</a></li>
319 <li data-name="LuCI.network#addWifiNetwork"><a href="LuCI.network.html#addWifiNetwork">addWifiNetwork</a></li>
321 <li data-name="LuCI.network#deleteNetwork"><a href="LuCI.network.html#deleteNetwork">deleteNetwork</a></li>
323 <li data-name="LuCI.network#deleteWifiNetwork"><a href="LuCI.network.html#deleteWifiNetwork">deleteWifiNetwork</a></li>
325 <li data-name="LuCI.network#flushCache"><a href="LuCI.network.html#flushCache">flushCache</a></li>
327 <li data-name="LuCI.network#formatWifiEncryption"><a href="LuCI.network.html#formatWifiEncryption">formatWifiEncryption</a></li>
329 <li data-name="LuCI.network#getDevice"><a href="LuCI.network.html#getDevice">getDevice</a></li>
331 <li data-name="LuCI.network#getDevices"><a href="LuCI.network.html#getDevices">getDevices</a></li>
333 <li data-name="LuCI.network#getDSLModemType"><a href="LuCI.network.html#getDSLModemType">getDSLModemType</a></li>
335 <li data-name="LuCI.network#getHostHints"><a href="LuCI.network.html#getHostHints">getHostHints</a></li>
337 <li data-name="LuCI.network#getIfnameOf"><a href="LuCI.network.html#getIfnameOf">getIfnameOf</a></li>
339 <li data-name="LuCI.network#getNetwork"><a href="LuCI.network.html#getNetwork">getNetwork</a></li>
341 <li data-name="LuCI.network#getNetworks"><a href="LuCI.network.html#getNetworks">getNetworks</a></li>
343 <li data-name="LuCI.network#getProtocol"><a href="LuCI.network.html#getProtocol">getProtocol</a></li>
345 <li data-name="LuCI.network#getProtocols"><a href="LuCI.network.html#getProtocols">getProtocols</a></li>
347 <li data-name="LuCI.network#getSwitchTopologies"><a href="LuCI.network.html#getSwitchTopologies">getSwitchTopologies</a></li>
349 <li data-name="LuCI.network#getWAN6Networks"><a href="LuCI.network.html#getWAN6Networks">getWAN6Networks</a></li>
351 <li data-name="LuCI.network#getWANNetworks"><a href="LuCI.network.html#getWANNetworks">getWANNetworks</a></li>
353 <li data-name="LuCI.network#getWifiDevice"><a href="LuCI.network.html#getWifiDevice">getWifiDevice</a></li>
355 <li data-name="LuCI.network#getWifiDevices"><a href="LuCI.network.html#getWifiDevices">getWifiDevices</a></li>
357 <li data-name="LuCI.network#getWifiNetwork"><a href="LuCI.network.html#getWifiNetwork">getWifiNetwork</a></li>
359 <li data-name="LuCI.network#getWifiNetworks"><a href="LuCI.network.html#getWifiNetworks">getWifiNetworks</a></li>
361 <li data-name="LuCI.network#isIgnoredDevice"><a href="LuCI.network.html#isIgnoredDevice">isIgnoredDevice</a></li>
363 <li data-name="LuCI.network#maskToPrefix"><a href="LuCI.network.html#maskToPrefix">maskToPrefix</a></li>
365 <li data-name="LuCI.network#prefixToMask"><a href="LuCI.network.html#prefixToMask">prefixToMask</a></li>
367 <li data-name="LuCI.network#registerErrorCode"><a href="LuCI.network.html#registerErrorCode">registerErrorCode</a></li>
369 <li data-name="LuCI.network#registerPatternVirtual"><a href="LuCI.network.html#registerPatternVirtual">registerPatternVirtual</a></li>
371 <li data-name="LuCI.network#registerProtocol"><a href="LuCI.network.html#registerProtocol">registerProtocol</a></li>
373 <li data-name="LuCI.network#renameNetwork"><a href="LuCI.network.html#renameNetwork">renameNetwork</a></li>
376 <ul class="events itemMembers">
381 <li class="item" data-name="LuCI.network.Device">
383 <a href="LuCI.network.Device.html">LuCI.network.Device</a>
386 <ul class="members itemMembers">
389 <ul class="typedefs itemMembers">
392 <ul class="typedefs itemMembers">
395 <ul class="methods itemMembers">
397 <span class="subtitle">Methods</span>
399 <li data-name="LuCI.network.Device#getBridgeID"><a href="LuCI.network.Device.html#getBridgeID">getBridgeID</a></li>
401 <li data-name="LuCI.network.Device#getBridgeSTP"><a href="LuCI.network.Device.html#getBridgeSTP">getBridgeSTP</a></li>
403 <li data-name="LuCI.network.Device#getI18n"><a href="LuCI.network.Device.html#getI18n">getI18n</a></li>
405 <li data-name="LuCI.network.Device#getIP6Addrs"><a href="LuCI.network.Device.html#getIP6Addrs">getIP6Addrs</a></li>
407 <li data-name="LuCI.network.Device#getIPAddrs"><a href="LuCI.network.Device.html#getIPAddrs">getIPAddrs</a></li>
409 <li data-name="LuCI.network.Device#getMAC"><a href="LuCI.network.Device.html#getMAC">getMAC</a></li>
411 <li data-name="LuCI.network.Device#getMTU"><a href="LuCI.network.Device.html#getMTU">getMTU</a></li>
413 <li data-name="LuCI.network.Device#getName"><a href="LuCI.network.Device.html#getName">getName</a></li>
415 <li data-name="LuCI.network.Device#getNetwork"><a href="LuCI.network.Device.html#getNetwork">getNetwork</a></li>
417 <li data-name="LuCI.network.Device#getNetworks"><a href="LuCI.network.Device.html#getNetworks">getNetworks</a></li>
419 <li data-name="LuCI.network.Device#getPorts"><a href="LuCI.network.Device.html#getPorts">getPorts</a></li>
421 <li data-name="LuCI.network.Device#getRXBytes"><a href="LuCI.network.Device.html#getRXBytes">getRXBytes</a></li>
423 <li data-name="LuCI.network.Device#getRXPackets"><a href="LuCI.network.Device.html#getRXPackets">getRXPackets</a></li>
425 <li data-name="LuCI.network.Device#getShortName"><a href="LuCI.network.Device.html#getShortName">getShortName</a></li>
427 <li data-name="LuCI.network.Device#getTXBytes"><a href="LuCI.network.Device.html#getTXBytes">getTXBytes</a></li>
429 <li data-name="LuCI.network.Device#getTXPackets"><a href="LuCI.network.Device.html#getTXPackets">getTXPackets</a></li>
431 <li data-name="LuCI.network.Device#getType"><a href="LuCI.network.Device.html#getType">getType</a></li>
433 <li data-name="LuCI.network.Device#getTypeI18n"><a href="LuCI.network.Device.html#getTypeI18n">getTypeI18n</a></li>
435 <li data-name="LuCI.network.Device#getWifiNetwork"><a href="LuCI.network.Device.html#getWifiNetwork">getWifiNetwork</a></li>
437 <li data-name="LuCI.network.Device#isBridge"><a href="LuCI.network.Device.html#isBridge">isBridge</a></li>
439 <li data-name="LuCI.network.Device#isBridgePort"><a href="LuCI.network.Device.html#isBridgePort">isBridgePort</a></li>
441 <li data-name="LuCI.network.Device#isUp"><a href="LuCI.network.Device.html#isUp">isUp</a></li>
444 <ul class="events itemMembers">
449 <li class="item" data-name="LuCI.network.Hosts">
451 <a href="LuCI.network.Hosts.html">LuCI.network.Hosts</a>
454 <ul class="members itemMembers">
457 <ul class="typedefs itemMembers">
460 <ul class="typedefs itemMembers">
463 <ul class="methods itemMembers">
465 <span class="subtitle">Methods</span>
467 <li data-name="LuCI.network.Hosts#getHostnameByIP6Addr"><a href="LuCI.network.Hosts.html#getHostnameByIP6Addr">getHostnameByIP6Addr</a></li>
469 <li data-name="LuCI.network.Hosts#getHostnameByIPAddr"><a href="LuCI.network.Hosts.html#getHostnameByIPAddr">getHostnameByIPAddr</a></li>
471 <li data-name="LuCI.network.Hosts#getHostnameByMACAddr"><a href="LuCI.network.Hosts.html#getHostnameByMACAddr">getHostnameByMACAddr</a></li>
473 <li data-name="LuCI.network.Hosts#getIP6AddrByMACAddr"><a href="LuCI.network.Hosts.html#getIP6AddrByMACAddr">getIP6AddrByMACAddr</a></li>
475 <li data-name="LuCI.network.Hosts#getIPAddrByMACAddr"><a href="LuCI.network.Hosts.html#getIPAddrByMACAddr">getIPAddrByMACAddr</a></li>
477 <li data-name="LuCI.network.Hosts#getMACAddrByIP6Addr"><a href="LuCI.network.Hosts.html#getMACAddrByIP6Addr">getMACAddrByIP6Addr</a></li>
479 <li data-name="LuCI.network.Hosts#getMACAddrByIPAddr"><a href="LuCI.network.Hosts.html#getMACAddrByIPAddr">getMACAddrByIPAddr</a></li>
481 <li data-name="LuCI.network.Hosts#getMACHints"><a href="LuCI.network.Hosts.html#getMACHints">getMACHints</a></li>
484 <ul class="events itemMembers">
489 <li class="item" data-name="LuCI.network.Protocol">
491 <a href="LuCI.network.Protocol.html">LuCI.network.Protocol</a>
494 <ul class="members itemMembers">
497 <ul class="typedefs itemMembers">
500 <ul class="typedefs itemMembers">
503 <ul class="methods itemMembers">
505 <span class="subtitle">Methods</span>
507 <li data-name="LuCI.network.Protocol#addDevice"><a href="LuCI.network.Protocol.html#addDevice">addDevice</a></li>
509 <li data-name="LuCI.network.Protocol#containsDevice"><a href="LuCI.network.Protocol.html#containsDevice">containsDevice</a></li>
511 <li data-name="LuCI.network.Protocol#deleteConfiguration"><a href="LuCI.network.Protocol.html#deleteConfiguration">deleteConfiguration</a></li>
513 <li data-name="LuCI.network.Protocol#deleteDevice"><a href="LuCI.network.Protocol.html#deleteDevice">deleteDevice</a></li>
515 <li data-name="LuCI.network.Protocol#get"><a href="LuCI.network.Protocol.html#get">get</a></li>
517 <li data-name="LuCI.network.Protocol#getDevice"><a href="LuCI.network.Protocol.html#getDevice">getDevice</a></li>
519 <li data-name="LuCI.network.Protocol#getDevices"><a href="LuCI.network.Protocol.html#getDevices">getDevices</a></li>
521 <li data-name="LuCI.network.Protocol#getDNS6Addrs"><a href="LuCI.network.Protocol.html#getDNS6Addrs">getDNS6Addrs</a></li>
523 <li data-name="LuCI.network.Protocol#getDNSAddrs"><a href="LuCI.network.Protocol.html#getDNSAddrs">getDNSAddrs</a></li>
525 <li data-name="LuCI.network.Protocol#getErrors"><a href="LuCI.network.Protocol.html#getErrors">getErrors</a></li>
527 <li data-name="LuCI.network.Protocol#getExpiry"><a href="LuCI.network.Protocol.html#getExpiry">getExpiry</a></li>
529 <li data-name="LuCI.network.Protocol#getGateway6Addr"><a href="LuCI.network.Protocol.html#getGateway6Addr">getGateway6Addr</a></li>
531 <li data-name="LuCI.network.Protocol#getGatewayAddr"><a href="LuCI.network.Protocol.html#getGatewayAddr">getGatewayAddr</a></li>
533 <li data-name="LuCI.network.Protocol#getI18n"><a href="LuCI.network.Protocol.html#getI18n">getI18n</a></li>
535 <li data-name="LuCI.network.Protocol#getIfname"><a href="LuCI.network.Protocol.html#getIfname">getIfname</a></li>
537 <li data-name="LuCI.network.Protocol#getIP6Addr"><a href="LuCI.network.Protocol.html#getIP6Addr">getIP6Addr</a></li>
539 <li data-name="LuCI.network.Protocol#getIP6Addrs"><a href="LuCI.network.Protocol.html#getIP6Addrs">getIP6Addrs</a></li>
541 <li data-name="LuCI.network.Protocol#getIP6Prefix"><a href="LuCI.network.Protocol.html#getIP6Prefix">getIP6Prefix</a></li>
543 <li data-name="LuCI.network.Protocol#getIPAddr"><a href="LuCI.network.Protocol.html#getIPAddr">getIPAddr</a></li>
545 <li data-name="LuCI.network.Protocol#getIPAddrs"><a href="LuCI.network.Protocol.html#getIPAddrs">getIPAddrs</a></li>
547 <li data-name="LuCI.network.Protocol#getL2Device"><a href="LuCI.network.Protocol.html#getL2Device">getL2Device</a></li>
549 <li data-name="LuCI.network.Protocol#getL3Device"><a href="LuCI.network.Protocol.html#getL3Device">getL3Device</a></li>
551 <li data-name="LuCI.network.Protocol#getMetric"><a href="LuCI.network.Protocol.html#getMetric">getMetric</a></li>
553 <li data-name="LuCI.network.Protocol#getName"><a href="LuCI.network.Protocol.html#getName">getName</a></li>
555 <li data-name="LuCI.network.Protocol#getNetmask"><a href="LuCI.network.Protocol.html#getNetmask">getNetmask</a></li>
557 <li data-name="LuCI.network.Protocol#getOpkgPackage"><a href="LuCI.network.Protocol.html#getOpkgPackage">getOpkgPackage</a></li>
559 <li data-name="LuCI.network.Protocol#getProtocol"><a href="LuCI.network.Protocol.html#getProtocol">getProtocol</a></li>
561 <li data-name="LuCI.network.Protocol#getType"><a href="LuCI.network.Protocol.html#getType">getType</a></li>
563 <li data-name="LuCI.network.Protocol#getUptime"><a href="LuCI.network.Protocol.html#getUptime">getUptime</a></li>
565 <li data-name="LuCI.network.Protocol#getZoneName"><a href="LuCI.network.Protocol.html#getZoneName">getZoneName</a></li>
567 <li data-name="LuCI.network.Protocol#isAlias"><a href="LuCI.network.Protocol.html#isAlias">isAlias</a></li>
569 <li data-name="LuCI.network.Protocol#isBridge"><a href="LuCI.network.Protocol.html#isBridge">isBridge</a></li>
571 <li data-name="LuCI.network.Protocol#isDynamic"><a href="LuCI.network.Protocol.html#isDynamic">isDynamic</a></li>
573 <li data-name="LuCI.network.Protocol#isEmpty"><a href="LuCI.network.Protocol.html#isEmpty">isEmpty</a></li>
575 <li data-name="LuCI.network.Protocol#isFloating"><a href="LuCI.network.Protocol.html#isFloating">isFloating</a></li>
577 <li data-name="LuCI.network.Protocol#isInstalled"><a href="LuCI.network.Protocol.html#isInstalled">isInstalled</a></li>
579 <li data-name="LuCI.network.Protocol#isUp"><a href="LuCI.network.Protocol.html#isUp">isUp</a></li>
581 <li data-name="LuCI.network.Protocol#isVirtual"><a href="LuCI.network.Protocol.html#isVirtual">isVirtual</a></li>
583 <li data-name="LuCI.network.Protocol#set"><a href="LuCI.network.Protocol.html#set">set</a></li>
586 <ul class="events itemMembers">
591 <li class="item" data-name="LuCI.network.WifiDevice">
593 <a href="LuCI.network.WifiDevice.html">LuCI.network.WifiDevice</a>
596 <ul class="members itemMembers">
599 <ul class="typedefs itemMembers">
602 <ul class="typedefs itemMembers">
605 <ul class="methods itemMembers">
607 <span class="subtitle">Methods</span>
609 <li data-name="LuCI.network.WifiDevice#addWifiNetwork"><a href="LuCI.network.WifiDevice.html#addWifiNetwork">addWifiNetwork</a></li>
611 <li data-name="LuCI.network.WifiDevice#deleteWifiNetwork"><a href="LuCI.network.WifiDevice.html#deleteWifiNetwork">deleteWifiNetwork</a></li>
613 <li data-name="LuCI.network.WifiDevice#get"><a href="LuCI.network.WifiDevice.html#get">get</a></li>
615 <li data-name="LuCI.network.WifiDevice#getHTModes"><a href="LuCI.network.WifiDevice.html#getHTModes">getHTModes</a></li>
617 <li data-name="LuCI.network.WifiDevice#getHWModes"><a href="LuCI.network.WifiDevice.html#getHWModes">getHWModes</a></li>
619 <li data-name="LuCI.network.WifiDevice#getI18n"><a href="LuCI.network.WifiDevice.html#getI18n">getI18n</a></li>
621 <li data-name="LuCI.network.WifiDevice#getName"><a href="LuCI.network.WifiDevice.html#getName">getName</a></li>
623 <li data-name="LuCI.network.WifiDevice#getScanList"><a href="LuCI.network.WifiDevice.html#getScanList">getScanList</a></li>
625 <li data-name="LuCI.network.WifiDevice#getWifiNetwork"><a href="LuCI.network.WifiDevice.html#getWifiNetwork">getWifiNetwork</a></li>
627 <li data-name="LuCI.network.WifiDevice#getWifiNetworks"><a href="LuCI.network.WifiDevice.html#getWifiNetworks">getWifiNetworks</a></li>
629 <li data-name="LuCI.network.WifiDevice#isDisabled"><a href="LuCI.network.WifiDevice.html#isDisabled">isDisabled</a></li>
631 <li data-name="LuCI.network.WifiDevice#isUp"><a href="LuCI.network.WifiDevice.html#isUp">isUp</a></li>
633 <li data-name="LuCI.network.WifiDevice#set"><a href="LuCI.network.WifiDevice.html#set">set</a></li>
636 <ul class="events itemMembers">
641 <li class="item" data-name="LuCI.network.WifiNetwork">
643 <a href="LuCI.network.WifiNetwork.html">LuCI.network.WifiNetwork</a>
646 <ul class="members itemMembers">
649 <ul class="typedefs itemMembers">
652 <ul class="typedefs itemMembers">
655 <ul class="methods itemMembers">
657 <span class="subtitle">Methods</span>
659 <li data-name="LuCI.network.WifiNetwork#disconnectClient"><a href="LuCI.network.WifiNetwork.html#disconnectClient">disconnectClient</a></li>
661 <li data-name="LuCI.network.WifiNetwork#get"><a href="LuCI.network.WifiNetwork.html#get">get</a></li>
663 <li data-name="LuCI.network.WifiNetwork#getActiveBSSID"><a href="LuCI.network.WifiNetwork.html#getActiveBSSID">getActiveBSSID</a></li>
665 <li data-name="LuCI.network.WifiNetwork#getActiveEncryption"><a href="LuCI.network.WifiNetwork.html#getActiveEncryption">getActiveEncryption</a></li>
667 <li data-name="LuCI.network.WifiNetwork#getActiveMode"><a href="LuCI.network.WifiNetwork.html#getActiveMode">getActiveMode</a></li>
669 <li data-name="LuCI.network.WifiNetwork#getActiveModeI18n"><a href="LuCI.network.WifiNetwork.html#getActiveModeI18n">getActiveModeI18n</a></li>
671 <li data-name="LuCI.network.WifiNetwork#getActiveSSID"><a href="LuCI.network.WifiNetwork.html#getActiveSSID">getActiveSSID</a></li>
673 <li data-name="LuCI.network.WifiNetwork#getAssocList"><a href="LuCI.network.WifiNetwork.html#getAssocList">getAssocList</a></li>
675 <li data-name="LuCI.network.WifiNetwork#getBitRate"><a href="LuCI.network.WifiNetwork.html#getBitRate">getBitRate</a></li>
677 <li data-name="LuCI.network.WifiNetwork#getBSSID"><a href="LuCI.network.WifiNetwork.html#getBSSID">getBSSID</a></li>
679 <li data-name="LuCI.network.WifiNetwork#getChannel"><a href="LuCI.network.WifiNetwork.html#getChannel">getChannel</a></li>
681 <li data-name="LuCI.network.WifiNetwork#getCountryCode"><a href="LuCI.network.WifiNetwork.html#getCountryCode">getCountryCode</a></li>
683 <li data-name="LuCI.network.WifiNetwork#getDevice"><a href="LuCI.network.WifiNetwork.html#getDevice">getDevice</a></li>
685 <li data-name="LuCI.network.WifiNetwork#getFrequency"><a href="LuCI.network.WifiNetwork.html#getFrequency">getFrequency</a></li>
687 <li data-name="LuCI.network.WifiNetwork#getI18n"><a href="LuCI.network.WifiNetwork.html#getI18n">getI18n</a></li>
689 <li data-name="LuCI.network.WifiNetwork#getID"><a href="LuCI.network.WifiNetwork.html#getID">getID</a></li>
691 <li data-name="LuCI.network.WifiNetwork#getIfname"><a href="LuCI.network.WifiNetwork.html#getIfname">getIfname</a></li>
693 <li data-name="LuCI.network.WifiNetwork#getMeshID"><a href="LuCI.network.WifiNetwork.html#getMeshID">getMeshID</a></li>
695 <li data-name="LuCI.network.WifiNetwork#getMode"><a href="LuCI.network.WifiNetwork.html#getMode">getMode</a></li>
697 <li data-name="LuCI.network.WifiNetwork#getName"><a href="LuCI.network.WifiNetwork.html#getName">getName</a></li>
699 <li data-name="LuCI.network.WifiNetwork#getNetwork"><a href="LuCI.network.WifiNetwork.html#getNetwork">getNetwork</a></li>
701 <li data-name="LuCI.network.WifiNetwork#getNetworkNames"><a href="LuCI.network.WifiNetwork.html#getNetworkNames">getNetworkNames</a></li>
703 <li data-name="LuCI.network.WifiNetwork#getNetworks"><a href="LuCI.network.WifiNetwork.html#getNetworks">getNetworks</a></li>
705 <li data-name="LuCI.network.WifiNetwork#getNoise"><a href="LuCI.network.WifiNetwork.html#getNoise">getNoise</a></li>
707 <li data-name="LuCI.network.WifiNetwork#getShortName"><a href="LuCI.network.WifiNetwork.html#getShortName">getShortName</a></li>
709 <li data-name="LuCI.network.WifiNetwork#getSignal"><a href="LuCI.network.WifiNetwork.html#getSignal">getSignal</a></li>
711 <li data-name="LuCI.network.WifiNetwork#getSignalLevel"><a href="LuCI.network.WifiNetwork.html#getSignalLevel">getSignalLevel</a></li>
713 <li data-name="LuCI.network.WifiNetwork#getSignalPercent"><a href="LuCI.network.WifiNetwork.html#getSignalPercent">getSignalPercent</a></li>
715 <li data-name="LuCI.network.WifiNetwork#getSSID"><a href="LuCI.network.WifiNetwork.html#getSSID">getSSID</a></li>
717 <li data-name="LuCI.network.WifiNetwork#getTXPower"><a href="LuCI.network.WifiNetwork.html#getTXPower">getTXPower</a></li>
719 <li data-name="LuCI.network.WifiNetwork#getTXPowerOffset"><a href="LuCI.network.WifiNetwork.html#getTXPowerOffset">getTXPowerOffset</a></li>
721 <li data-name="LuCI.network.WifiNetwork#getWifiDevice"><a href="LuCI.network.WifiNetwork.html#getWifiDevice">getWifiDevice</a></li>
723 <li data-name="LuCI.network.WifiNetwork#getWifiDeviceName"><a href="LuCI.network.WifiNetwork.html#getWifiDeviceName">getWifiDeviceName</a></li>
725 <li data-name="LuCI.network.WifiNetwork#isClientDisconnectSupported"><a href="LuCI.network.WifiNetwork.html#isClientDisconnectSupported">isClientDisconnectSupported</a></li>
727 <li data-name="LuCI.network.WifiNetwork#isDisabled"><a href="LuCI.network.WifiNetwork.html#isDisabled">isDisabled</a></li>
729 <li data-name="LuCI.network.WifiNetwork#isUp"><a href="LuCI.network.WifiNetwork.html#isUp">isUp</a></li>
731 <li data-name="LuCI.network.WifiNetwork#set"><a href="LuCI.network.WifiNetwork.html#set">set</a></li>
734 <ul class="events itemMembers">
739 <li class="item" data-name="LuCI.poll">
741 <a href="LuCI.poll.html">LuCI.poll</a>
744 <ul class="members itemMembers">
747 <ul class="typedefs itemMembers">
750 <ul class="typedefs itemMembers">
753 <ul class="methods itemMembers">
755 <span class="subtitle">Methods</span>
757 <li data-name="LuCI.poll#active"><a href="LuCI.poll.html#active">active</a></li>
759 <li data-name="LuCI.poll#add"><a href="LuCI.poll.html#add">add</a></li>
761 <li data-name="LuCI.poll#remove"><a href="LuCI.poll.html#remove">remove</a></li>
763 <li data-name="LuCI.poll#start"><a href="LuCI.poll.html#start">start</a></li>
765 <li data-name="LuCI.poll#stop"><a href="LuCI.poll.html#stop">stop</a></li>
768 <ul class="events itemMembers">
773 <li class="item" data-name="LuCI.request">
775 <a href="LuCI.request.html">LuCI.request</a>
778 <ul class="members itemMembers">
781 <ul class="typedefs itemMembers">
783 <span class="subtitle">Typedefs</span>
785 <li data-name="LuCI.request.interceptorFn"><a href="LuCI.request.html#.interceptorFn">interceptorFn</a></li>
787 <li data-name="LuCI.request.RequestOptions"><a href="LuCI.request.html#.RequestOptions">RequestOptions</a></li>
790 <ul class="typedefs itemMembers">
793 <ul class="methods itemMembers">
795 <span class="subtitle">Methods</span>
797 <li data-name="LuCI.request#addInterceptor"><a href="LuCI.request.html#addInterceptor">addInterceptor</a></li>
799 <li data-name="LuCI.request#expandURL"><a href="LuCI.request.html#expandURL">expandURL</a></li>
801 <li data-name="LuCI.request#get"><a href="LuCI.request.html#get">get</a></li>
803 <li data-name="LuCI.request#post"><a href="LuCI.request.html#post">post</a></li>
805 <li data-name="LuCI.request#removeInterceptor"><a href="LuCI.request.html#removeInterceptor">removeInterceptor</a></li>
807 <li data-name="LuCI.request#request"><a href="LuCI.request.html#request">request</a></li>
810 <ul class="events itemMembers">
815 <li class="item" data-name="LuCI.request.poll">
817 <a href="LuCI.request.poll.html">LuCI.request.poll</a>
820 <ul class="members itemMembers">
823 <ul class="typedefs itemMembers">
825 <span class="subtitle">Typedefs</span>
827 <li data-name="LuCI.request.poll~callbackFn"><a href="LuCI.request.poll.html#~callbackFn">callbackFn</a></li>
830 <ul class="typedefs itemMembers">
833 <ul class="methods itemMembers">
835 <span class="subtitle">Methods</span>
837 <li data-name="LuCI.request.poll#active"><a href="LuCI.request.poll.html#active">active</a></li>
839 <li data-name="LuCI.request.poll#add"><a href="LuCI.request.poll.html#add">add</a></li>
841 <li data-name="LuCI.request.poll#remove"><a href="LuCI.request.poll.html#remove">remove</a></li>
843 <li data-name="LuCI.request.poll#start"><a href="LuCI.request.poll.html#start">start</a></li>
845 <li data-name="LuCI.request.poll#stop"><a href="LuCI.request.poll.html#stop">stop</a></li>
848 <ul class="events itemMembers">
853 <li class="item" data-name="LuCI.response">
855 <a href="LuCI.response.html">LuCI.response</a>
858 <ul class="members itemMembers">
860 <span class="subtitle">Members</span>
862 <li data-name="LuCI.response#duration"><a href="LuCI.response.html#duration">duration</a></li>
864 <li data-name="LuCI.response#headers"><a href="LuCI.response.html#headers">headers</a></li>
866 <li data-name="LuCI.response#ok"><a href="LuCI.response.html#ok">ok</a></li>
868 <li data-name="LuCI.response#status"><a href="LuCI.response.html#status">status</a></li>
870 <li data-name="LuCI.response#statusText"><a href="LuCI.response.html#statusText">statusText</a></li>
872 <li data-name="LuCI.response#url"><a href="LuCI.response.html#url">url</a></li>
875 <ul class="typedefs itemMembers">
878 <ul class="typedefs itemMembers">
881 <ul class="methods itemMembers">
883 <span class="subtitle">Methods</span>
885 <li data-name="LuCI.response#blob"><a href="LuCI.response.html#blob">blob</a></li>
887 <li data-name="LuCI.response#clone"><a href="LuCI.response.html#clone">clone</a></li>
889 <li data-name="LuCI.response#json"><a href="LuCI.response.html#json">json</a></li>
891 <li data-name="LuCI.response#text"><a href="LuCI.response.html#text">text</a></li>
894 <ul class="events itemMembers">
899 <li class="item" data-name="LuCI.rpc">
901 <a href="LuCI.rpc.html">LuCI.rpc</a>
904 <ul class="members itemMembers">
907 <ul class="typedefs itemMembers">
909 <span class="subtitle">Typedefs</span>
911 <li data-name="LuCI.rpc.DeclareOptions"><a href="LuCI.rpc.html#.DeclareOptions">DeclareOptions</a></li>
913 <li data-name="LuCI.rpc~filterFn"><a href="LuCI.rpc.html#~filterFn">filterFn</a></li>
915 <li data-name="LuCI.rpc~interceptorFn"><a href="LuCI.rpc.html#~interceptorFn">interceptorFn</a></li>
917 <li data-name="LuCI.rpc~invokeFn"><a href="LuCI.rpc.html#~invokeFn">invokeFn</a></li>
920 <ul class="typedefs itemMembers">
923 <ul class="methods itemMembers">
925 <span class="subtitle">Methods</span>
927 <li data-name="LuCI.rpc#addInterceptor"><a href="LuCI.rpc.html#addInterceptor">addInterceptor</a></li>
929 <li data-name="LuCI.rpc#declare"><a href="LuCI.rpc.html#declare">declare</a></li>
931 <li data-name="LuCI.rpc#getBaseURL"><a href="LuCI.rpc.html#getBaseURL">getBaseURL</a></li>
933 <li data-name="LuCI.rpc#getSessionID"><a href="LuCI.rpc.html#getSessionID">getSessionID</a></li>
935 <li data-name="LuCI.rpc#getStatusText"><a href="LuCI.rpc.html#getStatusText">getStatusText</a></li>
937 <li data-name="LuCI.rpc#list"><a href="LuCI.rpc.html#list">list</a></li>
939 <li data-name="LuCI.rpc#removeInterceptor"><a href="LuCI.rpc.html#removeInterceptor">removeInterceptor</a></li>
941 <li data-name="LuCI.rpc#setBaseURL"><a href="LuCI.rpc.html#setBaseURL">setBaseURL</a></li>
943 <li data-name="LuCI.rpc#setSessionID"><a href="LuCI.rpc.html#setSessionID">setSessionID</a></li>
946 <ul class="events itemMembers">
951 <li class="item" data-name="LuCI.uci">
953 <a href="LuCI.uci.html">LuCI.uci</a>
956 <ul class="members itemMembers">
959 <ul class="typedefs itemMembers">
961 <span class="subtitle">Typedefs</span>
963 <li data-name="LuCI.uci.ChangeRecord"><a href="LuCI.uci.html#.ChangeRecord">ChangeRecord</a></li>
965 <li data-name="LuCI.uci.SectionObject"><a href="LuCI.uci.html#.SectionObject">SectionObject</a></li>
967 <li data-name="LuCI.uci~sectionsFn"><a href="LuCI.uci.html#~sectionsFn">sectionsFn</a></li>
970 <ul class="typedefs itemMembers">
973 <ul class="methods itemMembers">
975 <span class="subtitle">Methods</span>
977 <li data-name="LuCI.uci#add"><a href="LuCI.uci.html#add">add</a></li>
979 <li data-name="LuCI.uci#apply"><a href="LuCI.uci.html#apply">apply</a></li>
981 <li data-name="LuCI.uci#changes"><a href="LuCI.uci.html#changes">changes</a></li>
983 <li data-name="LuCI.uci#createSID"><a href="LuCI.uci.html#createSID">createSID</a></li>
985 <li data-name="LuCI.uci#get"><a href="LuCI.uci.html#get">get</a></li>
987 <li data-name="LuCI.uci#get_first"><a href="LuCI.uci.html#get_first">get_first</a></li>
989 <li data-name="LuCI.uci#load"><a href="LuCI.uci.html#load">load</a></li>
991 <li data-name="LuCI.uci#move"><a href="LuCI.uci.html#move">move</a></li>
993 <li data-name="LuCI.uci#remove"><a href="LuCI.uci.html#remove">remove</a></li>
995 <li data-name="LuCI.uci#resolveSID"><a href="LuCI.uci.html#resolveSID">resolveSID</a></li>
997 <li data-name="LuCI.uci#save"><a href="LuCI.uci.html#save">save</a></li>
999 <li data-name="LuCI.uci#sections"><a href="LuCI.uci.html#sections">sections</a></li>
1001 <li data-name="LuCI.uci#set"><a href="LuCI.uci.html#set">set</a></li>
1003 <li data-name="LuCI.uci#set_first"><a href="LuCI.uci.html#set_first">set_first</a></li>
1005 <li data-name="LuCI.uci#unload"><a href="LuCI.uci.html#unload">unload</a></li>
1007 <li data-name="LuCI.uci#unset"><a href="LuCI.uci.html#unset">unset</a></li>
1009 <li data-name="LuCI.uci#unset_first"><a href="LuCI.uci.html#unset_first">unset_first</a></li>
1012 <ul class="events itemMembers">
1017 <li class="item" data-name="LuCI.ui">
1018 <span class="title">
1019 <a href="LuCI.ui.html">LuCI.ui</a>
1022 <ul class="members itemMembers">
1025 <ul class="typedefs itemMembers">
1027 <span class="subtitle">Typedefs</span>
1029 <li data-name="LuCI.ui.FileUploadReply"><a href="LuCI.ui.html#.FileUploadReply">FileUploadReply</a></li>
1032 <ul class="typedefs itemMembers">
1035 <ul class="methods itemMembers">
1037 <span class="subtitle">Methods</span>
1039 <li data-name="LuCI.ui#addNotification"><a href="LuCI.ui.html#addNotification">addNotification</a></li>
1041 <li data-name="LuCI.ui#addValidator"><a href="LuCI.ui.html#addValidator">addValidator</a></li>
1043 <li data-name="LuCI.ui#awaitReconnect"><a href="LuCI.ui.html#awaitReconnect">awaitReconnect</a></li>
1045 <li data-name="LuCI.ui#createHandlerFn"><a href="LuCI.ui.html#createHandlerFn">createHandlerFn</a></li>
1047 <li data-name="LuCI.ui#hideIndicator"><a href="LuCI.ui.html#hideIndicator">hideIndicator</a></li>
1049 <li data-name="LuCI.ui#hideModal"><a href="LuCI.ui.html#hideModal">hideModal</a></li>
1051 <li data-name="LuCI.ui#instantiateView"><a href="LuCI.ui.html#instantiateView">instantiateView</a></li>
1053 <li data-name="LuCI.ui#itemlist"><a href="LuCI.ui.html#itemlist">itemlist</a></li>
1055 <li data-name="LuCI.ui#pingDevice"><a href="LuCI.ui.html#pingDevice">pingDevice</a></li>
1057 <li data-name="LuCI.ui#showIndicator"><a href="LuCI.ui.html#showIndicator">showIndicator</a></li>
1059 <li data-name="LuCI.ui#showModal"><a href="LuCI.ui.html#showModal">showModal</a></li>
1061 <li data-name="LuCI.ui#uploadFile"><a href="LuCI.ui.html#uploadFile">uploadFile</a></li>
1064 <ul class="events itemMembers">
1069 <li class="item" data-name="LuCI.ui.AbstractElement">
1070 <span class="title">
1071 <a href="LuCI.ui.AbstractElement.html">LuCI.ui.AbstractElement</a>
1074 <ul class="members itemMembers">
1077 <ul class="typedefs itemMembers">
1079 <span class="subtitle">Typedefs</span>
1081 <li data-name="LuCI.ui.AbstractElement.InitOptions"><a href="LuCI.ui.AbstractElement.html#.InitOptions">InitOptions</a></li>
1084 <ul class="typedefs itemMembers">
1087 <ul class="methods itemMembers">
1089 <span class="subtitle">Methods</span>
1091 <li data-name="LuCI.ui.AbstractElement#getValue"><a href="LuCI.ui.AbstractElement.html#getValue">getValue</a></li>
1093 <li data-name="LuCI.ui.AbstractElement#isValid"><a href="LuCI.ui.AbstractElement.html#isValid">isValid</a></li>
1095 <li data-name="LuCI.ui.AbstractElement#registerEvents"><a href="LuCI.ui.AbstractElement.html#registerEvents">registerEvents</a></li>
1097 <li data-name="LuCI.ui.AbstractElement#render"><a href="LuCI.ui.AbstractElement.html#render">render</a></li>
1099 <li data-name="LuCI.ui.AbstractElement#setChangeEvents"><a href="LuCI.ui.AbstractElement.html#setChangeEvents">setChangeEvents</a></li>
1101 <li data-name="LuCI.ui.AbstractElement#setUpdateEvents"><a href="LuCI.ui.AbstractElement.html#setUpdateEvents">setUpdateEvents</a></li>
1103 <li data-name="LuCI.ui.AbstractElement#setValue"><a href="LuCI.ui.AbstractElement.html#setValue">setValue</a></li>
1105 <li data-name="LuCI.ui.AbstractElement#triggerValidation"><a href="LuCI.ui.AbstractElement.html#triggerValidation">triggerValidation</a></li>
1108 <ul class="events itemMembers">
1113 <li class="item" data-name="LuCI.ui.changes">
1114 <span class="title">
1115 <a href="LuCI.ui.changes.html">LuCI.ui.changes</a>
1118 <ul class="members itemMembers">
1121 <ul class="typedefs itemMembers">
1124 <ul class="typedefs itemMembers">
1127 <ul class="methods itemMembers">
1129 <span class="subtitle">Methods</span>
1131 <li data-name="LuCI.ui.changes#apply"><a href="LuCI.ui.changes.html#apply">apply</a></li>
1133 <li data-name="LuCI.ui.changes#displayChanges"><a href="LuCI.ui.changes.html#displayChanges">displayChanges</a></li>
1135 <li data-name="LuCI.ui.changes#renderChangeIndicator"><a href="LuCI.ui.changes.html#renderChangeIndicator">renderChangeIndicator</a></li>
1137 <li data-name="LuCI.ui.changes#revert"><a href="LuCI.ui.changes.html#revert">revert</a></li>
1139 <li data-name="LuCI.ui.changes#setIndicator"><a href="LuCI.ui.changes.html#setIndicator">setIndicator</a></li>
1142 <ul class="events itemMembers">
1147 <li class="item" data-name="LuCI.ui.Checkbox">
1148 <span class="title">
1149 <a href="LuCI.ui.Checkbox.html">LuCI.ui.Checkbox</a>
1152 <ul class="members itemMembers">
1155 <ul class="typedefs itemMembers">
1157 <span class="subtitle">Typedefs</span>
1159 <li data-name="LuCI.ui.Checkbox.InitOptions"><a href="LuCI.ui.Checkbox.html#.InitOptions">InitOptions</a></li>
1162 <ul class="typedefs itemMembers">
1165 <ul class="methods itemMembers">
1167 <span class="subtitle">Methods</span>
1169 <li data-name="LuCI.ui.Checkbox#getValue"><a href="LuCI.ui.Checkbox.html#getValue">getValue</a></li>
1171 <li data-name="LuCI.ui.Checkbox#isChecked"><a href="LuCI.ui.Checkbox.html#isChecked">isChecked</a></li>
1173 <li data-name="LuCI.ui.Checkbox#isValid"><a href="LuCI.ui.Checkbox.html#isValid">isValid</a></li>
1175 <li data-name="LuCI.ui.Checkbox#registerEvents"><a href="LuCI.ui.Checkbox.html#registerEvents">registerEvents</a></li>
1177 <li data-name="LuCI.ui.Checkbox#render"><a href="LuCI.ui.Checkbox.html#render">render</a></li>
1179 <li data-name="LuCI.ui.Checkbox#setChangeEvents"><a href="LuCI.ui.Checkbox.html#setChangeEvents">setChangeEvents</a></li>
1181 <li data-name="LuCI.ui.Checkbox#setUpdateEvents"><a href="LuCI.ui.Checkbox.html#setUpdateEvents">setUpdateEvents</a></li>
1183 <li data-name="LuCI.ui.Checkbox#setValue"><a href="LuCI.ui.Checkbox.html#setValue">setValue</a></li>
1185 <li data-name="LuCI.ui.Checkbox#triggerValidation"><a href="LuCI.ui.Checkbox.html#triggerValidation">triggerValidation</a></li>
1188 <ul class="events itemMembers">
1193 <li class="item" data-name="LuCI.ui.Combobox">
1194 <span class="title">
1195 <a href="LuCI.ui.Combobox.html">LuCI.ui.Combobox</a>
1198 <ul class="members itemMembers">
1201 <ul class="typedefs itemMembers">
1203 <span class="subtitle">Typedefs</span>
1205 <li data-name="LuCI.ui.Combobox.InitOptions"><a href="LuCI.ui.Combobox.html#.InitOptions">InitOptions</a></li>
1208 <ul class="typedefs itemMembers">
1211 <ul class="methods itemMembers">
1213 <span class="subtitle">Methods</span>
1215 <li data-name="LuCI.ui.Combobox#addChoices"><a href="LuCI.ui.Combobox.html#addChoices">addChoices</a></li>
1217 <li data-name="LuCI.ui.Combobox#clearChoices"><a href="LuCI.ui.Combobox.html#clearChoices">clearChoices</a></li>
1219 <li data-name="LuCI.ui.Combobox#closeAllDropdowns"><a href="LuCI.ui.Combobox.html#closeAllDropdowns">closeAllDropdowns</a></li>
1221 <li data-name="LuCI.ui.Combobox#isValid"><a href="LuCI.ui.Combobox.html#isValid">isValid</a></li>
1223 <li data-name="LuCI.ui.Combobox#registerEvents"><a href="LuCI.ui.Combobox.html#registerEvents">registerEvents</a></li>
1225 <li data-name="LuCI.ui.Combobox#setChangeEvents"><a href="LuCI.ui.Combobox.html#setChangeEvents">setChangeEvents</a></li>
1227 <li data-name="LuCI.ui.Combobox#setUpdateEvents"><a href="LuCI.ui.Combobox.html#setUpdateEvents">setUpdateEvents</a></li>
1229 <li data-name="LuCI.ui.Combobox#triggerValidation"><a href="LuCI.ui.Combobox.html#triggerValidation">triggerValidation</a></li>
1232 <ul class="events itemMembers">
1237 <li class="item" data-name="LuCI.ui.ComboButton">
1238 <span class="title">
1239 <a href="LuCI.ui.ComboButton.html">LuCI.ui.ComboButton</a>
1242 <ul class="members itemMembers">
1245 <ul class="typedefs itemMembers">
1247 <span class="subtitle">Typedefs</span>
1249 <li data-name="LuCI.ui.ComboButton.InitOptions"><a href="LuCI.ui.ComboButton.html#.InitOptions">InitOptions</a></li>
1252 <ul class="typedefs itemMembers">
1255 <ul class="methods itemMembers">
1257 <span class="subtitle">Methods</span>
1259 <li data-name="LuCI.ui.ComboButton#addChoices"><a href="LuCI.ui.ComboButton.html#addChoices">addChoices</a></li>
1261 <li data-name="LuCI.ui.ComboButton#clearChoices"><a href="LuCI.ui.ComboButton.html#clearChoices">clearChoices</a></li>
1263 <li data-name="LuCI.ui.ComboButton#closeAllDropdowns"><a href="LuCI.ui.ComboButton.html#closeAllDropdowns">closeAllDropdowns</a></li>
1265 <li data-name="LuCI.ui.ComboButton#isValid"><a href="LuCI.ui.ComboButton.html#isValid">isValid</a></li>
1267 <li data-name="LuCI.ui.ComboButton#registerEvents"><a href="LuCI.ui.ComboButton.html#registerEvents">registerEvents</a></li>
1269 <li data-name="LuCI.ui.ComboButton#setChangeEvents"><a href="LuCI.ui.ComboButton.html#setChangeEvents">setChangeEvents</a></li>
1271 <li data-name="LuCI.ui.ComboButton#setUpdateEvents"><a href="LuCI.ui.ComboButton.html#setUpdateEvents">setUpdateEvents</a></li>
1273 <li data-name="LuCI.ui.ComboButton#triggerValidation"><a href="LuCI.ui.ComboButton.html#triggerValidation">triggerValidation</a></li>
1276 <ul class="events itemMembers">
1281 <li class="item" data-name="LuCI.ui.Dropdown">
1282 <span class="title">
1283 <a href="LuCI.ui.Dropdown.html">LuCI.ui.Dropdown</a>
1286 <ul class="members itemMembers">
1289 <ul class="typedefs itemMembers">
1291 <span class="subtitle">Typedefs</span>
1293 <li data-name="LuCI.ui.Dropdown.InitOptions"><a href="LuCI.ui.Dropdown.html#.InitOptions">InitOptions</a></li>
1296 <ul class="typedefs itemMembers">
1299 <ul class="methods itemMembers">
1301 <span class="subtitle">Methods</span>
1303 <li data-name="LuCI.ui.Dropdown#addChoices"><a href="LuCI.ui.Dropdown.html#addChoices">addChoices</a></li>
1305 <li data-name="LuCI.ui.Dropdown#clearChoices"><a href="LuCI.ui.Dropdown.html#clearChoices">clearChoices</a></li>
1307 <li data-name="LuCI.ui.Dropdown#closeAllDropdowns"><a href="LuCI.ui.Dropdown.html#closeAllDropdowns">closeAllDropdowns</a></li>
1309 <li data-name="LuCI.ui.Dropdown#getValue"><a href="LuCI.ui.Dropdown.html#getValue">getValue</a></li>
1311 <li data-name="LuCI.ui.Dropdown#isValid"><a href="LuCI.ui.Dropdown.html#isValid">isValid</a></li>
1313 <li data-name="LuCI.ui.Dropdown#registerEvents"><a href="LuCI.ui.Dropdown.html#registerEvents">registerEvents</a></li>
1315 <li data-name="LuCI.ui.Dropdown#render"><a href="LuCI.ui.Dropdown.html#render">render</a></li>
1317 <li data-name="LuCI.ui.Dropdown#setChangeEvents"><a href="LuCI.ui.Dropdown.html#setChangeEvents">setChangeEvents</a></li>
1319 <li data-name="LuCI.ui.Dropdown#setUpdateEvents"><a href="LuCI.ui.Dropdown.html#setUpdateEvents">setUpdateEvents</a></li>
1321 <li data-name="LuCI.ui.Dropdown#setValue"><a href="LuCI.ui.Dropdown.html#setValue">setValue</a></li>
1323 <li data-name="LuCI.ui.Dropdown#triggerValidation"><a href="LuCI.ui.Dropdown.html#triggerValidation">triggerValidation</a></li>
1326 <ul class="events itemMembers">
1331 <li class="item" data-name="LuCI.ui.DynamicList">
1332 <span class="title">
1333 <a href="LuCI.ui.DynamicList.html">LuCI.ui.DynamicList</a>
1336 <ul class="members itemMembers">
1339 <ul class="typedefs itemMembers">
1341 <span class="subtitle">Typedefs</span>
1343 <li data-name="LuCI.ui.DynamicList.InitOptions"><a href="LuCI.ui.DynamicList.html#.InitOptions">InitOptions</a></li>
1346 <ul class="typedefs itemMembers">
1349 <ul class="methods itemMembers">
1351 <span class="subtitle">Methods</span>
1353 <li data-name="LuCI.ui.DynamicList#addChoices"><a href="LuCI.ui.DynamicList.html#addChoices">addChoices</a></li>
1355 <li data-name="LuCI.ui.DynamicList#clearChoices"><a href="LuCI.ui.DynamicList.html#clearChoices">clearChoices</a></li>
1357 <li data-name="LuCI.ui.DynamicList#getValue"><a href="LuCI.ui.DynamicList.html#getValue">getValue</a></li>
1359 <li data-name="LuCI.ui.DynamicList#isValid"><a href="LuCI.ui.DynamicList.html#isValid">isValid</a></li>
1361 <li data-name="LuCI.ui.DynamicList#registerEvents"><a href="LuCI.ui.DynamicList.html#registerEvents">registerEvents</a></li>
1363 <li data-name="LuCI.ui.DynamicList#render"><a href="LuCI.ui.DynamicList.html#render">render</a></li>
1365 <li data-name="LuCI.ui.DynamicList#setChangeEvents"><a href="LuCI.ui.DynamicList.html#setChangeEvents">setChangeEvents</a></li>
1367 <li data-name="LuCI.ui.DynamicList#setUpdateEvents"><a href="LuCI.ui.DynamicList.html#setUpdateEvents">setUpdateEvents</a></li>
1369 <li data-name="LuCI.ui.DynamicList#setValue"><a href="LuCI.ui.DynamicList.html#setValue">setValue</a></li>
1371 <li data-name="LuCI.ui.DynamicList#triggerValidation"><a href="LuCI.ui.DynamicList.html#triggerValidation">triggerValidation</a></li>
1374 <ul class="events itemMembers">
1379 <li class="item" data-name="LuCI.ui.FileUpload">
1380 <span class="title">
1381 <a href="LuCI.ui.FileUpload.html">LuCI.ui.FileUpload</a>
1384 <ul class="members itemMembers">
1387 <ul class="typedefs itemMembers">
1389 <span class="subtitle">Typedefs</span>
1391 <li data-name="LuCI.ui.FileUpload.InitOptions"><a href="LuCI.ui.FileUpload.html#.InitOptions">InitOptions</a></li>
1394 <ul class="typedefs itemMembers">
1397 <ul class="methods itemMembers">
1399 <span class="subtitle">Methods</span>
1401 <li data-name="LuCI.ui.FileUpload#getValue"><a href="LuCI.ui.FileUpload.html#getValue">getValue</a></li>
1403 <li data-name="LuCI.ui.FileUpload#isValid"><a href="LuCI.ui.FileUpload.html#isValid">isValid</a></li>
1405 <li data-name="LuCI.ui.FileUpload#registerEvents"><a href="LuCI.ui.FileUpload.html#registerEvents">registerEvents</a></li>
1407 <li data-name="LuCI.ui.FileUpload#render"><a href="LuCI.ui.FileUpload.html#render">render</a></li>
1409 <li data-name="LuCI.ui.FileUpload#setChangeEvents"><a href="LuCI.ui.FileUpload.html#setChangeEvents">setChangeEvents</a></li>
1411 <li data-name="LuCI.ui.FileUpload#setUpdateEvents"><a href="LuCI.ui.FileUpload.html#setUpdateEvents">setUpdateEvents</a></li>
1413 <li data-name="LuCI.ui.FileUpload#setValue"><a href="LuCI.ui.FileUpload.html#setValue">setValue</a></li>
1415 <li data-name="LuCI.ui.FileUpload#triggerValidation"><a href="LuCI.ui.FileUpload.html#triggerValidation">triggerValidation</a></li>
1418 <ul class="events itemMembers">
1423 <li class="item" data-name="LuCI.ui.Hiddenfield">
1424 <span class="title">
1425 <a href="LuCI.ui.Hiddenfield.html">LuCI.ui.Hiddenfield</a>
1428 <ul class="members itemMembers">
1431 <ul class="typedefs itemMembers">
1434 <ul class="typedefs itemMembers">
1437 <ul class="methods itemMembers">
1439 <span class="subtitle">Methods</span>
1441 <li data-name="LuCI.ui.Hiddenfield#getValue"><a href="LuCI.ui.Hiddenfield.html#getValue">getValue</a></li>
1443 <li data-name="LuCI.ui.Hiddenfield#isValid"><a href="LuCI.ui.Hiddenfield.html#isValid">isValid</a></li>
1445 <li data-name="LuCI.ui.Hiddenfield#registerEvents"><a href="LuCI.ui.Hiddenfield.html#registerEvents">registerEvents</a></li>
1447 <li data-name="LuCI.ui.Hiddenfield#render"><a href="LuCI.ui.Hiddenfield.html#render">render</a></li>
1449 <li data-name="LuCI.ui.Hiddenfield#setChangeEvents"><a href="LuCI.ui.Hiddenfield.html#setChangeEvents">setChangeEvents</a></li>
1451 <li data-name="LuCI.ui.Hiddenfield#setUpdateEvents"><a href="LuCI.ui.Hiddenfield.html#setUpdateEvents">setUpdateEvents</a></li>
1453 <li data-name="LuCI.ui.Hiddenfield#setValue"><a href="LuCI.ui.Hiddenfield.html#setValue">setValue</a></li>
1455 <li data-name="LuCI.ui.Hiddenfield#triggerValidation"><a href="LuCI.ui.Hiddenfield.html#triggerValidation">triggerValidation</a></li>
1458 <ul class="events itemMembers">
1463 <li class="item" data-name="LuCI.ui.Select">
1464 <span class="title">
1465 <a href="LuCI.ui.Select.html">LuCI.ui.Select</a>
1468 <ul class="members itemMembers">
1471 <ul class="typedefs itemMembers">
1473 <span class="subtitle">Typedefs</span>
1475 <li data-name="LuCI.ui.Select.InitOptions"><a href="LuCI.ui.Select.html#.InitOptions">InitOptions</a></li>
1478 <ul class="typedefs itemMembers">
1481 <ul class="methods itemMembers">
1483 <span class="subtitle">Methods</span>
1485 <li data-name="LuCI.ui.Select#getValue"><a href="LuCI.ui.Select.html#getValue">getValue</a></li>
1487 <li data-name="LuCI.ui.Select#isValid"><a href="LuCI.ui.Select.html#isValid">isValid</a></li>
1489 <li data-name="LuCI.ui.Select#registerEvents"><a href="LuCI.ui.Select.html#registerEvents">registerEvents</a></li>
1491 <li data-name="LuCI.ui.Select#render"><a href="LuCI.ui.Select.html#render">render</a></li>
1493 <li data-name="LuCI.ui.Select#setChangeEvents"><a href="LuCI.ui.Select.html#setChangeEvents">setChangeEvents</a></li>
1495 <li data-name="LuCI.ui.Select#setUpdateEvents"><a href="LuCI.ui.Select.html#setUpdateEvents">setUpdateEvents</a></li>
1497 <li data-name="LuCI.ui.Select#setValue"><a href="LuCI.ui.Select.html#setValue">setValue</a></li>
1499 <li data-name="LuCI.ui.Select#triggerValidation"><a href="LuCI.ui.Select.html#triggerValidation">triggerValidation</a></li>
1502 <ul class="events itemMembers">
1507 <li class="item" data-name="LuCI.ui.tabs">
1508 <span class="title">
1509 <a href="LuCI.ui.tabs.html">LuCI.ui.tabs</a>
1512 <ul class="members itemMembers">
1515 <ul class="typedefs itemMembers">
1518 <ul class="typedefs itemMembers">
1521 <ul class="methods itemMembers">
1523 <span class="subtitle">Methods</span>
1525 <li data-name="LuCI.ui.tabs#initTabGroup"><a href="LuCI.ui.tabs.html#initTabGroup">initTabGroup</a></li>
1527 <li data-name="LuCI.ui.tabs#isEmptyPane"><a href="LuCI.ui.tabs.html#isEmptyPane">isEmptyPane</a></li>
1530 <ul class="events itemMembers">
1535 <li class="item" data-name="LuCI.ui.Textarea">
1536 <span class="title">
1537 <a href="LuCI.ui.Textarea.html">LuCI.ui.Textarea</a>
1540 <ul class="members itemMembers">
1543 <ul class="typedefs itemMembers">
1545 <span class="subtitle">Typedefs</span>
1547 <li data-name="LuCI.ui.Textarea.InitOptions"><a href="LuCI.ui.Textarea.html#.InitOptions">InitOptions</a></li>
1550 <ul class="typedefs itemMembers">
1553 <ul class="methods itemMembers">
1555 <span class="subtitle">Methods</span>
1557 <li data-name="LuCI.ui.Textarea#getValue"><a href="LuCI.ui.Textarea.html#getValue">getValue</a></li>
1559 <li data-name="LuCI.ui.Textarea#isValid"><a href="LuCI.ui.Textarea.html#isValid">isValid</a></li>
1561 <li data-name="LuCI.ui.Textarea#registerEvents"><a href="LuCI.ui.Textarea.html#registerEvents">registerEvents</a></li>
1563 <li data-name="LuCI.ui.Textarea#render"><a href="LuCI.ui.Textarea.html#render">render</a></li>
1565 <li data-name="LuCI.ui.Textarea#setChangeEvents"><a href="LuCI.ui.Textarea.html#setChangeEvents">setChangeEvents</a></li>
1567 <li data-name="LuCI.ui.Textarea#setUpdateEvents"><a href="LuCI.ui.Textarea.html#setUpdateEvents">setUpdateEvents</a></li>
1569 <li data-name="LuCI.ui.Textarea#setValue"><a href="LuCI.ui.Textarea.html#setValue">setValue</a></li>
1571 <li data-name="LuCI.ui.Textarea#triggerValidation"><a href="LuCI.ui.Textarea.html#triggerValidation">triggerValidation</a></li>
1574 <ul class="events itemMembers">
1579 <li class="item" data-name="LuCI.ui.Textfield">
1580 <span class="title">
1581 <a href="LuCI.ui.Textfield.html">LuCI.ui.Textfield</a>
1584 <ul class="members itemMembers">
1587 <ul class="typedefs itemMembers">
1589 <span class="subtitle">Typedefs</span>
1591 <li data-name="LuCI.ui.Textfield.InitOptions"><a href="LuCI.ui.Textfield.html#.InitOptions">InitOptions</a></li>
1594 <ul class="typedefs itemMembers">
1597 <ul class="methods itemMembers">
1599 <span class="subtitle">Methods</span>
1601 <li data-name="LuCI.ui.Textfield#getValue"><a href="LuCI.ui.Textfield.html#getValue">getValue</a></li>
1603 <li data-name="LuCI.ui.Textfield#isValid"><a href="LuCI.ui.Textfield.html#isValid">isValid</a></li>
1605 <li data-name="LuCI.ui.Textfield#registerEvents"><a href="LuCI.ui.Textfield.html#registerEvents">registerEvents</a></li>
1607 <li data-name="LuCI.ui.Textfield#render"><a href="LuCI.ui.Textfield.html#render">render</a></li>
1609 <li data-name="LuCI.ui.Textfield#setChangeEvents"><a href="LuCI.ui.Textfield.html#setChangeEvents">setChangeEvents</a></li>
1611 <li data-name="LuCI.ui.Textfield#setUpdateEvents"><a href="LuCI.ui.Textfield.html#setUpdateEvents">setUpdateEvents</a></li>
1613 <li data-name="LuCI.ui.Textfield#setValue"><a href="LuCI.ui.Textfield.html#setValue">setValue</a></li>
1615 <li data-name="LuCI.ui.Textfield#triggerValidation"><a href="LuCI.ui.Textfield.html#triggerValidation">triggerValidation</a></li>
1618 <ul class="events itemMembers">
1623 <li class="item" data-name="LuCI.view">
1624 <span class="title">
1625 <a href="LuCI.view.html">LuCI.view</a>
1628 <ul class="members itemMembers">
1631 <ul class="typedefs itemMembers">
1634 <ul class="typedefs itemMembers">
1637 <ul class="methods itemMembers">
1639 <span class="subtitle">Methods</span>
1641 <li data-name="LuCI.view#addFooter"><a href="LuCI.view.html#addFooter">addFooter</a></li>
1643 <li data-name="LuCI.view#handleReset"><a href="LuCI.view.html#handleReset">handleReset</a></li>
1645 <li data-name="LuCI.view#handleSave"><a href="LuCI.view.html#handleSave">handleSave</a></li>
1647 <li data-name="LuCI.view#handleSaveApply"><a href="LuCI.view.html#handleSaveApply">handleSaveApply</a></li>
1649 <li data-name="LuCI.view#load"><a href="LuCI.view.html#load">load</a></li>
1651 <li data-name="LuCI.view#render"><a href="LuCI.view.html#render">render</a></li>
1654 <ul class="events itemMembers">
1659 <li class="item" data-name="LuCI.xhr">
1660 <span class="title">
1661 <a href="LuCI.xhr.html">LuCI.xhr</a>
1664 <ul class="members itemMembers">
1667 <ul class="typedefs itemMembers">
1670 <ul class="typedefs itemMembers">
1673 <ul class="methods itemMembers">
1675 <span class="subtitle">Methods</span>
1677 <li data-name="LuCI.xhr#abort"><a href="LuCI.xhr.html#abort">abort</a></li>
1679 <li data-name="LuCI.xhr#busy"><a href="LuCI.xhr.html#busy">busy</a></li>
1681 <li data-name="LuCI.xhr#cancel"><a href="LuCI.xhr.html#cancel">cancel</a></li>
1683 <li data-name="LuCI.xhr#get"><a href="LuCI.xhr.html#get">get</a></li>
1685 <li data-name="LuCI.xhr#post"><a href="LuCI.xhr.html#post">post</a></li>
1687 <li data-name="LuCI.xhr#send_form"><a href="LuCI.xhr.html#send_form">send_form</a></li>
1690 <ul class="events itemMembers">
1698 <h1 class="page-title" data-filename="LuCI.network.html">Class: network</h1>
1707 <span class="ancestors"><a href="LuCI.html">LuCI</a>.</span>
1712 <div class="class-description"><p>The <code>LuCI.network</code> class combines data from multiple <code>ubus</code> apis to
1713 provide an abstraction of the current network configuration state.</p>
1714 <p>It provides methods to enumerate interfaces and devices, to query
1715 current configuration details and to manipulate settings.</p></div>
1720 <div class="container-overview">
1726 <div class="nameContainer">
1727 <h4 class="name" id="network">
1729 new LuCI.network<span class="signature">()</span>
1733 <div class="tag-source">
1734 <a href="network.js.html">network.js</a>, <a href="network.js.html#line636">line 636</a>
1752 <dl class="details">
1800 <h3 class="subsection-title">Classes</h3>
1803 <dt><a href="LuCI.network.Device.html">Device</a></dt>
1806 <dt><a href="LuCI.network.Hosts.html">Hosts</a></dt>
1809 <dt><a href="LuCI.network.Protocol.html">Protocol</a></dt>
1812 <dt><a href="LuCI.network.WifiDevice.html">WifiDevice</a></dt>
1815 <dt><a href="LuCI.network.WifiNetwork.html">WifiNetwork</a></dt>
1825 <h3 class="subsection-title">Methods</h3>
1830 <div class="nameContainer">
1831 <h4 class="name" id="addNetwork">
1833 addNetwork<span class="signature">(name, <span class="optional">options</span>)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Promise.<(null|<a href="LuCI.network.Protocol.html">LuCI.network.Protocol</a>)>}</span>
1837 <div class="tag-source">
1838 <a href="network.js.html">network.js</a>, <a href="network.js.html#line904">line 904</a>
1848 <div class="description">
1849 <p>Adds a new network of the given name and update it with the given
1850 uci option values.</p>
1851 <p>If a network with the given name already exist but is empty, then
1852 this function will update its option, otherwise it will do nothing.</p>
1863 <table class="params">
1874 <th class="last">Description</th>
1883 <td class="name"><code>name</code></td>
1889 <span class="param-type">string</span>
1897 <td class="description last">
1904 <p>The name of the network to add. Must be in the format <code>[a-zA-Z0-9_]+</code>.</p></td>
1911 <td class="name"><code>options</code></td>
1917 <span class="param-type">Object.<string, (string|Array.<string>)></span>
1925 <td class="description last">
1928 <span class="optional">optional</span>
1934 <p>An object of uci option values to set on the new network or to
1935 update in an existing, empty network.</p></td>
1944 <dl class="details">
1982 <table class="params">
1987 <th class="last">Description</th>
1996 Promise.<(null|<a href="LuCI.network.Protocol.html">LuCI.network.Protocol</a>)>
2000 <td class="description last">Returns a promise resolving to the <code>Protocol</code> subclass instance
2001 describing the added network or resolving to <code>null</code> if the name
2002 was invalid or if a non-empty network of the given name already
2017 <div class="nameContainer">
2018 <h4 class="name" id="addWifiNetwork">
2020 addWifiNetwork<span class="signature">(options)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Promise.<(null|<a href="LuCI.network.WifiNetwork.html">LuCI.network.WifiNetwork</a>)>}</span>
2024 <div class="tag-source">
2025 <a href="network.js.html">network.js</a>, <a href="network.js.html#line1362">line 1362</a>
2035 <div class="description">
2036 <p>Adds a new wireless network to the configuration and sets its options
2037 to the provided values.</p>
2048 <table class="params">
2059 <th class="last">Description</th>
2068 <td class="name"><code>options</code></td>
2074 <span class="param-type">Object.<string, (string|Array.<string>)></span>
2082 <td class="description last">
2084 <p>The options to set for the newly added wireless network. This object
2085 must at least contain a <code>device</code> property which is set to the radio
2086 name the new network belongs to.</p></td>
2095 <dl class="details">
2133 <table class="params">
2138 <th class="last">Description</th>
2147 Promise.<(null|<a href="LuCI.network.WifiNetwork.html">LuCI.network.WifiNetwork</a>)>
2151 <td class="description last">Returns a promise resolving to a <code>WifiNetwork</code> instance describing
2152 the newly added wireless network or <code>null</code> if the given options
2153 were invalid or if the associated radio device could not be found.</td>
2167 <div class="nameContainer">
2168 <h4 class="name" id="deleteNetwork">
2170 deleteNetwork<span class="signature">(name)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Promise.<boolean>}</span>
2174 <div class="tag-source">
2175 <a href="network.js.html">network.js</a>, <a href="network.js.html#line982">line 982</a>
2185 <div class="description">
2186 <p>Deletes the given network and its references from the network and
2187 firewall configuration.</p>
2198 <table class="params">
2209 <th class="last">Description</th>
2218 <td class="name"><code>name</code></td>
2224 <span class="param-type">string</span>
2232 <td class="description last">
2234 <p>The name of the network to delete.</p></td>
2243 <dl class="details">
2281 <table class="params">
2286 <th class="last">Description</th>
2295 Promise.<boolean>
2299 <td class="description last">Returns a promise resolving to either <code>true</code> if the network and
2300 references to it were successfully deleted from the configuration or
2301 <code>false</code> if the given network could not be found.</td>
2315 <div class="nameContainer">
2316 <h4 class="name" id="deleteWifiNetwork">
2318 deleteWifiNetwork<span class="signature">(netname)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Promise.<boolean>}</span>
2322 <div class="tag-source">
2323 <a href="network.js.html">network.js</a>, <a href="network.js.html#line1400">line 1400</a>
2333 <div class="description">
2334 <p>Deletes the given wireless network from the configuration.</p>
2345 <table class="params">
2356 <th class="last">Description</th>
2365 <td class="name"><code>netname</code></td>
2371 <span class="param-type">string</span>
2379 <td class="description last">
2381 <p>The name of the network to remove. This may be either a
2382 network ID in the form <code>radio#.network#</code> or a Linux network device
2383 name like <code>wlan0</code> which is resolved to the corresponding configuration
2384 section through <code>ubus</code> runtime information.</p></td>
2393 <dl class="details">
2431 <table class="params">
2436 <th class="last">Description</th>
2445 Promise.<boolean>
2449 <td class="description last">Returns a promise resolving to <code>true</code> if the wireless network has been
2450 successfully deleted from the configuration or <code>false</code> if it could not
2465 <div class="nameContainer">
2466 <h4 class="name" id="flushCache">
2468 flushCache<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Promise.<Object>}</span>
2472 <div class="tag-source">
2473 <a href="network.js.html">network.js</a>, <a href="network.js.html#line748">line 748</a>
2483 <div class="description">
2484 <p>Flushes the local network state cache and fetches updated information
2485 from the remote <code>ubus</code> apis.</p>
2496 <dl class="details">
2534 <table class="params">
2539 <th class="last">Description</th>
2552 <td class="description last">Returns a promise resolving to the internal network state object.</td>
2566 <div class="nameContainer">
2567 <h4 class="name" id="formatWifiEncryption">
2569 formatWifiEncryption<span class="signature">(encryption)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{null|string}</span>
2573 <div class="tag-source">
2574 <a href="network.js.html">network.js</a>, <a href="network.js.html#line739">line 739</a>
2584 <div class="description">
2585 <p>Converts a given <a href="LuCI.network.html#.WifiEncryption"><code>encryption entry</code></a>
2586 into a human readable string such as <code>mixed WPA/WPA2 PSK (TKIP, CCMP)</code>
2587 or <code>WPA3 SAE (CCMP)</code>.</p>
2598 <table class="params">
2609 <th class="last">Description</th>
2618 <td class="name"><code>encryption</code></td>
2624 <span class="param-type"><a href="LuCI.network.html#.WifiEncryption">LuCI.network.WifiEncryption</a></span>
2632 <td class="description last">
2634 <p>The wireless encryption entry to convert.</p></td>
2643 <dl class="details">
2681 <table class="params">
2686 <th class="last">Description</th>
2702 <td class="description last">Returns the description string for the given encryption entry or
2703 <code>null</code> if the given entry was invalid.</td>
2717 <div class="nameContainer">
2718 <h4 class="name" id="getDevice">
2720 getDevice<span class="signature">(name)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Promise.<(null|<a href="LuCI.network.Device.html">LuCI.network.Device</a>)>}</span>
2724 <div class="tag-source">
2725 <a href="network.js.html">network.js</a>, <a href="network.js.html#line1113">line 1113</a>
2735 <div class="description">
2736 <p>Get a <a href="LuCI.network.Device.html"><code>Device</code></a> instance describing the
2737 given network device.</p>
2748 <table class="params">
2759 <th class="last">Description</th>
2768 <td class="name"><code>name</code></td>
2774 <span class="param-type">string</span>
2782 <td class="description last">
2784 <p>The name of the network device to get, e.g. <code>eth0</code> or <code>br-lan</code>.</p></td>
2793 <dl class="details">
2831 <table class="params">
2836 <th class="last">Description</th>
2845 Promise.<(null|<a href="LuCI.network.Device.html">LuCI.network.Device</a>)>
2849 <td class="description last">Returns a promise resolving to the <code>Device</code> instance describing
2850 the network device or <code>null</code> if the given device name could not
2865 <div class="nameContainer">
2866 <h4 class="name" id="getDevices">
2868 getDevices<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Promise.<Array.<<a href="LuCI.network.Device.html">LuCI.network.Device</a>>>}</span>
2872 <div class="tag-source">
2873 <a href="network.js.html">network.js</a>, <a href="network.js.html#line1136">line 1136</a>
2883 <div class="description">
2884 <p>Get a sorted list of all found network devices.</p>
2895 <dl class="details">
2933 <table class="params">
2938 <th class="last">Description</th>
2947 Promise.<Array.<<a href="LuCI.network.Device.html">LuCI.network.Device</a>>>
2951 <td class="description last">Returns a promise resolving to a sorted array of <code>Device</code> class
2952 instances describing the network devices found on the system.</td>
2966 <div class="nameContainer">
2967 <h4 class="name" id="getDSLModemType">
2969 getDSLModemType<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Promise.<(null|string)>}</span>
2973 <div class="tag-source">
2974 <a href="network.js.html">network.js</a>, <a href="network.js.html#line1662">line 1662</a>
2984 <div class="description">
2985 <p>Queries the internal DSL modem type from board information.</p>
2996 <dl class="details">
3034 <table class="params">
3039 <th class="last">Description</th>
3048 Promise.<(null|string)>
3052 <td class="description last">Returns a promise resolving to the type of the internal modem
3053 (e.g. <code>vdsl</code>) or to <code>null</code> if no internal modem is present.</td>
3067 <div class="nameContainer">
3068 <h4 class="name" id="getHostHints">
3070 getHostHints<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Promise.<<a href="LuCI.network.Hosts.html">LuCI.network.Hosts</a>>}</span>
3074 <div class="tag-source">
3075 <a href="network.js.html">network.js</a>, <a href="network.js.html#line1679">line 1679</a>
3085 <div class="description">
3086 <p>Queries aggregated information about known hosts.</p>
3087 <p>This function aggregates information from various sources such as
3088 DHCP lease databases, ARP and IPv6 neighbour entries, wireless
3089 association list etc. and returns a <a href="LuCI.network.Hosts.html"><code>Hosts</code></a>
3090 class instance describing the found hosts.</p>
3101 <dl class="details">
3139 <table class="params">
3144 <th class="last">Description</th>
3153 Promise.<<a href="LuCI.network.Hosts.html">LuCI.network.Hosts</a>>
3157 <td class="description last">Returns a <code>Hosts</code> instance describing host known on the system.</td>
3171 <div class="nameContainer">
3172 <h4 class="name" id="getIfnameOf">
3174 getIfnameOf<span class="signature">(obj)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{null|string}</span>
3178 <div class="tag-source">
3179 <a href="network.js.html">network.js</a>, <a href="network.js.html#line1651">line 1651</a>
3189 <div class="description">
3190 <p>Obtains the the network device name of the given object.</p>
3201 <table class="params">
3212 <th class="last">Description</th>
3221 <td class="name"><code>obj</code></td>
3227 <span class="param-type"><a href="LuCI.network.Protocol.html">LuCI.network.Protocol</a></span>
3230 <span class="param-type"><a href="LuCI.network.Device.html">LuCI.network.Device</a></span>
3233 <span class="param-type"><a href="LuCI.network.WifiDevice.html">LuCI.network.WifiDevice</a></span>
3236 <span class="param-type"><a href="LuCI.network.WifiNetwork.html">LuCI.network.WifiNetwork</a></span>
3239 <span class="param-type">string</span>
3247 <td class="description last">
3249 <p>The object to get the device name from.</p></td>
3258 <dl class="details">
3296 <table class="params">
3301 <th class="last">Description</th>
3317 <td class="description last">Returns a string containing the device name or <code>null</code> if the given
3318 object could not be converted to a name.</td>
3332 <div class="nameContainer">
3333 <h4 class="name" id="getNetwork">
3335 getNetwork<span class="signature">(name)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Promise.<(null|<a href="LuCI.network.Protocol.html">LuCI.network.Protocol</a>)>}</span>
3339 <div class="tag-source">
3340 <a href="network.js.html">network.js</a>, <a href="network.js.html#line941">line 941</a>
3350 <div class="description">
3351 <p>Get a <a href="LuCI.network.Protocol.html"><code>Protocol</code></a> instance describing
3352 the network with the given name.</p>
3363 <table class="params">
3374 <th class="last">Description</th>
3383 <td class="name"><code>name</code></td>
3389 <span class="param-type">string</span>
3397 <td class="description last">
3399 <p>The logical interface name of the network get, e.g. <code>lan</code> or <code>wan</code>.</p></td>
3408 <dl class="details">
3446 <table class="params">
3451 <th class="last">Description</th>
3460 Promise.<(null|<a href="LuCI.network.Protocol.html">LuCI.network.Protocol</a>)>
3464 <td class="description last">Returns a promise resolving to a
3465 <a href="LuCI.network.Protocol.html"><code>Protocol</code></a> subclass instance describing
3466 the network or <code>null</code> if the network did not exist.</td>
3480 <div class="nameContainer">
3481 <h4 class="name" id="getNetworks">
3483 getNetworks<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Promise.<Array.<<a href="LuCI.network.Protocol.html">LuCI.network.Protocol</a>>>}</span>
3487 <div class="tag-source">
3488 <a href="network.js.html">network.js</a>, <a href="network.js.html#line966">line 966</a>
3498 <div class="description">
3499 <p>Gets an array containing all known networks.</p>
3510 <dl class="details">
3548 <table class="params">
3553 <th class="last">Description</th>
3562 Promise.<Array.<<a href="LuCI.network.Protocol.html">LuCI.network.Protocol</a>>>
3566 <td class="description last">Returns a promise resolving to a name-sorted array of
3567 <a href="LuCI.network.Protocol.html"><code>Protocol</code></a> subclass instances
3568 describing all known networks.</td>
3582 <div class="nameContainer">
3583 <h4 class="name" id="getProtocol">
3585 getProtocol<span class="signature">(protoname, <span class="optional">netname</span>)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{null|<a href="LuCI.network.Protocol.html">LuCI.network.Protocol</a>}</span>
3589 <div class="tag-source">
3590 <a href="network.js.html">network.js</a>, <a href="network.js.html#line770">line 770</a>
3600 <div class="description">
3601 <p>Instantiates the given <a href="LuCI.network.Protocol.html"><code>Protocol</code></a> backend,
3602 optionally using the given network name.</p>
3613 <table class="params">
3626 <th class="last">Description</th>
3635 <td class="name"><code>protoname</code></td>
3641 <span class="param-type">string</span>
3648 <td class="default">
3653 <td class="description last">
3660 <p>The protocol backend to use, e.g. <code>static</code> or <code>dhcp</code>.</p></td>
3667 <td class="name"><code>netname</code></td>
3673 <span class="param-type">string</span>
3680 <td class="default">
3687 <td class="description last">
3690 <span class="optional">optional</span>
3696 <p>The network name to use for the instantiated protocol. This should be
3697 usually set to one of the interfaces described in /etc/config/network
3698 but it is allowed to omit it, e.g. to query protocol capabilities
3699 without the need for an existing interface.</p></td>
3708 <dl class="details">
3746 <table class="params">
3751 <th class="last">Description</th>
3763 <a href="LuCI.network.Protocol.html">LuCI.network.Protocol</a>
3767 <td class="description last">Returns the instantiated protocol backend class or <code>null</code> if the given
3768 protocol isn't known.</td>
3782 <div class="nameContainer">
3783 <h4 class="name" id="getProtocols">
3785 getProtocols<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Array.<<a href="LuCI.network.Protocol.html">LuCI.network.Protocol</a>>}</span>
3789 <div class="tag-source">
3790 <a href="network.js.html">network.js</a>, <a href="network.js.html#line785">line 785</a>
3800 <div class="description">
3801 <p>Obtains instances of all known <a href="LuCI.network.Protocol.html"><code>Protocol</code></a>
3802 backend classes.</p>
3813 <dl class="details">
3851 <table class="params">
3856 <th class="last">Description</th>
3865 Array.<<a href="LuCI.network.Protocol.html">LuCI.network.Protocol</a>>
3869 <td class="description last">Returns an array of protocol class instances.</td>
3883 <div class="nameContainer">
3884 <h4 class="name" id="getSwitchTopologies">
3886 getSwitchTopologies<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Promise.<Object.<string, <a href="LuCI.network.html#.SwitchTopology">LuCI.network.SwitchTopology</a>>>}</span>
3890 <div class="tag-source">
3891 <a href="network.js.html">network.js</a>, <a href="network.js.html#line1556">line 1556</a>
3901 <div class="description">
3902 <p>Returns the topologies of all swconfig switches found on the system.</p>
3913 <dl class="details">
3951 <table class="params">
3956 <th class="last">Description</th>
3965 Promise.<Object.<string, <a href="LuCI.network.html#.SwitchTopology">LuCI.network.SwitchTopology</a>>>
3969 <td class="description last">Returns a promise resolving to an object containing the topologies
3970 of each switch. The object keys correspond to the name of the switches
3971 such as <code>switch0</code>, the values are
3972 <a href="LuCI.network.html#.SwitchTopology"><code>SwitchTopology</code></a> objects describing
3987 <div class="nameContainer">
3988 <h4 class="name" id="getWAN6Networks">
3990 getWAN6Networks<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Promise.<Array.<<a href="LuCI.network.Protocol.html">LuCI.network.Protocol</a>>>}</span>
3994 <div class="tag-source">
3995 <a href="network.js.html">network.js</a>, <a href="network.js.html#line1507">line 1507</a>
4005 <div class="description">
4006 <p>Get IPv6 wan networks.</p>
4007 <p>This function looks up all networks having a default <code>::/0</code> route
4008 and returns them as array.</p>
4019 <dl class="details">
4057 <table class="params">
4062 <th class="last">Description</th>
4071 Promise.<Array.<<a href="LuCI.network.Protocol.html">LuCI.network.Protocol</a>>>
4075 <td class="description last">Returns a promise resolving to an array of <code>Protocol</code> subclass
4076 instances describing the found IPv6 default route interfaces.</td>
4090 <div class="nameContainer">
4091 <h4 class="name" id="getWANNetworks">
4093 getWANNetworks<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Promise.<Array.<<a href="LuCI.network.Protocol.html">LuCI.network.Protocol</a>>>}</span>
4097 <div class="tag-source">
4098 <a href="network.js.html">network.js</a>, <a href="network.js.html#line1482">line 1482</a>
4108 <div class="description">
4109 <p>Get IPv4 wan networks.</p>
4110 <p>This function looks up all networks having a default <code>0.0.0.0/0</code> route
4111 and returns them as array.</p>
4122 <dl class="details">
4160 <table class="params">
4165 <th class="last">Description</th>
4174 Promise.<Array.<<a href="LuCI.network.Protocol.html">LuCI.network.Protocol</a>>>
4178 <td class="description last">Returns a promise resolving to an array of <code>Protocol</code> subclass
4179 instances describing the found default route interfaces.</td>
4193 <div class="nameContainer">
4194 <h4 class="name" id="getWifiDevice">
4196 getWifiDevice<span class="signature">(devname)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Promise.<(null|<a href="LuCI.network.WifiDevice.html">LuCI.network.WifiDevice</a>)>}</span>
4200 <div class="tag-source">
4201 <a href="network.js.html">network.js</a>, <a href="network.js.html#line1269">line 1269</a>
4211 <div class="description">
4212 <p>Get a <a href="LuCI.network.WifiDevice.html"><code>WifiDevice</code></a> instance describing
4213 the given wireless radio.</p>
4224 <table class="params">
4235 <th class="last">Description</th>
4244 <td class="name"><code>devname</code></td>
4250 <span class="param-type">string</span>
4258 <td class="description last">
4260 <p>The configuration name of the wireless radio to lookup, e.g. <code>radio0</code>
4261 for the first mac80211 phy on the system.</p></td>
4270 <dl class="details">
4308 <table class="params">
4313 <th class="last">Description</th>
4322 Promise.<(null|<a href="LuCI.network.WifiDevice.html">LuCI.network.WifiDevice</a>)>
4326 <td class="description last">Returns a promise resolving to the <code>WifiDevice</code> instance describing
4327 the underlying radio device or <code>null</code> if the wireless radio could not
4342 <div class="nameContainer">
4343 <h4 class="name" id="getWifiDevices">
4345 getWifiDevices<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Promise.<Array.<<a href="LuCI.network.WifiDevice.html">LuCI.network.WifiDevice</a>>>}</span>
4349 <div class="tag-source">
4350 <a href="network.js.html">network.js</a>, <a href="network.js.html#line1289">line 1289</a>
4360 <div class="description">
4361 <p>Obtain a list of all configured radio devices.</p>
4372 <dl class="details">
4410 <table class="params">
4415 <th class="last">Description</th>
4424 Promise.<Array.<<a href="LuCI.network.WifiDevice.html">LuCI.network.WifiDevice</a>>>
4428 <td class="description last">Returns a promise resolving to an array of <code>WifiDevice</code> instances
4429 describing the wireless radios configured in the system.
4430 The order of the array corresponds to the order of the radios in
4431 the configuration.</td>
4445 <div class="nameContainer">
4446 <h4 class="name" id="getWifiNetwork">
4448 getWifiNetwork<span class="signature">(netname)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Promise.<(null|<a href="LuCI.network.WifiNetwork.html">LuCI.network.WifiNetwork</a>)>}</span>
4452 <div class="tag-source">
4453 <a href="network.js.html">network.js</a>, <a href="network.js.html#line1318">line 1318</a>
4463 <div class="description">
4464 <p>Get a <a href="LuCI.network.WifiNetwork.html"><code>WifiNetwork</code></a> instance describing
4465 the given wireless network.</p>
4476 <table class="params">
4487 <th class="last">Description</th>
4496 <td class="name"><code>netname</code></td>
4502 <span class="param-type">string</span>
4510 <td class="description last">
4512 <p>The name of the wireless network to lookup. This may be either an uci
4513 configuration section ID, a network ID in the form <code>radio#.network#</code>
4514 or a Linux network device name like <code>wlan0</code> which is resolved to the
4515 corresponding configuration section through <code>ubus</code> runtime information.</p></td>
4524 <dl class="details">
4562 <table class="params">
4567 <th class="last">Description</th>
4576 Promise.<(null|<a href="LuCI.network.WifiNetwork.html">LuCI.network.WifiNetwork</a>)>
4580 <td class="description last">Returns a promise resolving to the <code>WifiNetwork</code> instance describing
4581 the wireless network or <code>null</code> if the corresponding network could not
4596 <div class="nameContainer">
4597 <h4 class="name" id="getWifiNetworks">
4599 getWifiNetworks<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Promise.<Array.<<a href="LuCI.network.WifiNetwork.html">LuCI.network.WifiNetwork</a>>>}</span>
4603 <div class="tag-source">
4604 <a href="network.js.html">network.js</a>, <a href="network.js.html#line1332">line 1332</a>
4614 <div class="description">
4615 <p>Get an array of all <a href="LuCI.network.WifiNetwork.html"><code>WifiNetwork</code></a>
4616 instances describing the wireless networks present on the system.</p>
4627 <dl class="details">
4665 <table class="params">
4670 <th class="last">Description</th>
4679 Promise.<Array.<<a href="LuCI.network.WifiNetwork.html">LuCI.network.WifiNetwork</a>>>
4683 <td class="description last">Returns a promise resolving to an array of <code>WifiNetwork</code> instances
4684 describing the wireless networks. The array will be empty if no networks
4699 <div class="nameContainer">
4700 <h4 class="name" id="isIgnoredDevice">
4702 isIgnoredDevice<span class="signature">(name)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{boolean}</span>
4706 <div class="tag-source">
4707 <a href="network.js.html">network.js</a>, <a href="network.js.html#line1252">line 1252</a>
4717 <div class="description">
4718 <p>Test if a given network device name is in the list of patterns for
4719 device names to ignore.</p>
4720 <p>Ignored device names are usually Linux network devices which are
4721 spawned implicitly by kernel modules such as <code>tunl0</code> or <code>hwsim0</code>
4722 and which are unsuitable for use in network configuration.</p>
4733 <table class="params">
4744 <th class="last">Description</th>
4753 <td class="name"><code>name</code></td>
4759 <span class="param-type">string</span>
4767 <td class="description last">
4769 <p>The device name to test.</p></td>
4778 <dl class="details">
4816 <table class="params">
4821 <th class="last">Description</th>
4834 <td class="description last">Returns <code>true</code> if the given name is in the ignore pattern list,
4835 else returns <code>false</code>.</td>
4849 <div class="nameContainer">
4850 <h4 class="name" id="maskToPrefix">
4852 maskToPrefix<span class="signature">(netmask, <span class="optional">v6</span>)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{null|number}</span>
4856 <div class="tag-source">
4857 <a href="network.js.html">network.js</a>, <a href="network.js.html#line684">line 684</a>
4867 <div class="description">
4868 <p>Converts the given netmask to a prefix size in bits.</p>
4879 <table class="params">
4892 <th class="last">Description</th>
4901 <td class="name"><code>netmask</code></td>
4907 <span class="param-type">string</span>
4914 <td class="default">
4919 <td class="description last">
4926 <p>The netmask to convert into a bit count.</p></td>
4933 <td class="name"><code>v6</code></td>
4939 <span class="param-type">boolean</span>
4946 <td class="default">
4953 <td class="description last">
4956 <span class="optional">optional</span>
4962 <p>Whether to parse the given netmask as IPv4 (<code>false</code>) or IPv6 (<code>true</code>)
4972 <dl class="details">
5010 <table class="params">
5015 <th class="last">Description</th>
5031 <td class="description last">Returns the number of prefix bits contained in the netmask or <code>null</code>
5032 if the given netmask value was invalid.</td>
5046 <div class="nameContainer">
5047 <h4 class="name" id="prefixToMask">
5049 prefixToMask<span class="signature">(bits, <span class="optional">v6</span>)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{null|string}</span>
5053 <div class="tag-source">
5054 <a href="network.js.html">network.js</a>, <a href="network.js.html#line666">line 666</a>
5064 <div class="description">
5065 <p>Converts the given prefix size in bits to a netmask.</p>
5076 <table class="params">
5089 <th class="last">Description</th>
5098 <td class="name"><code>bits</code></td>
5104 <span class="param-type">number</span>
5111 <td class="default">
5116 <td class="description last">
5123 <p>The prefix size in bits.</p></td>
5130 <td class="name"><code>v6</code></td>
5136 <span class="param-type">boolean</span>
5143 <td class="default">
5150 <td class="description last">
5153 <span class="optional">optional</span>
5159 <p>Whether to convert the bits value into an IPv4 netmask (<code>false</code>) or
5160 an IPv6 netmask (<code>true</code>).</p></td>
5169 <dl class="details">
5207 <table class="params">
5212 <th class="last">Description</th>
5228 <td class="description last">Returns a string containing the netmask corresponding to the bit count
5229 or <code>null</code> when the given amount of bits exceeds the maximum possible
5230 value of <code>32</code> for IPv4 or <code>128</code> for IPv6.</td>
5244 <div class="nameContainer">
5245 <h4 class="name" id="registerErrorCode">
5247 registerErrorCode<span class="signature">(code, message)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{boolean}</span>
5251 <div class="tag-source">
5252 <a href="network.js.html">network.js</a>, <a href="network.js.html#line873">line 873</a>
5262 <div class="description">
5263 <p>Registers a new human readable translation string for a <code>Protocol</code>
5275 <table class="params">
5286 <th class="last">Description</th>
5295 <td class="name"><code>code</code></td>
5301 <span class="param-type">string</span>
5309 <td class="description last">
5311 <p>The <code>ubus</code> protocol error code to register a translation for, e.g.
5312 <code>NO_DEVICE</code>.</p></td>
5319 <td class="name"><code>message</code></td>
5325 <span class="param-type">string</span>
5333 <td class="description last">
5335 <p>The message to use as translation for the given protocol error code.</p></td>
5344 <dl class="details">
5382 <table class="params">
5387 <th class="last">Description</th>
5400 <td class="description last">Returns <code>true</code> if the error code description has been added or <code>false</code>
5401 if either the arguments were invalid or if there already was a
5402 description for the given code.</td>
5416 <div class="nameContainer">
5417 <h4 class="name" id="registerPatternVirtual">
5419 registerPatternVirtual<span class="signature">(pat)</span>
5423 <div class="tag-source">
5424 <a href="network.js.html">network.js</a>, <a href="network.js.html#line853">line 853</a>
5434 <div class="description">
5435 <p>Registers a new regular expression pattern to recognize
5436 virtual interfaces.</p>
5447 <table class="params">
5458 <th class="last">Description</th>
5467 <td class="name"><code>pat</code></td>
5473 <span class="param-type">RegExp</span>
5481 <td class="description last">
5483 <p>A <code>RegExp</code> instance to match a virtual interface name
5484 such as <code>6in4-wan</code> or <code>tun0</code>.</p></td>
5493 <dl class="details">
5534 <div class="nameContainer">
5535 <h4 class="name" id="registerProtocol">
5537 registerProtocol<span class="signature">(protoname, methods)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{<a href="LuCI.network.Protocol.html">LuCI.network.Protocol</a>}</span>
5541 <div class="tag-source">
5542 <a href="network.js.html">network.js</a>, <a href="network.js.html#line812">line 812</a>
5552 <div class="description">
5553 <p>Registers a new <a href="LuCI.network.Protocol.html"><code>Protocol</code></a> subclass
5554 with the given methods and returns the resulting subclass value.</p>
5555 <p>This functions internally calls
5556 <code>Class.extend()</code> on the <code>Network.Protocol</code>
5568 <table class="params">
5579 <th class="last">Description</th>
5588 <td class="name"><code>protoname</code></td>
5594 <span class="param-type">string</span>
5602 <td class="description last">
5604 <p>The name of the new protocol to register.</p></td>
5611 <td class="name"><code>methods</code></td>
5617 <span class="param-type">Object.<string, *></span>
5625 <td class="description last">
5627 <p>The member methods and values of the new <code>Protocol</code> subclass to
5628 be passed to <code>Class.extend()</code>.</p></td>
5637 <dl class="details">
5675 <table class="params">
5680 <th class="last">Description</th>
5689 <a href="LuCI.network.Protocol.html">LuCI.network.Protocol</a>
5693 <td class="description last">Returns the new <code>Protocol</code> subclass.</td>
5707 <div class="nameContainer">
5708 <h4 class="name" id="renameNetwork">
5710 renameNetwork<span class="signature">(oldName, newName)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Promise.<boolean>}</span>
5714 <div class="tag-source">
5715 <a href="network.js.html">network.js</a>, <a href="network.js.html#line1052">line 1052</a>
5725 <div class="description">
5726 <p>Rename the given network and its references to a new name.</p>
5737 <table class="params">
5748 <th class="last">Description</th>
5757 <td class="name"><code>oldName</code></td>
5763 <span class="param-type">string</span>
5771 <td class="description last">
5773 <p>The current name of the network.</p></td>
5780 <td class="name"><code>newName</code></td>
5786 <span class="param-type">string</span>
5794 <td class="description last">
5796 <p>The name to rename the network to, must be in the format
5797 <code>[a-z-A-Z0-9_]+</code>.</p></td>
5806 <dl class="details">
5844 <table class="params">
5849 <th class="last">Description</th>
5858 Promise.<boolean>
5862 <td class="description last">Returns a promise resolving to either <code>true</code> if the network was
5863 successfully renamed or <code>false</code> if the new name was invalid, if
5864 a network with the new name already exists or if the network to
5865 rename could not be found.</td>
5880 <h3 class="subsection-title">Type Definitions</h3>
5885 <div class="nameContainer">
5886 <h4 class="name" id=".SwitchTopology">LuCI.network.SwitchTopology<span class="type-signature type object.<string, (object|array)>">Object.<string, (Object|Array)></span> </h4>
5893 <div class="description">
5894 <p>Describes an swconfig switch topology by specifying the CPU
5895 connections and external port labels of a switch.</p>
5900 <dl class="details">
5903 <h5 class="subsection-title">Properties:</h5>
5907 <table class="props">
5920 <th class="last">Description</th>
5929 <td class="name"><code>netdevs</code></td>
5935 <span class="param-type">Object.<number, string></span>
5945 <td class="description last"><p>The <code>netdevs</code> property points to an object describing the CPU port
5946 connections of the switch. The numeric key of the enclosed object is
5947 the port number, the value contains the Linux network device name the
5948 port is hardwired to.</p></td>
5955 <td class="name"><code>ports</code></td>
5961 <span class="param-type">Array.<Object.<string, (boolean|number|string)>></span>
5971 <td class="description last"><p>The <code>ports</code> property points to an array describing the populated
5972 ports of the switch in the external label order. Each array item is
5973 an object containg the following keys:</p>
5975 <li><code>num</code> - the internal switch port number</li>
5976 <li><code>label</code> - the label of the port, e.g. <code>LAN 1</code> or <code>CPU (eth0)</code></li>
5977 <li><code>device</code> - the connected Linux network device name (CPU ports only)</li>
5978 <li><code>tagged</code> - a boolean indicating whether the port must be tagged to
5979 function (CPU ports only)</li>
6017 <div class="nameContainer">
6018 <h4 class="name" id=".WifiEncryption">LuCI.network.WifiEncryption<span class="type-signature type object.<string, (boolean|array.<(number|string)>)>">Object.<string, (boolean|Array.<(number|string)>)></span> </h4>
6025 <div class="description">
6026 <p>An encryption entry describes active wireless encryption settings
6027 such as the used key management protocols, active ciphers and
6028 protocol versions.</p>
6033 <dl class="details">
6036 <h5 class="subsection-title">Properties:</h5>
6040 <table class="props">
6055 <th class="last">Description</th>
6064 <td class="name"><code>enabled</code></td>
6070 <span class="param-type">boolean</span>
6077 <td class="attributes">
6086 <td class="description last"><p>Specifies whether any kind of encryption, such as <code>WEP</code> or <code>WPA</code> is
6087 enabled. If set to <code>false</code>, then no encryption is active and the
6088 corresponding network is open.</p></td>
6095 <td class="name"><code>wep</code></td>
6101 <span class="param-type">Array.<string></span>
6108 <td class="attributes">
6119 <td class="description last"><p>When the <code>wep</code> property exists, the network uses WEP encryption.
6120 In this case, the property is set to an array of active WEP modes
6121 which might be either <code>open</code>, <code>shared</code> or both.</p></td>
6128 <td class="name"><code>wpa</code></td>
6134 <span class="param-type">Array.<number></span>
6141 <td class="attributes">
6152 <td class="description last"><p>When the <code>wpa</code> property exists, the network uses WPA security.
6153 In this case, the property is set to an array containing the WPA
6154 protocol versions used, e.g. <code>[ 1, 2 ]</code> for WPA/WPA2 mixed mode or
6155 <code>[ 3 ]</code> for WPA3-SAE.</p></td>
6162 <td class="name"><code>authentication</code></td>
6168 <span class="param-type">Array.<string></span>
6175 <td class="attributes">
6186 <td class="description last"><p>The <code>authentication</code> property only applies to WPA encryption and
6187 is defined when the <code>wpa</code> property is set as well. It points to
6188 an array of active authentication suites used by the network, e.g.
6189 <code>[ "psk" ]</code> for a WPA(2)-PSK network or <code>[ "psk", "sae" ]</code> for
6190 mixed WPA2-PSK/WPA3-SAE encryption.</p></td>
6197 <td class="name"><code>ciphers</code></td>
6203 <span class="param-type">Array.<string></span>
6210 <td class="attributes">
6221 <td class="description last"><p>If either WEP or WPA encryption is active, then the <code>ciphers</code>
6222 property will be set to an array describing the active encryption
6223 ciphers used by the network, e.g. <code>[ "tkip", "ccmp" ]</code> for a
6224 WPA/WPA2-PSK mixed network or <code>[ "wep-40", "wep-104" ]</code> for an
6225 WEP network.</p></td>
6262 <div class="nameContainer">
6263 <h4 class="name" id=".WifiPeerEntry">LuCI.network.WifiPeerEntry<span class="type-signature type object.<string, (boolean|number|string|luci.network.wifirateentry)>">Object.<string, (boolean|number|string|<a href="LuCI.network.html#.WifiRateEntry">LuCI.network.WifiRateEntry</a>)></span> </h4>
6270 <div class="description">
6271 <p>A wireless peer entry describes the properties of a remote wireless
6272 peer associated with a local network.</p>
6277 <dl class="details">
6280 <h5 class="subsection-title">Properties:</h5>
6284 <table class="props">
6299 <th class="last">Description</th>
6308 <td class="name"><code>mac</code></td>
6314 <span class="param-type">string</span>
6321 <td class="attributes">
6330 <td class="description last"><p>The MAC address (BSSID).</p></td>
6337 <td class="name"><code>signal</code></td>
6343 <span class="param-type">number</span>
6350 <td class="attributes">
6359 <td class="description last"><p>The received signal strength.</p></td>
6366 <td class="name"><code>signal_avg</code></td>
6372 <span class="param-type">number</span>
6379 <td class="attributes">
6390 <td class="description last"><p>The average signal strength if supported by the driver.</p></td>
6397 <td class="name"><code>noise</code></td>
6403 <span class="param-type">number</span>
6410 <td class="attributes">
6421 <td class="description last"><p>The current noise floor of the radio. May be <code>0</code> or absent if not
6422 supported by the driver.</p></td>
6429 <td class="name"><code>inactive</code></td>
6435 <span class="param-type">number</span>
6442 <td class="attributes">
6451 <td class="description last"><p>The amount of milliseconds the peer has been inactive, e.g. due
6452 to powersave.</p></td>
6459 <td class="name"><code>connected_time</code></td>
6465 <span class="param-type">number</span>
6472 <td class="attributes">
6481 <td class="description last"><p>The amount of milliseconds the peer is associated to this network.</p></td>
6488 <td class="name"><code>thr</code></td>
6494 <span class="param-type">number</span>
6501 <td class="attributes">
6512 <td class="description last"><p>The estimated throughput of the peer, May be <code>0</code> or absent if not
6513 supported by the driver.</p></td>
6520 <td class="name"><code>authorized</code></td>
6526 <span class="param-type">boolean</span>
6533 <td class="attributes">
6542 <td class="description last"><p>Specifies whether the peer is authorized to associate to this network.</p></td>
6549 <td class="name"><code>authenticated</code></td>
6555 <span class="param-type">boolean</span>
6562 <td class="attributes">
6571 <td class="description last"><p>Specifies whether the peer completed authentication to this network.</p></td>
6578 <td class="name"><code>preamble</code></td>
6584 <span class="param-type">string</span>
6591 <td class="attributes">
6600 <td class="description last"><p>The preamble mode used by the peer. May be <code>long</code> or <code>short</code>.</p></td>
6607 <td class="name"><code>wme</code></td>
6613 <span class="param-type">boolean</span>
6620 <td class="attributes">
6629 <td class="description last"><p>Specifies whether the peer supports WME/WMM capabilities.</p></td>
6636 <td class="name"><code>mfp</code></td>
6642 <span class="param-type">boolean</span>
6649 <td class="attributes">
6658 <td class="description last"><p>Specifies whether management frame protection is active.</p></td>
6665 <td class="name"><code>tdls</code></td>
6671 <span class="param-type">boolean</span>
6678 <td class="attributes">
6687 <td class="description last"><p>Specifies whether TDLS is active.</p></td>
6694 <td class="name"><code>mesh llid</code></td>
6700 <span class="param-type">number</span>
6707 <td class="attributes">
6718 <td class="description last"><p>The mesh LLID, may be <code>0</code> or absent if not applicable or supported
6719 by the driver.</p></td>
6726 <td class="name"><code>mesh plid</code></td>
6732 <span class="param-type">number</span>
6739 <td class="attributes">
6750 <td class="description last"><p>The mesh PLID, may be <code>0</code> or absent if not applicable or supported
6751 by the driver.</p></td>
6758 <td class="name"><code>mesh plink</code></td>
6764 <span class="param-type">string</span>
6771 <td class="attributes">
6782 <td class="description last"><p>The mesh peer link state description, may be an empty string (<code>''</code>)
6783 or absent if not applicable or supported by the driver.</p>
6784 <p>The following states are known:</p>
6786 <li><code>LISTEN</code></li>
6787 <li><code>OPN_SNT</code></li>
6788 <li><code>OPN_RCVD</code></li>
6789 <li><code>CNF_RCVD</code></li>
6790 <li><code>ESTAB</code></li>
6791 <li><code>HOLDING</code></li>
6792 <li><code>BLOCKED</code></li>
6793 <li><code>UNKNOWN</code></li>
6801 <td class="name"><code>mesh local PS</code></td>
6807 <span class="param-type">number</span>
6814 <td class="attributes">
6825 <td class="description last"><p>The local powersafe mode for the peer link, may be an empty
6826 string (<code>''</code>) or absent if not applicable or supported by
6828 <p>The following modes are known:</p>
6830 <li><code>ACTIVE</code> (no power save)</li>
6831 <li><code>LIGHT SLEEP</code></li>
6832 <li><code>DEEP SLEEP</code></li>
6833 <li><code>UNKNOWN</code></li>
6841 <td class="name"><code>mesh peer PS</code></td>
6847 <span class="param-type">number</span>
6854 <td class="attributes">
6865 <td class="description last"><p>The remote powersafe mode for the peer link, may be an empty
6866 string (<code>''</code>) or absent if not applicable or supported by
6868 <p>The following modes are known:</p>
6870 <li><code>ACTIVE</code> (no power save)</li>
6871 <li><code>LIGHT SLEEP</code></li>
6872 <li><code>DEEP SLEEP</code></li>
6873 <li><code>UNKNOWN</code></li>
6881 <td class="name"><code>mesh non-peer PS</code></td>
6887 <span class="param-type">number</span>
6894 <td class="attributes">
6905 <td class="description last"><p>The powersafe mode for all non-peer neigbours, may be an empty
6906 string (<code>''</code>) or absent if not applicable or supported by the driver.</p>
6907 <p>The following modes are known:</p>
6909 <li><code>ACTIVE</code> (no power save)</li>
6910 <li><code>LIGHT SLEEP</code></li>
6911 <li><code>DEEP SLEEP</code></li>
6912 <li><code>UNKNOWN</code></li>
6920 <td class="name"><code>rx</code></td>
6926 <span class="param-type"><a href="LuCI.network.html#.WifiRateEntry">LuCI.network.WifiRateEntry</a></span>
6933 <td class="attributes">
6942 <td class="description last"><p>Describes the receiving wireless rate from the peer.</p></td>
6949 <td class="name"><code>tx</code></td>
6955 <span class="param-type"><a href="LuCI.network.html#.WifiRateEntry">LuCI.network.WifiRateEntry</a></span>
6962 <td class="attributes">
6971 <td class="description last"><p>Describes the transmitting wireless rate to the peer.</p></td>
7008 <div class="nameContainer">
7009 <h4 class="name" id=".WifiRateEntry">LuCI.network.WifiRateEntry<span class="type-signature type object.<string, (boolean|number)>">Object.<string, (boolean|number)></span> </h4>
7016 <div class="description">
7017 <p>A wireless rate entry describes the properties of a wireless
7018 transmission rate to or from a peer.</p>
7023 <dl class="details">
7026 <h5 class="subsection-title">Properties:</h5>
7030 <table class="props">
7045 <th class="last">Description</th>
7054 <td class="name"><code>drop_misc</code></td>
7060 <span class="param-type">number</span>
7067 <td class="attributes">
7078 <td class="description last"><p>The amount of received misc. packages that have been dropped, e.g.
7079 due to corruption or missing authentication. Only applicable to
7080 receiving rates.</p></td>
7087 <td class="name"><code>packets</code></td>
7093 <span class="param-type">number</span>
7100 <td class="attributes">
7109 <td class="description last"><p>The amount of packets that have been received or sent.</p></td>
7116 <td class="name"><code>bytes</code></td>
7122 <span class="param-type">number</span>
7129 <td class="attributes">
7138 <td class="description last"><p>The amount of bytes that have been received or sent.</p></td>
7145 <td class="name"><code>failed</code></td>
7151 <span class="param-type">number</span>
7158 <td class="attributes">
7169 <td class="description last"><p>The amount of failed tranmission attempts. Only applicable to
7170 transmit rates.</p></td>
7177 <td class="name"><code>retries</code></td>
7183 <span class="param-type">number</span>
7190 <td class="attributes">
7201 <td class="description last"><p>The amount of retried transmissions. Only applicable to transmit
7209 <td class="name"><code>is_ht</code></td>
7215 <span class="param-type">boolean</span>
7222 <td class="attributes">
7231 <td class="description last"><p>Specifies whether this rate is an HT (IEEE 802.11n) rate.</p></td>
7238 <td class="name"><code>is_vht</code></td>
7244 <span class="param-type">boolean</span>
7251 <td class="attributes">
7260 <td class="description last"><p>Specifies whether this rate is an VHT (IEEE 802.11ac) rate.</p></td>
7267 <td class="name"><code>mhz</code></td>
7273 <span class="param-type">number</span>
7280 <td class="attributes">
7289 <td class="description last"><p>The channel width in MHz used for the transmission.</p></td>
7296 <td class="name"><code>rate</code></td>
7302 <span class="param-type">number</span>
7309 <td class="attributes">
7318 <td class="description last"><p>The bitrate in bit/s of the transmission.</p></td>
7325 <td class="name"><code>mcs</code></td>
7331 <span class="param-type">number</span>
7338 <td class="attributes">
7349 <td class="description last"><p>The MCS index of the used transmission rate. Only applicable to
7350 HT or VHT rates.</p></td>
7357 <td class="name"><code>40mhz</code></td>
7363 <span class="param-type">number</span>
7370 <td class="attributes">
7381 <td class="description last"><p>Specifies whether the tranmission rate used 40MHz wide channel.
7382 Only applicable to HT or VHT rates.</p>
7383 <p>Note: this option exists for backwards compatibility only and its
7384 use is discouraged. The <code>mhz</code> field should be used instead to
7385 determine the channel width.</p></td>
7392 <td class="name"><code>short_gi</code></td>
7398 <span class="param-type">boolean</span>
7405 <td class="attributes">
7416 <td class="description last"><p>Specifies whether a short guard interval is used for the transmission.
7417 Only applicable to HT or VHT rates.</p></td>
7424 <td class="name"><code>nss</code></td>
7430 <span class="param-type">number</span>
7437 <td class="attributes">
7448 <td class="description last"><p>Specifies the number of spatial streams used by the transmission.
7449 Only applicable to VHT rates.</p></td>
7486 <div class="nameContainer">
7487 <h4 class="name" id=".WifiScanResult">LuCI.network.WifiScanResult<span class="type-signature type object.<string, (number|string|luci.network.wifiencryption)>">Object.<string, (number|string|<a href="LuCI.network.html#.WifiEncryption">LuCI.network.WifiEncryption</a>)></span> </h4>
7494 <div class="description">
7495 <p>A wireless scan result object describes a neighbouring wireless
7496 network found in the vincinity.</p>
7501 <dl class="details">
7504 <h5 class="subsection-title">Properties:</h5>
7508 <table class="props">
7521 <th class="last">Description</th>
7530 <td class="name"><code>ssid</code></td>
7536 <span class="param-type">string</span>
7546 <td class="description last"><p>The SSID / Mesh ID of the network.</p></td>
7553 <td class="name"><code>bssid</code></td>
7559 <span class="param-type">string</span>
7569 <td class="description last"><p>The BSSID if the network.</p></td>
7576 <td class="name"><code>mode</code></td>
7582 <span class="param-type">string</span>
7592 <td class="description last"><p>The operation mode of the network (<code>Master</code>, <code>Ad-Hoc</code>, <code>Mesh Point</code>).</p></td>
7599 <td class="name"><code>channel</code></td>
7605 <span class="param-type">number</span>
7615 <td class="description last"><p>The wireless channel of the network.</p></td>
7622 <td class="name"><code>signal</code></td>
7628 <span class="param-type">number</span>
7638 <td class="description last"><p>The received signal strength of the network in dBm.</p></td>
7645 <td class="name"><code>quality</code></td>
7651 <span class="param-type">number</span>
7661 <td class="description last"><p>The numeric quality level of the signal, can be used in conjunction
7662 with <code>quality_max</code> to calculate a quality percentage.</p></td>
7669 <td class="name"><code>quality_max</code></td>
7675 <span class="param-type">number</span>
7685 <td class="description last"><p>The maximum possible quality level of the signal, can be used in
7686 conjunction with <code>quality</code> to calculate a quality percentage.</p></td>
7693 <td class="name"><code>encryption</code></td>
7699 <span class="param-type"><a href="LuCI.network.html#.WifiEncryption">LuCI.network.WifiEncryption</a></span>
7709 <td class="description last"><p>The encryption used by the wireless network.</p></td>
7760 Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Fri Apr 03 2020 13:28:08 GMT+0200 (Central European Summer Time)
7764 <script>prettyPrint();</script>
7765 <script src="scripts/jaguar.js"></script>