BMLite_Nordic/hcp/doxygen/html/stack.html
Andrey Perminov 06b99d7e18 Initial commit
Change-Id: I532af5014d3392fb525487a4894673405cf6fe42
2020-04-16 15:40:31 -07:00

117 lines
4.5 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>Host Communication Protocol: FPC embedded stack</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
$(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Host Communication Protocol
&#160;<span id="projectnumber">2.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li class="current"><a href="pages.html"><span>Related&#160;Pages</span></a></li>
<li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('stack.html','');});
</script>
<div id="doc-content">
<div class="header">
<div class="headertitle">
<div class="title">FPC embedded stack </div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><p>The communication stack implemented on the embedded devices by FPC follows the following specification.</p>
<div class="image">
<img src="stack.svg" alt="stack.svg"/>
<div class="caption">
HCP embedded stack</div></div>
<h1><a class="anchor" id="phy"></a>
Physical</h1>
<p>The physical layer have a fixed size buffer of 256 bytes.</p>
<h1><a class="anchor" id="link"></a>
Link</h1>
<p>The link layer handles packet consistency.</p>
<p>Each packet received is acknowledged on the link layer, if an error occurs no retransmission is done on this level, instead the error is propagated upwards.</p>
<table class="doxtable">
<tr>
<th>Channel </th><th>Size </th><th>Payload </th><th>CRC </th></tr>
<tr>
<td>2 bytes </td><td>2 bytes </td><td>size bytes </td><td>4 bytes </td></tr>
</table>
<p>All fields are using unsigned data types.</p>
<h1><a class="anchor" id="tsp"></a>
Transport</h1>
<p>The transport layer handles packet segmentation.</p>
<p>As the PHY MTU is 256 bytes the maximum payload per segment is 242 bytes.</p>
<p>Errors are propagated upwards.</p>
<table class="doxtable">
<tr>
<th>Size </th><th>Seq Nr </th><th>Seq Len </th><th>Payload </th></tr>
<tr>
<td>2 bytes </td><td>2 bytes </td><td>2 bytes </td><td>size bytes </td></tr>
</table>
<p>All fields are using unsigned data types.</p>
<h1><a class="anchor" id="app"></a>
Application</h1>
<p>The application layer is a optional security layer, the default implementation is clear text (unsecure).</p>
<p>If a security solution is used it will be part of that products documentation.</p>
<h1><a class="anchor" id="hcp"></a>
HCP</h1>
<p>The HCP frame is described in the <a class="el" href="hcpf.html">HCP frame format section. </a></p>
</div></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="index.html">Main</a></li>
<li class="footer">Generated on Tue Mar 24 2020 11:09:44 for Host Communication Protocol by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
</ul>
</div>
</body>
</html>