|
| 1 | +Arduhdlc is Arduino HDLC library, which can be used over any interface. |
| 2 | +Copyright (C) 2015 Jarkko Hautakorpi |
| 3 | + |
| 4 | +This program is free software; you can redistribute it and/or |
| 5 | +modify it under the terms of the GNU General Public License |
| 6 | +as published by the Free Software Foundation; either version 2 |
| 7 | +of the License, or (at your option) any later version. |
| 8 | + |
| 9 | +This program is distributed in the hope that it will be useful, |
| 10 | +but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 | +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 | +GNU General Public License for more details. |
| 13 | + |
| 14 | +You should have received a copy of the GNU General Public License |
| 15 | +along with this program; if not, write to the Free Software |
| 16 | +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | +Licese applies to work derived from Dust SmartMeshSDK C Library: |
| 22 | +============================================================================= |
| 23 | +Copyright (c) 2012, Dust Networks |
| 24 | +All rights reserved. |
| 25 | + |
| 26 | +Redistribution and use in source and binary forms, with or without |
| 27 | +modification, are permitted provided that the following conditions are met: |
| 28 | + * Redistributions of source code must retain the above copyright |
| 29 | + notice, this list of conditions and the following disclaimer. |
| 30 | + * Redistributions in binary form must reproduce the above copyright |
| 31 | + notice, this list of conditions and the following disclaimer in the |
| 32 | + documentation and/or other materials provided with the distribution. |
| 33 | + * Neither the name of Dust Networks nor the |
| 34 | + names of its contributors may be used to endorse or promote products |
| 35 | + derived from this software without specific prior written permission. |
| 36 | + |
| 37 | +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND |
| 38 | +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
| 39 | +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
| 40 | +DISCLAIMED. IN NO EVENT SHALL DUST NETWORKS BE LIABLE FOR ANY |
| 41 | +DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
| 42 | +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
| 43 | +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND |
| 44 | +ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 45 | +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
| 46 | +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | + |
| 51 | +Licese applies to work derived from Piconomic FW Library: |
| 52 | +============================================================================= |
| 53 | +Copyright (c) 2006 Pieter Conradie [www.piconomic.co.za] |
| 54 | +All rights reserved. |
| 55 | + |
| 56 | +Redistribution and use in source and binary forms, with or without |
| 57 | +modification, are permitted provided that the following conditions are met: |
| 58 | + |
| 59 | +* Redistributions of source code must retain the above copyright |
| 60 | + notice, this list of conditions and the following disclaimer. |
| 61 | + |
| 62 | +* Redistributions in binary form must reproduce the above copyright |
| 63 | + notice, this list of conditions and the following disclaimer in |
| 64 | + the documentation and/or other materials provided with the |
| 65 | + distribution. |
| 66 | + |
| 67 | +* Neither the name of the copyright holders nor the names of |
| 68 | + contributors may be used to endorse or promote products derived |
| 69 | + from this software without specific prior written permission. |
| 70 | + |
| 71 | +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
| 72 | +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| 73 | +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
| 74 | +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE |
| 75 | +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
| 76 | +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
| 77 | +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
| 78 | +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
| 79 | +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
| 80 | +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
| 81 | +POSSIBILITY OF SUCH DAMAGE. |
| 82 | + |
| 83 | +Title: HDLC encapsulation layer |
| 84 | +Author(s): Pieter Conradie |
| 85 | +Creation Date: 2007-03-31 |
| 86 | +Revision Info: $Id: hdlc.h 117 2010-06-24 20:21:28Z pieterconradie $ |
| 87 | + |
| 88 | + |
| 89 | + |
| 90 | + |
| 91 | +Licese applies to work derived from HDLC byte stuffing package: |
| 92 | +============================================================================= |
| 93 | +/***************************************************** |
| 94 | +* HDLC byte stuffing package * |
| 95 | +* * |
| 96 | +* Created on: Dec 2013 * |
| 97 | +* Author: jdn * |
| 98 | +* * |
| 99 | +****************************************************** |
| 100 | +* * |
| 101 | +* * |
| 102 | +* (C) 2012,2013 * |
| 103 | +* * |
| 104 | +* Jens Dalsgaard Nielsen < [email protected]> * |
| 105 | +* http://www.control.aau.dk/~jdn * |
| 106 | +* Studentspace/Satlab * |
| 107 | +* Section of Automation & Control * |
| 108 | +* Aalborg University, * |
| 109 | +* Denmark * |
| 110 | +* * |
| 111 | +* "THE BEER-WARE LICENSE" (frit efter PHK) * |
| 112 | +* < [email protected]> wrote this file. As long as you * |
| 113 | +* retain this notice you can do whatever you want * |
| 114 | +* with this stuff. If we meet some day, and you think* |
| 115 | +* this stuff is worth it ... * |
| 116 | +* you can buy me a beer in return :-) * |
| 117 | +* or if you are real happy then ... * |
| 118 | +* single malt will be well received :-) * |
| 119 | +* * |
| 120 | +* Use it at your own risk - no warranty * |
| 121 | +*****************************************************/ |
0 commit comments