summaryrefslogtreecommitdiffhomepage
path: root/docs/jsapi/LuCI.Network.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/jsapi/LuCI.Network.html')
-rw-r--r--docs/jsapi/LuCI.Network.html169
1 files changed, 139 insertions, 30 deletions
diff --git a/docs/jsapi/LuCI.Network.html b/docs/jsapi/LuCI.Network.html
index 65c5d4de0..db1fe226f 100644
--- a/docs/jsapi/LuCI.Network.html
+++ b/docs/jsapi/LuCI.Network.html
@@ -340,6 +340,8 @@
<li data-name="LuCI.Network#getWifiNetwork"><a href="LuCI.Network.html#getWifiNetwork">getWifiNetwork</a></li>
+ <li data-name="LuCI.Network#getWifiNetworks"><a href="LuCI.Network.html#getWifiNetworks">getWifiNetworks</a></li>
+
<li data-name="LuCI.Network#isIgnoredDevice"><a href="LuCI.Network.html#isIgnoredDevice">isIgnoredDevice</a></li>
<li data-name="LuCI.Network#maskToPrefix"><a href="LuCI.Network.html#maskToPrefix">maskToPrefix</a></li>
@@ -636,6 +638,8 @@
<span class="subtitle">Methods</span>
+ <li data-name="LuCI.Network.WifiNetwork#disconnectClient"><a href="LuCI.Network.WifiNetwork.html#disconnectClient">disconnectClient</a></li>
+
<li data-name="LuCI.Network.WifiNetwork#get"><a href="LuCI.Network.WifiNetwork.html#get">get</a></li>
<li data-name="LuCI.Network.WifiNetwork#getActiveBSSID"><a href="LuCI.Network.WifiNetwork.html#getActiveBSSID">getActiveBSSID</a></li>
@@ -700,6 +704,8 @@
<li data-name="LuCI.Network.WifiNetwork#getWifiDeviceName"><a href="LuCI.Network.WifiNetwork.html#getWifiDeviceName">getWifiDeviceName</a></li>
+ <li data-name="LuCI.Network.WifiNetwork#isClientDisconnectSupported"><a href="LuCI.Network.WifiNetwork.html#isClientDisconnectSupported">isClientDisconnectSupported</a></li>
+
<li data-name="LuCI.Network.WifiNetwork#isDisabled"><a href="LuCI.Network.WifiNetwork.html#isDisabled">isDisabled</a></li>
<li data-name="LuCI.Network.WifiNetwork#isUp"><a href="LuCI.Network.WifiNetwork.html#isUp">isUp</a></li>
@@ -1099,7 +1105,7 @@ current configuration details and to manipulate settings.</p></div>
<div class="tag-source">
- network.js, line 628
+ network.js, line 645
</div>
</div>
@@ -1203,7 +1209,7 @@ current configuration details and to manipulate settings.</p></div>
<div class="tag-source">
- network.js, line 884
+ network.js, line 901
</div>
</div>
@@ -1390,7 +1396,7 @@ existed.</td>
<div class="tag-source">
- network.js, line 1352
+ network.js, line 1350
</div>
</div>
@@ -1540,7 +1546,7 @@ were invalid or if the associated radio device could not be found.</td>
<div class="tag-source">
- network.js, line 962
+ network.js, line 979
</div>
</div>
@@ -1688,7 +1694,7 @@ references to it were successfully deleted from the configuration or
<div class="tag-source">
- network.js, line 1390
+ network.js, line 1388
</div>
</div>
@@ -1838,7 +1844,7 @@ be found.</td>
<div class="tag-source">
- network.js, line 728
+ network.js, line 745
</div>
</div>
@@ -1939,7 +1945,7 @@ from the remote <code>ubus</code> apis.</p>
<div class="tag-source">
- network.js, line 719
+ network.js, line 736
</div>
</div>
@@ -2090,7 +2096,7 @@ or <code>WPA3 SAE (CCMP)</code>.</p>
<div class="tag-source">
- network.js, line 1087
+ network.js, line 1104
</div>
</div>
@@ -2238,7 +2244,7 @@ be found.</td>
<div class="tag-source">
- network.js, line 1110
+ network.js, line 1127
</div>
</div>
@@ -2339,7 +2345,7 @@ instances describing the network devices found on the system.</td>
<div class="tag-source">
- network.js, line 1594
+ network.js, line 1650
</div>
</div>
@@ -2440,7 +2446,7 @@ instances describing the network devices found on the system.</td>
<div class="tag-source">
- network.js, line 1611
+ network.js, line 1667
</div>
</div>
@@ -2544,7 +2550,7 @@ class instance describing the found hosts.</p>
<div class="tag-source">
- network.js, line 1583
+ network.js, line 1639
</div>
</div>
@@ -2705,7 +2711,7 @@ object could not be converted to a name.</td>
<div class="tag-source">
- network.js, line 921
+ network.js, line 938
</div>
</div>
@@ -2853,7 +2859,7 @@ the network or <code>null</code> if the network did not exist.</td>
<div class="tag-source">
- network.js, line 946
+ network.js, line 963
</div>
</div>
@@ -2955,7 +2961,7 @@ describing all known networks.</td>
<div class="tag-source">
- network.js, line 750
+ network.js, line 767
</div>
</div>
@@ -3155,7 +3161,7 @@ protocol isn't known.</td>
<div class="tag-source">
- network.js, line 765
+ network.js, line 782
</div>
</div>
@@ -3256,7 +3262,7 @@ backend classes.</p>
<div class="tag-source">
- network.js, line 1538
+ network.js, line 1544
</div>
</div>
@@ -3360,7 +3366,7 @@ the layout.</td>
<div class="tag-source">
- network.js, line 1493
+ network.js, line 1495
</div>
</div>
@@ -3463,7 +3469,7 @@ instances describing the found IPv6 default route interfaces.</td>
<div class="tag-source">
- network.js, line 1472
+ network.js, line 1470
</div>
</div>
@@ -3566,7 +3572,7 @@ instances describing the found default route interfaces.</td>
<div class="tag-source">
- network.js, line 1240
+ network.js, line 1257
</div>
</div>
@@ -3715,7 +3721,7 @@ be found.</td>
<div class="tag-source">
- network.js, line 1260
+ network.js, line 1277
</div>
</div>
@@ -3818,7 +3824,7 @@ the configuration.</td>
<div class="tag-source">
- network.js, line 1289
+ network.js, line 1306
</div>
</div>
@@ -3962,6 +3968,109 @@ be found.</td>
<dt>
<div class="nameContainer">
+ <h4 class="name" id="getWifiNetworks">
+
+ getWifiNetworks<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Promise.&lt;Array.&lt;<a href="LuCI.Network.WifiNetwork.html">LuCI.Network.WifiNetwork</a>>>}</span>
+ </h4>
+
+
+ <div class="tag-source">
+ network.js, line 1320
+ </div>
+
+ </div>
+
+
+</dt>
+<dd>
+
+
+ <div class="description">
+ <p>Get an array of all <a href="LuCI.Network.WifiNetwork.html"><code>WifiNetwork</code></a>
+instances describing the wireless networks present on the system.</p>
+ </div>
+
+
+
+
+
+
+
+
+
+<dl class="details">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</dl>
+
+
+
+
+
+
+
+
+
+
+
+ <h5>Returns:</h5>
+
+
+
+<table class="params">
+ <thead>
+ <tr>
+
+ <th>Type</th>
+ <th class="last">Description</th>
+ </tr>
+ </thead>
+ <tbody>
+
+ <tr>
+
+ <td class="type">
+
+ Promise.&lt;Array.&lt;<a href="LuCI.Network.WifiNetwork.html">LuCI.Network.WifiNetwork</a>>>
+
+
+ </td>
+ <td class="description last">Returns a promise resolving to an array of <code>WifiNetwork</code> instances
+describing the wireless networks. The array will be empty if no networks
+are found.</td>
+ </tr>
+
+ </tbody>
+</table>
+
+
+
+
+</dd>
+
+
+
+<dt>
+ <div class="nameContainer">
<h4 class="name" id="isIgnoredDevice">
isIgnoredDevice<span class="signature">(name)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{boolean}</span>
@@ -3969,7 +4078,7 @@ be found.</td>
<div class="tag-source">
- network.js, line 1223
+ network.js, line 1240
</div>
</div>
@@ -4119,7 +4228,7 @@ else returns <code>false</code>.</td>
<div class="tag-source">
- network.js, line 664
+ network.js, line 681
</div>
</div>
@@ -4316,7 +4425,7 @@ if the given netmask value was invalid.</td>
<div class="tag-source">
- network.js, line 646
+ network.js, line 663
</div>
</div>
@@ -4514,7 +4623,7 @@ value of <code>32</code> for IPv4 or <code>128</code> for IPv6.</td>
<div class="tag-source">
- network.js, line 853
+ network.js, line 870
</div>
</div>
@@ -4686,7 +4795,7 @@ description for the given code.</td>
<div class="tag-source">
- network.js, line 833
+ network.js, line 850
</div>
</div>
@@ -4804,7 +4913,7 @@ such as <code>6in4-wan</code> or <code>tun0</code>.</p></td>
<div class="tag-source">
- network.js, line 792
+ network.js, line 809
</div>
</div>
@@ -4977,7 +5086,7 @@ be passed to <a href="LuCI.Class.html#.extend"><code>Class.extend()</code></a>.<
<div class="tag-source">
- network.js, line 1026
+ network.js, line 1043
</div>
</div>
@@ -7022,7 +7131,7 @@ conjunction with <code>quality</code> to calculate a quality percentage.</p></td
<footer>
- Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Tue Nov 05 2019 16:31:40 GMT+0100 (Central European Standard Time)
+ Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Nov 07 2019 12:20:51 GMT+0100 (Central European Standard Time)
</footer>
</div>
</div>