Skip to content

Commit

Permalink
Documentation for Anjay 3.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Kucmasz committed Sep 7, 2023
1 parent d9d24ca commit 2b1c573
Show file tree
Hide file tree
Showing 378 changed files with 21,145 additions and 19,085 deletions.
27 changes: 18 additions & 9 deletions AdvancedTopics.html
Original file line number Diff line number Diff line change
@@ -1,18 +1,23 @@
<!DOCTYPE html>
<html class="writer-html5" lang="en" >
<head>
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.18.1: http://docutils.sourceforge.net/" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>5. Advanced topics &mdash; Anjay 3.4.1 documentation</title>
<title>5. Advanced topics &mdash; Anjay 3.5.0 documentation</title>
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="_static/theme_overrides.css" type="text/css" />
<!--[if lt IE 9]>
<script src="_static/js/html5shiv.min.js"></script>
<![endif]-->

<script data-url_root="./" id="documentation_options" src="_static/documentation_options.js"></script>
<script src="_static/jquery.js"></script>
<script src="_static/underscore.js"></script>
<script src="_static/_sphinx_javascript_frameworks_compat.js"></script>
<script src="_static/doctools.js"></script>
<script src="_static/sphinx_highlight.js"></script>
<script src="_static/js/theme.js"></script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
Expand All @@ -25,15 +30,19 @@
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-scroll">
<div class="wy-side-nav-search" style="background: #ffd500" >
<a href="index.html">
<img src="_static/avsystem_header.png" class="logo" alt="Logo"/>



<a href="index.html">

<img src="_static/avsystem_header.png" class="logo" alt="Logo"/>
</a>
<div class="version">
3.4.1
3.5.0
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
<input type="text" name="q" placeholder="Search docs" />
<input type="text" name="q" placeholder="Search docs" aria-label="Search docs" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
Expand Down Expand Up @@ -78,8 +87,8 @@
<div class="rst-content">
<div role="navigation" aria-label="Page navigation">
<ul class="wy-breadcrumbs">
<li><a href="index.html" class="icon icon-home"></a> &raquo;</li>
<li><span class="section-number">5. </span>Advanced topics</li>
<li><a href="index.html" class="icon icon-home" aria-label="Home"></a></li>
<li class="breadcrumb-item active"><span class="section-number">5. </span>Advanced topics</li>
<li class="wy-breadcrumbs-aside">
</li>
</ul>
Expand All @@ -89,7 +98,7 @@
<div itemprop="articleBody">

<section id="advanced-topics">
<h1><span class="section-number">5. </span>Advanced topics<a class="headerlink" href="#advanced-topics" title="Permalink to this headline"></a></h1>
<h1><span class="section-number">5. </span>Advanced topics<a class="headerlink" href="#advanced-topics" title="Permalink to this heading"></a></h1>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="AdvancedTopics/AT-AccessControl.html">5.1. Access Control in multi-server environment</a></li>
Expand Down
45 changes: 22 additions & 23 deletions AdvancedTopics/AT-AccessControl.html
Original file line number Diff line number Diff line change
@@ -1,18 +1,23 @@
<!DOCTYPE html>
<html class="writer-html5" lang="en" >
<head>
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.18.1: http://docutils.sourceforge.net/" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>5.1. Access Control in multi-server environment &mdash; Anjay 3.4.1 documentation</title>
<title>5.1. Access Control in multi-server environment &mdash; Anjay 3.5.0 documentation</title>
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="../_static/theme_overrides.css" type="text/css" />
<!--[if lt IE 9]>
<script src="../_static/js/html5shiv.min.js"></script>
<![endif]-->

<script data-url_root="../" id="documentation_options" src="../_static/documentation_options.js"></script>
<script src="../_static/jquery.js"></script>
<script src="../_static/underscore.js"></script>
<script src="../_static/_sphinx_javascript_frameworks_compat.js"></script>
<script src="../_static/doctools.js"></script>
<script src="../_static/sphinx_highlight.js"></script>
<script src="../_static/js/theme.js"></script>
<link rel="index" title="Index" href="../genindex.html" />
<link rel="search" title="Search" href="../search.html" />
Expand All @@ -25,15 +30,19 @@
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-scroll">
<div class="wy-side-nav-search" style="background: #ffd500" >
<a href="../index.html">
<img src="../_static/avsystem_header.png" class="logo" alt="Logo"/>



<a href="../index.html">

<img src="../_static/avsystem_header.png" class="logo" alt="Logo"/>
</a>
<div class="version">
3.4.1
3.5.0
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
<input type="text" name="q" placeholder="Search docs" />
<input type="text" name="q" placeholder="Search docs" aria-label="Search docs" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
Expand Down Expand Up @@ -78,9 +87,9 @@
<div class="rst-content">
<div role="navigation" aria-label="Page navigation">
<ul class="wy-breadcrumbs">
<li><a href="../index.html" class="icon icon-home"></a> &raquo;</li>
<li><a href="../AdvancedTopics.html"><span class="section-number">5. </span>Advanced topics</a> &raquo;</li>
<li><span class="section-number">5.1. </span>Access Control in multi-server environment</li>
<li><a href="../index.html" class="icon icon-home" aria-label="Home"></a></li>
<li class="breadcrumb-item"><a href="../AdvancedTopics.html"><span class="section-number">5. </span>Advanced topics</a></li>
<li class="breadcrumb-item active"><span class="section-number">5.1. </span>Access Control in multi-server environment</li>
<li class="wy-breadcrumbs-aside">
</li>
</ul>
Expand All @@ -90,7 +99,7 @@
<div itemprop="articleBody">

<section id="access-control-in-multi-server-environment">
<h1><span class="section-number">5.1. </span>Access Control in multi-server environment<a class="headerlink" href="#access-control-in-multi-server-environment" title="Permalink to this headline"></a></h1>
<h1><span class="section-number">5.1. </span>Access Control in multi-server environment<a class="headerlink" href="#access-control-in-multi-server-environment" title="Permalink to this heading"></a></h1>
<p>LwM2M Client may be connected to more than one LwM2M Server. In such situation,
restricting Server access to some part of the <a class="reference internal" href="../LwM2M.html#data-model"><span class="std std-ref">data model</span></a>
may be required.</p>
Expand All @@ -101,11 +110,6 @@ <h1><span class="section-number">5.1. </span>Access Control in multi-server envi
<p>In a multi-server environment every Object Instance (except Instances of
the Access Control Object) has associated Access Control Instance:</p>
<table class="docutils align-default">
<colgroup>
<col style="width: 27%" />
<col style="width: 16%" />
<col style="width: 58%" />
</colgroup>
<thead>
<tr class="row-odd"><th class="head"><p>Resource</p></th>
<th class="head"><p>Resource ID</p></th>
Expand Down Expand Up @@ -143,16 +147,11 @@ <h1><span class="section-number">5.1. </span>Access Control in multi-server envi
access flag.</p>
</div>
<section id="acl-resource">
<h2><span class="section-number">5.1.1. </span>ACL Resource<a class="headerlink" href="#acl-resource" title="Permalink to this headline"></a></h2>
<h2><span class="section-number">5.1.1. </span>ACL Resource<a class="headerlink" href="#acl-resource" title="Permalink to this heading"></a></h2>
<p>ACL Resource of the Access Control Object Instance is populated with pairs
of form (<cite>Short Server ID</cite>, <cite>Access mask</cite>). Access mask is a combination of
the following access flags (combined by bitwise OR operator):</p>
<table class="docutils align-default">
<colgroup>
<col style="width: 29%" />
<col style="width: 33%" />
<col style="width: 39%" />
</colgroup>
<thead>
<tr class="row-odd"><th class="head"><p>Access flag</p></th>
<th class="head"><p>Allowed LwM2M Operations</p></th>
Expand Down Expand Up @@ -189,7 +188,7 @@ <h2><span class="section-number">5.1.1. </span>ACL Resource<a class="headerlink"
</div>
</section>
<section id="note-on-data-model-instances-lifetime">
<h2><span class="section-number">5.1.2. </span>Note on data-model instances lifetime<a class="headerlink" href="#note-on-data-model-instances-lifetime" title="Permalink to this headline"></a></h2>
<h2><span class="section-number">5.1.2. </span>Note on data-model instances lifetime<a class="headerlink" href="#note-on-data-model-instances-lifetime" title="Permalink to this heading"></a></h2>
<p>Access Control Object also helps in managing Object Instance lifetime. Whenever
some Object Instance is orphaned (i.e. no LwM2M Server is an Access Control
Owner of the Access Control Instance associated with this Object Instance) it
Expand All @@ -203,7 +202,7 @@ <h2><span class="section-number">5.1.2. </span>Note on data-model instances life
</div>
</section>
<section id="example-usage">
<h2><span class="section-number">5.1.3. </span>Example usage<a class="headerlink" href="#example-usage" title="Permalink to this headline"></a></h2>
<h2><span class="section-number">5.1.3. </span>Example usage<a class="headerlink" href="#example-usage" title="Permalink to this heading"></a></h2>
<p>In this example, we are going to setup multiple-server
environment. We will assign LwM2M Server with SSID 1 the <strong>Create</strong>
permission on the <a class="reference internal" href="AT-CustomObjects/AT_CO_MultiInstanceDynamic.html"><span class="doc">Test Object developed in another tutorial</span></a>.</p>
Expand Down
33 changes: 21 additions & 12 deletions AdvancedTopics/AT-AttributeStorage.html
Original file line number Diff line number Diff line change
@@ -1,18 +1,23 @@
<!DOCTYPE html>
<html class="writer-html5" lang="en" >
<head>
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.18.1: http://docutils.sourceforge.net/" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>5.2. Attribute storage &mdash; Anjay 3.4.1 documentation</title>
<title>5.2. Attribute storage &mdash; Anjay 3.5.0 documentation</title>
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="../_static/theme_overrides.css" type="text/css" />
<!--[if lt IE 9]>
<script src="../_static/js/html5shiv.min.js"></script>
<![endif]-->

<script data-url_root="../" id="documentation_options" src="../_static/documentation_options.js"></script>
<script src="../_static/jquery.js"></script>
<script src="../_static/underscore.js"></script>
<script src="../_static/_sphinx_javascript_frameworks_compat.js"></script>
<script src="../_static/doctools.js"></script>
<script src="../_static/sphinx_highlight.js"></script>
<script src="../_static/js/theme.js"></script>
<link rel="index" title="Index" href="../genindex.html" />
<link rel="search" title="Search" href="../search.html" />
Expand All @@ -25,15 +30,19 @@
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-scroll">
<div class="wy-side-nav-search" style="background: #ffd500" >
<a href="../index.html">
<img src="../_static/avsystem_header.png" class="logo" alt="Logo"/>



<a href="../index.html">

<img src="../_static/avsystem_header.png" class="logo" alt="Logo"/>
</a>
<div class="version">
3.4.1
3.5.0
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
<input type="text" name="q" placeholder="Search docs" />
<input type="text" name="q" placeholder="Search docs" aria-label="Search docs" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
Expand Down Expand Up @@ -78,9 +87,9 @@
<div class="rst-content">
<div role="navigation" aria-label="Page navigation">
<ul class="wy-breadcrumbs">
<li><a href="../index.html" class="icon icon-home"></a> &raquo;</li>
<li><a href="../AdvancedTopics.html"><span class="section-number">5. </span>Advanced topics</a> &raquo;</li>
<li><span class="section-number">5.2. </span>Attribute storage</li>
<li><a href="../index.html" class="icon icon-home" aria-label="Home"></a></li>
<li class="breadcrumb-item"><a href="../AdvancedTopics.html"><span class="section-number">5. </span>Advanced topics</a></li>
<li class="breadcrumb-item active"><span class="section-number">5.2. </span>Attribute storage</li>
<li class="wy-breadcrumbs-aside">
</li>
</ul>
Expand All @@ -90,7 +99,7 @@
<div itemprop="articleBody">

<section id="attribute-storage">
<h1><span class="section-number">5.2. </span>Attribute storage<a class="headerlink" href="#attribute-storage" title="Permalink to this headline"></a></h1>
<h1><span class="section-number">5.2. </span>Attribute storage<a class="headerlink" href="#attribute-storage" title="Permalink to this heading"></a></h1>
<p>The Write Attributes and Discover operations, as well as the Information
Reporting interface, use a concept of Attributes that may be set for Resources,
Object Instances or Objects.</p>
Expand All @@ -106,7 +115,7 @@ <h1><span class="section-number">5.2. </span>Attribute storage<a class="headerli
that the library will automatically call the “default” handlers if there are
some unset attributes on the more specific level.</p>
<section id="pre-implemented-attribute-storage-subsystem">
<h2><span class="section-number">5.2.1. </span>Pre-implemented attribute storage subsystem<a class="headerlink" href="#pre-implemented-attribute-storage-subsystem" title="Permalink to this headline"></a></h2>
<h2><span class="section-number">5.2.1. </span>Pre-implemented attribute storage subsystem<a class="headerlink" href="#pre-implemented-attribute-storage-subsystem" title="Permalink to this heading"></a></h2>
<p>As the cases described above are very common and generic – and as such, usually
implemented in exactly the same manner for all objects in the code base, the
library includes a subsystem that implements all the attribute-related handlers
Expand All @@ -128,7 +137,7 @@ <h2><span class="section-number">5.2.1. </span>Pre-implemented attribute storage
handler replacement behave when only some of the handlers are implemented, refer
to the <a class="reference external" href="../api/attr__storage_8h.html">documentation</a>.</p>
<section id="persistence">
<span id="id1"></span><h3><span class="section-number">5.2.1.1. </span>Persistence<a class="headerlink" href="#persistence" title="Permalink to this headline"></a></h3>
<span id="id1"></span><h3><span class="section-number">5.2.1.1. </span>Persistence<a class="headerlink" href="#persistence" title="Permalink to this heading"></a></h3>
<p>To facilitate storing attribute values between executions of the program, the
Attribute Storage subsystem contains a persistence code, that can be used to
serialize and deserialize all the stored attributes to some kind of external
Expand Down
Loading

0 comments on commit 2b1c573

Please sign in to comment.