Skip to content

Commit

Permalink
deploy: 5f740ab
Browse files Browse the repository at this point in the history
  • Loading branch information
2bndy5 committed Jul 5, 2024
1 parent b1d6db7 commit 44868fa
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 4 deletions.
Binary file modified .doctrees/environment.pickle
Binary file not shown.
Binary file modified .doctrees/rf24_mesh_api.doctree
Binary file not shown.
Binary file modified objects.inv
Binary file not shown.
34 changes: 31 additions & 3 deletions rf24_mesh_api.html
Original file line number Diff line number Diff line change
Expand Up @@ -1121,16 +1121,44 @@ <h3 id="advanced-rf24mesh-api">Advanced RF24Mesh API<a class="headerlink" href="
<dl class="py method objdesc">
<dt class="sig sig-object highlight py" id="pyrf24.RF24Mesh.release_address">
<span class="sig-name descname"><span class="pre">release_address</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><span class="desctype"><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><span class="pre">bool</span></a></span></span></span><a class="headerlink" href="#pyrf24.RF24Mesh.release_address" title="Permalink to this definition"></a></dt>
<dd><p>Use this function to manually expire a leased <a class="reference internal" href="topology.html#logical-address"><span class="std std-ref">Logical Address</span></a> from the mesh network’s master node.</p>
<dt class="sig sig-object highlight py">
<span class="sig-name descname"><span class="pre">release_address</span></span><span class="sig-paren">(</span><span class="sig-param-decl"><em class="sig-param"><a class="n reference internal" href="#pyrf24.RF24Mesh.release_address.address" title="pyrf24.RF24Mesh.release_address.address (Python parameter)"><span class="n"><span class="pre">address</span></span></a><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="desctype"><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><span class="pre">int</span></a></span></span></em></span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&#x2192;</span> <span class="sig-return-typehint"><span class="desctype"><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><span class="pre">bool</span></a></span></span></span></dt>
<dd><p>Use this function from a child node (without a parameter) to manually expire a leased <a class="reference internal" href="topology.html#logical-address"><span class="std std-ref">Logical Address</span></a>
from the mesh network’s master node.</p>
<div class="tip admonition">
<p class="admonition-title">Tip</p>
<p>This function allows re-use of the assigned address for other mesh network nodes.
Call this function from mesh network nodes that are going offline (or to sleep).</p>
</div>
<dl class="field-list simple">
<dt class="field-odd">Returns<span class="colon">:</span></dt>
<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/constants.html#True" title="(in Python v3.12)"><code class="xref any docutils literal notranslate"><span class="pre">True</span></code></a> if the mesh network’s master node received the request to de-allocate
the assigned address. <a class="reference external" href="https://docs.python.org/3/library/constants.html#False" title="(in Python v3.12)"><code class="xref any docutils literal notranslate"><span class="pre">False</span></code></a> means the wireless transaction did not complete.</p>
<dd class="field-odd"><ul class="simple">
<li><p><a class="reference external" href="https://docs.python.org/3/library/constants.html#True" title="(in Python v3.12)"><code class="xref any docutils literal notranslate"><span class="pre">True</span></code></a> if the mesh network’s master node received the request to de-allocate
the assigned address.</p></li>
<li><p><a class="reference external" href="https://docs.python.org/3/library/constants.html#False" title="(in Python v3.12)"><code class="xref any docutils literal notranslate"><span class="pre">False</span></code></a> means the wireless transaction did not complete.</p></li>
</ul>
</dd>
</dl>
<p>When called from the master node, this function takes a parameter and returns
without using wireless transactions.</p>
<div class="hint admonition">
<p class="admonition-title">Hint</p>
<p>This overloaded function signature is specific to master nodes,
so network administrators can manage assigned <a class="reference internal" href="topology.html#logical-address"><span class="std std-ref">Logical Addresses</span></a>
without notifying the nodes that might be appropriating them.</p>
</div>
<dl class="field-list simple">
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
<dd class="field-odd"><dl class="simple api-field highlight">
<dt><span class="n sig-name">address</span><span class="p">:</span><span class="w"> </span><span class="n"><span class="desctype"><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)">int</a></span></span></dt><dd><p>The <a class="reference internal" href="topology.html#logical-address"><span class="std std-ref">Logical Address</span></a> to release from any mesh node.</p>
</dd>
</dl>
</dd>
<dt class="field-even">Returns<span class="colon">:</span></dt>
<dd class="field-even"><ul class="simple">
<li><p><a class="reference external" href="https://docs.python.org/3/library/constants.html#True" title="(in Python v3.12)"><code class="xref any docutils literal notranslate"><span class="pre">True</span></code></a> if successfully released the specified <code class="docutils literal notranslate"><span class="pre">address</span></code>.</p></li>
<li><p><a class="reference external" href="https://docs.python.org/3/library/constants.html#False" title="(in Python v3.12)"><code class="xref any docutils literal notranslate"><span class="pre">False</span></code></a> if the specified <code class="docutils literal notranslate"><span class="pre">address</span></code> was not assigned to any child node.</p></li>
</ul>
</dd>
</dl>
</dd></dl>
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

0 comments on commit 44868fa

Please sign in to comment.