Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
Integrated CharArray for sending nullbytes in frame

commit 6e3692e
Author: F-L-X-S <[email protected]>
Date:   Tue Oct 1 22:17:27 2024 +0200

    specified Partner-device

commit 30bdde8
Author: F-L-X-S <[email protected]>
Date:   Tue Oct 1 22:09:13 2024 +0200

    removed nulltermination (not necessary for CharArray)

commit 5fc238b
Author: F-L-X-S <[email protected]>
Date:   Tue Oct 1 21:33:27 2024 +0200

    exit-condition in receive loop before nullbyte-condition/removed serial-debug functions

commit 62bafb7
Author: F-L-X-S <[email protected]>
Date:   Tue Oct 1 21:30:20 2024 +0200

    modified test for CharArray

commit 5b5937f
Author: F-L-X-S <[email protected]>
Date:   Tue Oct 1 21:29:55 2024 +0200

    Constructor from String

commit eabf6b5
Author: F-L-X-S <[email protected]>
Date:   Tue Oct 1 20:44:42 2024 +0200

    serial debugging with char-array

commit bc974c2
Author: F-L-X-S <[email protected]>
Date:   Tue Oct 1 20:43:54 2024 +0200

    removed serial debug lib

commit 527ff84
Author: F-L-X-S <[email protected]>
Date:   Wed Sep 18 21:17:42 2024 +0200

    docs

commit 5a5219f
Author: F-L-X-S <[email protected]>
Date:   Wed Sep 18 21:17:07 2024 +0200

    renamed test

commit 7112f68
Author: F-L-X-S <[email protected]>
Date:   Wed Sep 18 21:15:16 2024 +0200

    receive-testing for CharArray

commit 66b7077
Author: F-L-X-S <[email protected]>
Date:   Wed Sep 18 21:03:11 2024 +0200

    String assignment

commit 1551f3e
Author: F-L-X-S <[email protected]>
Date:   Wed Sep 18 21:02:56 2024 +0200

    modified test for CharArray

commit 1b5863d
Author: F-L-X-S <[email protected]>
Date:   Wed Sep 18 19:37:46 2024 +0200

    hex-string as classfunction

commit 585dcbd
Author: F-L-X-S <[email protected]>
Date:   Wed Sep 18 19:37:33 2024 +0200

    Added hex-string representation

commit 0ea954c
Author: F-L-X-S <[email protected]>
Date:   Wed Sep 18 19:24:07 2024 +0200

    Manual Test for CharArray

commit 6a8322c
Author: F-L-X-S <[email protected]>
Date:   Wed Sep 18 19:08:18 2024 +0200

    process charArray of representation as const char*

commit f1c229e
Author: F-L-X-S <[email protected]>
Date:   Wed Sep 18 19:07:41 2024 +0200

    deleted constructor with predefined size / added copy- and assignment-operator / getData as const

commit e48c5a1
Author: F-L-X-S <[email protected]>
Date:   Wed Sep 18 17:17:37 2024 +0200

    removed copy-constructor and assignment operator

commit 4e47e0d
Author: F-L-X-S <[email protected]>
Date:   Wed Sep 18 17:17:19 2024 +0200

    added equality operator

commit a4d08af
Author: F-L-X-S <[email protected]>
Date:   Sat Sep 14 09:22:52 2024 +0200

    replaced frameString by CharArray

commit 420bf22
Author: F-L-X-S <[email protected]>
Date:   Sat Sep 14 09:22:41 2024 +0200

    string Pdu as String

commit c4c3111
Author: F-L-X-S <[email protected]>
Date:   Sat Sep 14 08:08:40 2024 +0200

    deleted buffersize calculation

commit c4fe836
Author: F-L-X-S <[email protected]>
Date:   Fri Sep 13 17:59:42 2024 +0200

    pduString as String / Frame as CharArray (copy_to_heap not necessary anymore-> deleted)

commit d8aca66
Author: F-L-X-S <[email protected]>
Date:   Fri Sep 13 17:58:44 2024 +0200

    recBuffer as pointer to charArray

commit df39703
Author: F-L-X-S <[email protected]>
Date:   Fri Sep 13 17:58:16 2024 +0200

    replaced Frame/frameString by charArray

commit 315e72e
Author: F-L-X-S <[email protected]>
Date:   Fri Sep 13 17:57:31 2024 +0200

    deleted getPDU and getFrame-function, replaced frameString by charArray

commit e5eda41
Author: F-L-X-S <[email protected]>
Date:   Fri Sep 13 17:56:41 2024 +0200

    Created CharArray class

commit 9c43ad9
Author: F-L-X-S <[email protected]>
Date:   Fri Sep 13 11:21:43 2024 +0200

    typo

commit 9273311
Author: F-L-X-S <[email protected]>
Date:   Fri Sep 13 08:50:17 2024 +0200

    silencetime for nullbyte detection

commit b795b05
Author: F-L-X-S <[email protected]>
Date:   Fri Sep 13 08:18:18 2024 +0200

    Revert "CRC as Hex in ASCII-format"

    This reverts commit b28a7ad.

commit 76bec93
Author: F-L-X-S <[email protected]>
Date:   Fri Sep 13 08:16:52 2024 +0200

    Revert "frame with null in crc"

    This reverts commit 730fa36.

commit 730fa36
Author: F-L-X-S <[email protected]>
Date:   Fri Sep 13 08:13:28 2024 +0200

    frame with null in crc

commit b28a7ad
Author: F-L-X-S <[email protected]>
Date:   Wed Sep 11 14:08:55 2024 +0200

    CRC as Hex in ASCII-format

commit 6c67158
Author: F-L-X-S <[email protected]>
Date:   Wed Sep 11 09:17:53 2024 +0200

    Ack only for non-ACK messages
  • Loading branch information
F-L-X-S committed Oct 1, 2024
1 parent 06b0f04 commit 72ccb5a
Show file tree
Hide file tree
Showing 78 changed files with 2,287 additions and 1,066 deletions.
110 changes: 110 additions & 0 deletions docs/html/_char_array_8cpp.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
<!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" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.12.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>BusBricks: /Users/felixschulke/Developement/Arduino/Modbus_RTU/Modbus_RTU/Modbus-RTU/lib/Frame/CharArray.cpp File Reference</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>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.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 id="projectrow">
<td id="projectalign">
<div id="projectname">BusBricks<span id="projectnumber">&#160;0.1</span>
</div>
<div id="projectbrief">Object-oriented building-blocks to configure bus-communication for different services and interfaces on Arduino-MCUs</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.12.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @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:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search',false);
$(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- 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">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_97aefd0d527b934f1d99a682da8fe6a9.html">lib</a></li><li class="navelem"><a class="el" href="dir_63423c24249a4ea801821a9ef8d1869d.html">Frame</a></li> </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
<div class="headertitle"><div class="title">CharArray.cpp File Reference</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="_char_array_8h_source.html">CharArray.h</a>&quot;</code><br />
</div><a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><dl class="section author"><dt>Author</dt><dd>Felix Schuelke (<a href="#" onclick="location.href='mai'+'lto:'+'flx'+'sc'+'ode'+'@g'+'mai'+'l.'+'com'; return false;">flxsc<span class="obfuscator">.nosp@m.</span>ode@<span class="obfuscator">.nosp@m.</span>gmail<span class="obfuscator">.nosp@m.</span>.com</a>) </dd></dl>
<dl class="section version"><dt>Version</dt><dd>0.1 </dd></dl>
<dl class="section date"><dt>Date</dt><dd>2024-08-18</dd></dl>
<dl class="section copyright"><dt>Copyright</dt><dd>* Copyright (C) 2024 Felix Schuelke This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.</dd></dl>
<p>This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.</p>
<p>You should have received a copy of the GNU Affero General Public License along with this program. If not, see <a href="https://www.gnu.org/licenses/">https://www.gnu.org/licenses/</a>. </p>
</div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.12.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
121 changes: 121 additions & 0 deletions docs/html/_char_array_8h.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
<!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" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.12.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>BusBricks: /Users/felixschulke/Developement/Arduino/Modbus_RTU/Modbus_RTU/Modbus-RTU/lib/Frame/CharArray.h File Reference</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>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.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 id="projectrow">
<td id="projectalign">
<div id="projectname">BusBricks<span id="projectnumber">&#160;0.1</span>
</div>
<div id="projectbrief">Object-oriented building-blocks to configure bus-communication for different services and interfaces on Arduino-MCUs</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.12.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @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:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search',false);
$(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- 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">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_97aefd0d527b934f1d99a682da8fe6a9.html">lib</a></li><li class="navelem"><a class="el" href="dir_63423c24249a4ea801821a9ef8d1869d.html">Frame</a></li> </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> </div>
<div class="headertitle"><div class="title">CharArray.h File Reference</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;<a class="el" href="mock_arduino_8h_source.html">mockArduino.h</a>&gt;</code><br />
</div>
<p><a href="_char_array_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_char_array.html">CharArray</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Class for storing char-array (byte-array) together with size. The Array is stored on Heap-memory and is extended by adding bytes with "+=" or by write-access to an index larger than the current size. <a href="class_char_array.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><dl class="section author"><dt>Author</dt><dd>Felix Schuelke (<a href="#" onclick="location.href='mai'+'lto:'+'flx'+'sc'+'ode'+'@g'+'mai'+'l.'+'com'; return false;">flxsc<span class="obfuscator">.nosp@m.</span>ode@<span class="obfuscator">.nosp@m.</span>gmail<span class="obfuscator">.nosp@m.</span>.com</a>) </dd></dl>
<dl class="section version"><dt>Version</dt><dd>0.1 </dd></dl>
<dl class="section date"><dt>Date</dt><dd>2024-08-18</dd></dl>
<dl class="section copyright"><dt>Copyright</dt><dd>* Copyright (C) 2024 Felix Schuelke This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.</dd></dl>
<p>This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.</p>
<p>You should have received a copy of the GNU Affero General Public License along with this program. If not, see <a href="https://www.gnu.org/licenses/">https://www.gnu.org/licenses/</a>. </p>
</div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.12.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
Loading

0 comments on commit 72ccb5a

Please sign in to comment.