Files
ChameleonMini/Doc/Doxygen/html/_page__configurations.html
2018-01-17 21:06:28 +01:00

113 lines
5.4 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.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Chameleon-Mini: Configurations</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="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></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">Chameleon-Mini
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="index.html">index</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">Configurations </div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><p>Each setting of the Chameleon-Mini has an active configuration, which defines the behavior of the Chameleon-Mini. A detailed description of what defines a configuration can be found at <a class="el" href="struct_configuration_type.html">ConfigurationType</a>.</p>
<h1>Supported Codecs </h1>
<p>A Configuration basically is defined by the codec it uses and by the application functions that use this codec. Currently there are two different codecs implemented:</p><ol type="1">
<li>The ISO14443A codec for emulation.</li>
<li>The ISO14443A codec for the reader function.</li>
</ol>
<h1>Supported Configurations </h1>
<p>The following table shows which configurations are available currently. </p><table class="doxtable">
<tr>
<th>Configuration name </th><th>Codec </th><th>Description </th></tr>
<tr>
<td><code>NONE</code> </td><td>None </td><td>No functionality, Chameleon-Mini does nothing, the current setting is skipped when cycling through the settings </td></tr>
<tr>
<td><code>MF_ULTRALIGHT</code> </td><td>ISO14443A emulation </td><td>Emulates a MiFare Ultralight card </td></tr>
<tr>
<td><code>MF_CLASSIC_1K</code> </td><td>ISO14443A emulation </td><td>Emulates a MiFare Classic 1k card </td></tr>
<tr>
<td><code>MF_CLASSIC_4K</code> </td><td>ISO14443A emulation </td><td>Emulates a MiFare Classic 4k card </td></tr>
<tr>
<td><code>MF_CLASSIC_1K_7B</code> </td><td>ISO14443A emulation </td><td>Emulates a MiFare Classic 1k card with 7-byte UID. </td></tr>
<tr>
<td><code>MF_CLASSIC_4K_7B</code> </td><td>ISO14443A emulation </td><td>Emulates a MiFare Classic 4k card with 7-byte UID. </td></tr>
<tr>
<td><code>ISO14443A_SNIFF</code> </td><td>ISO14443A emulation </td><td><b>Currently incomplete</b>. Sniffs ISO14443A communication between a reader and a card. </td></tr>
<tr>
<td><code>ISO14443A_READER</code> </td><td>ISO14443A reader </td><td>The Chameleon-Mini works as a reader and can process different procedures in order to obtain a cards UID etc. </td></tr>
</table>
<h1>Configuration Changing procedure<a class="anchor" id="Anchor_ConfigurationChange"></a></h1>
<p>When the configuration is changed, no matter whether by command line or during a setting change, the following steps are done:</p><ol type="1">
<li>The codec deinitialization function of the currently active configuration is called.</li>
<li>Possibly pending timeout commands are aborted.</li>
<li>The configuration struct (<a class="el" href="struct_configuration_type.html">ConfigurationType</a>) for the currently active configuration is overwritten with the new configuration struct.</li>
<li>The codec initialization function of the new configuration is called.</li>
<li>The application initialization function of the new configuration is called. </li>
</ol>
</div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Jan 17 2018 21:05:32 for Chameleon-Mini by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>