<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>My Project: core/MyEepromAddresses.h Source File</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">My Project
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</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="dir_4270bfced15e0e73154b13468c7c9ad9.html">core</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">MyEepromAddresses.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="_my_eeprom_addresses_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * The MySensors Arduino library handles the wireless radio link and protocol</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * between your home built sensors/actuators and HA controller of choice.</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * The sensors forms a self healing radio network with optional repeaters. Each</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * repeater and gateway builds a routing tables in EEPROM which keeps track of the</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * network topology allowing messages to be routed to nodes.</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * Created by Henrik Ekblad <henrik.ekblad@mysensors.org></span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> * Copyright (C) 2013-2019 Sensnology AB</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> * Full contributor list: https://github.com/mysensors/MySensors/graphs/contributors</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> * Documentation: http://www.mysensors.org</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> * Support Forum: http://forum.mysensors.org</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> * This program is free software; you can redistribute it and/or</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> * modify it under the terms of the GNU General Public License</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> * version 2 as published by the Free Software Foundation.</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  </div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#ifndef MyEepromAddresses_h</span></div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor">#define MyEepromAddresses_h</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  </div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="comment">// EEPROM variable sizes, in bytes</span></div>
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="group___my_eeprom_addressesgrp.html#ga624ab143acbbdee559ed322e27199f02"> 35</a></span> <span class="preprocessor">#define SIZE_NODE_ID (1u) </span></div>
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="group___my_eeprom_addressesgrp.html#ga0b4efe5d2dec3bfc7409ee5aa9c46469"> 36</a></span> <span class="preprocessor">#define SIZE_PARENT_NODE_ID (1u) </span></div>
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="group___my_eeprom_addressesgrp.html#gaf4806c655da8c182ee9ad5cdfdbc98ea"> 37</a></span> <span class="preprocessor">#define SIZE_DISTANCE (1u) </span></div>
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="group___my_eeprom_addressesgrp.html#ga81d4a7a470a84f755dff99aca36a75ba"> 38</a></span> <span class="preprocessor">#define SIZE_ROUTES (256u) </span></div>
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="group___my_eeprom_addressesgrp.html#ga5f735b15a3764a79b24f3656a0e3307e"> 39</a></span> <span class="preprocessor">#define SIZE_CONTROLLER_CONFIG (23u) </span></div>
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="group___my_eeprom_addressesgrp.html#gafcd6d23b4356115abb3cabd5f67054ad"> 40</a></span> <span class="preprocessor">#define SIZE_PERSONALIZATION_CHECKSUM (1u) </span></div>
<div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="group___my_eeprom_addressesgrp.html#gad418e7c46b37873410e0d164a8df7d49"> 41</a></span> <span class="preprocessor">#define SIZE_FIRMWARE_TYPE (2u) </span></div>
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="group___my_eeprom_addressesgrp.html#ga44d9023aae7439e257e4af78905cc1df"> 42</a></span> <span class="preprocessor">#define SIZE_FIRMWARE_VERSION (2u) </span></div>
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="group___my_eeprom_addressesgrp.html#gaa2ee940fcdecff543836ebaecf38edf2"> 43</a></span> <span class="preprocessor">#define SIZE_FIRMWARE_BLOCKS (2u) </span></div>
<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="group___my_eeprom_addressesgrp.html#ga152c022ebb7869ee76399878bfc90c03"> 44</a></span> <span class="preprocessor">#define SIZE_FIRMWARE_CRC (2u) </span></div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="group___my_eeprom_addressesgrp.html#ga752eb7153a27afd264a7ccf2fbbe4007"> 45</a></span> <span class="preprocessor">#define SIZE_SIGNING_REQUIREMENT_TABLE (32u) </span></div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="group___my_eeprom_addressesgrp.html#ga1694918faf79c700abfd2ec51344bee7"> 46</a></span> <span class="preprocessor">#define SIZE_WHITELIST_REQUIREMENT_TABLE (32u) </span></div>
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="group___my_eeprom_addressesgrp.html#ga54fba5d6aaa101f8b46bbbd5331bfb6d"> 47</a></span> <span class="preprocessor">#define SIZE_SIGNING_SOFT_HMAC_KEY (32u) </span></div>
<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="group___my_eeprom_addressesgrp.html#gaad5e44338af7535319a83279a871626f"> 48</a></span> <span class="preprocessor">#define SIZE_SIGNING_SOFT_SERIAL (9u) </span></div>
<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="group___my_eeprom_addressesgrp.html#gac6b62595baa807546b92343ca54395e3"> 49</a></span> <span class="preprocessor">#define SIZE_RF_ENCRYPTION_AES_KEY (16u) </span></div>
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="group___my_eeprom_addressesgrp.html#ga5d84be7e9d91467ee165a2855c445903"> 50</a></span> <span class="preprocessor">#define SIZE_NODE_LOCK_COUNTER (1u) </span></div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> <span class="preprocessor"></span> </div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  </div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="group___my_eeprom_addressesgrp.html#ga19220ff77b3f420a71eddcfcb2534a52"> 54</a></span> <span class="preprocessor">#define EEPROM_START (0u)</span></div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  </div>
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="group___my_eeprom_addressesgrp.html#gacf104d17ebb132c2ebcc8a7075be7143"> 56</a></span> <span class="preprocessor">#define EEPROM_NODE_ID_ADDRESS EEPROM_START</span></div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  </div>
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="group___my_eeprom_addressesgrp.html#ga028207a011a69de264ea7a5e1bf10715"> 58</a></span> <span class="preprocessor">#define EEPROM_PARENT_NODE_ID_ADDRESS (EEPROM_NODE_ID_ADDRESS + SIZE_NODE_ID)</span></div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  </div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="group___my_eeprom_addressesgrp.html#ga7b7c37b7dff6ee88bd4a9545933e3083"> 60</a></span> <span class="preprocessor">#define EEPROM_DISTANCE_ADDRESS (EEPROM_PARENT_NODE_ID_ADDRESS + SIZE_PARENT_NODE_ID)</span></div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  </div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="group___my_eeprom_addressesgrp.html#ga851182141a74bedbffeeae5fbf9c4015"> 62</a></span> <span class="preprocessor">#define EEPROM_ROUTES_ADDRESS (EEPROM_DISTANCE_ADDRESS + SIZE_DISTANCE)</span></div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  </div>
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="group___my_eeprom_addressesgrp.html#ga74fe4e66f98ec229ec0d15e4539a72e2"> 64</a></span> <span class="preprocessor">#define EEPROM_CONTROLLER_CONFIG_ADDRESS (EEPROM_ROUTES_ADDRESS + SIZE_ROUTES)</span></div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  </div>
<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="group___my_eeprom_addressesgrp.html#gadae5ff65d72061d69df19671c57b308f"> 66</a></span> <span class="preprocessor">#define EEPROM_PERSONALIZATION_CHECKSUM_ADDRESS (EEPROM_CONTROLLER_CONFIG_ADDRESS + SIZE_CONTROLLER_CONFIG)</span></div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  </div>
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="group___my_eeprom_addressesgrp.html#ga9f319a420b4b1c6878bd74f6c596d1c0"> 68</a></span> <span class="preprocessor">#define EEPROM_FIRMWARE_TYPE_ADDRESS (EEPROM_PERSONALIZATION_CHECKSUM_ADDRESS + SIZE_PERSONALIZATION_CHECKSUM)</span></div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  </div>
<div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="group___my_eeprom_addressesgrp.html#ga8797ff5f8bfb38bb6a64b5ec944369f0"> 70</a></span> <span class="preprocessor">#define EEPROM_FIRMWARE_VERSION_ADDRESS (EEPROM_FIRMWARE_TYPE_ADDRESS + SIZE_FIRMWARE_TYPE)</span></div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  </div>
<div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="group___my_eeprom_addressesgrp.html#ga1792f1f293a548052d3ad2400e468e3e"> 72</a></span> <span class="preprocessor">#define EEPROM_FIRMWARE_BLOCKS_ADDRESS (EEPROM_FIRMWARE_VERSION_ADDRESS + SIZE_FIRMWARE_VERSION)</span></div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  </div>
<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="group___my_eeprom_addressesgrp.html#ga3b7add2d3fa687bd3b56588f882f58b8"> 74</a></span> <span class="preprocessor">#define EEPROM_FIRMWARE_CRC_ADDRESS (EEPROM_FIRMWARE_BLOCKS_ADDRESS + SIZE_FIRMWARE_BLOCKS)</span></div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  </div>
<div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="group___my_eeprom_addressesgrp.html#ga79667e453cf538b216ad9774dc154851"> 76</a></span> <span class="preprocessor">#define EEPROM_SIGNING_REQUIREMENT_TABLE_ADDRESS (EEPROM_FIRMWARE_CRC_ADDRESS + SIZE_FIRMWARE_CRC)</span></div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  </div>
<div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="group___my_eeprom_addressesgrp.html#ga0d8f888f2221357cc6a5c708bb53e83c"> 78</a></span> <span class="preprocessor">#define EEPROM_WHITELIST_REQUIREMENT_TABLE_ADDRESS (EEPROM_SIGNING_REQUIREMENT_TABLE_ADDRESS + SIZE_SIGNING_REQUIREMENT_TABLE)</span></div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  </div>
<div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="group___my_eeprom_addressesgrp.html#ga8003f8070fc709cf559e60fced3ab181"> 80</a></span> <span class="preprocessor">#define EEPROM_SIGNING_SOFT_HMAC_KEY_ADDRESS (EEPROM_WHITELIST_REQUIREMENT_TABLE_ADDRESS + SIZE_WHITELIST_REQUIREMENT_TABLE)</span></div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  </div>
<div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="group___my_eeprom_addressesgrp.html#ga2142f8843dd7aa3b594d70ba2a81710e"> 82</a></span> <span class="preprocessor">#define EEPROM_SIGNING_SOFT_SERIAL_ADDRESS (EEPROM_SIGNING_SOFT_HMAC_KEY_ADDRESS + SIZE_SIGNING_SOFT_HMAC_KEY)</span></div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  </div>
<div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="group___my_eeprom_addressesgrp.html#gaee93761b69cf44c7b2427004495cfeec"> 84</a></span> <span class="preprocessor">#define EEPROM_RF_ENCRYPTION_AES_KEY_ADDRESS (EEPROM_SIGNING_SOFT_SERIAL_ADDRESS + SIZE_SIGNING_SOFT_SERIAL)</span></div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  </div>
<div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="group___my_eeprom_addressesgrp.html#ga8f11e58bb66b60b430c8cae71fad4ba0"> 86</a></span> <span class="preprocessor">#define EEPROM_NODE_LOCK_COUNTER_ADDRESS (EEPROM_RF_ENCRYPTION_AES_KEY_ADDRESS + SIZE_RF_ENCRYPTION_AES_KEY)</span></div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  </div>
<div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="group___my_eeprom_addressesgrp.html#ga65f3f70d008bdb94e3aa182efb61c51e"> 88</a></span> <span class="preprocessor">#define EEPROM_LOCAL_CONFIG_ADDRESS (EEPROM_NODE_LOCK_COUNTER_ADDRESS + SIZE_NODE_LOCK_COUNTER)</span></div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  </div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span> <span class="preprocessor">#endif // MyEepromAddresses_h</span></div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  </div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>