Allows mbed to send data to an HTML5 web browser through a 4 pole mini jack.

### The Problem:

*Sending data from a microcontroller to any smartphone*

While you can use the usb interface on non-mobile devices, very few smartphones allow you to use this easily. For example iOS requires the purchasing of a 100k+ liscense.

Then there's bluetooth with its gazillions of native code libraries to hook into: OS X, Windows, Linux, iOS, Motorolla, HTC, Samsung, LG,....ew.

With HTML5's web audio API, we can create a hardware bus similar to how Square's Credit Card readers works.

I've successfully tested this with my Macbook Air with Firefox v28 and Chrome v33. IE will not work under any circumstances as it currently does not support the HTML5 Web Audio API.

### Protocol Overview

Javascript is asynchronous, and setIntervals can vary by +/- a few ms. The way around this is to create a master slave bus. Our JavaScript master dictates to the microcontroller slave when it wants data through a square wave clock signal. When the square wave goes from High (1) to low (0) (falling edge), the microcontroller should be sending the data payload. Here's a screenshot of this in action:

And here's is one of the sinusoids zoomed in:

This is a video of the bus in action:

Each data playload is a sinusoid. As of right now the library generates 16 distinct frequencies, where each frequency represents a number from 0 to 15.

The MicIO in its current form has an error rate of 5%, and transfer rate of 16bits/sec. This can easily be sped up by using a faster microcontroller, as well as modulating sinusoids in the payload. For example 0xFF would be represented by: sin(2π*1000) + sin(2π*1500) +sin(2π*2000).

HTML5's web audio api allows us to perform a mathematical operation called a Fast Fourier Transform (FFT - http:en.wikipedia.org/wiki/Fast_Fourier_transform. FFT's basically allow us to parse out the frequencies in our audio stream. Below is a table converting hex/decimal to its payload sinusoid frequency.

Hex | Sinusoid Frequency (Hz)

0x0 | 818

0x1 | 1076

0x2 | 1335

0x3 | 1335

0x4 | 1894

0x5 | 2153

0x6 | 2411

0x7 | 2670

0x8 | 2971

0x9 | 3229

0xA | 3488

0xB | 3746

0xC | 4048

0xD | 4306

0xE | 4565

0xF | 4823

NULL | < 500 or >5500

### Wiring

#### 4 pole mini jack

1. Left Music = Clock In/Out 2. Right Music = Master Data not yet implemented 3. Ground 4. Microphone In = Slave Data

Currently, MicIO does not support the sending of data to the microcontroller, but it'd be trivial to add in future versions.

Here is the actual wiring schematic with the mbed NXP LPC1768: https:www.sparkfun.com/products/9564. Do to my cad software not having a 4 pole mini jack, Its wired up to two 3 pole mini jacks. The left minijack should go to the mic prong, where-as the right minijack goes to left Music.

### Software

#### Slave - MBED

The Code repo can be found on the mbed webpage (http:mbed.org/users/cbookman3/code/MicIO/ I've also published an example micIO application http:mbed.org/users/cbookman3/code/MicIO-Example/.

Basically it takes in a string array (or number). Then micIO sends the data in half byte payloads each time the master requests more data. If there is no more data, it simply does not generate any sinusoids, aka frequency of 0.

#### Master

This code can be found on https:github.com/cobookman/HTML5.MicIO.

The HTML5 MicIO library when instantiated, will try to bind to the microphone. Upon sucessful binding, it'll begin to request for data. There's two javascript files you must include:

• js/clock.js - Generates a square wave clock for MicIO w/some helpers
• js/index.js - The MicIO library

make sure that the volume on your computer/mobile device is all the way up.

To create a new MicIO master instance you simply run:

#### Example javascript master usage

```var micIO = new MicIO(function onDataRecieved(halfByteArr) {
//do stuff with the data E.g:
var byteArr = [];
for(var i = 0; i < halfByteArr.length; ++i) {
var byteIndex = Math.floor(i/2);
if(i%2 === 0) {		      //first half of the byte
byteArr[byteIndex] = (halfByteArr[i] << 4) & 0xF0;
} else {  			//second half of the byte
byteArr[byteIndex] += halfByteArr[i] & 0x0F;
}
}
});
```
Committer:
cbookman3
Date:
Sun Mar 23 20:45:58 2014 +0000
Revision:
3:1630409f9bd6
Parent:
0:294495efee3f
`forgot to remove lcd library (used in debugging)`

### Who changed what in which revision?

UserRevisionLine numberNew contents of line
cbookman3 0:294495efee3f 1 GNU GENERAL PUBLIC LICENSE
cbookman3 0:294495efee3f 2 Version 3, 29 June 2007
cbookman3 0:294495efee3f 3
cbookman3 0:294495efee3f 4 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
cbookman3 0:294495efee3f 5 Everyone is permitted to copy and distribute verbatim copies
cbookman3 0:294495efee3f 6 of this license document, but changing it is not allowed.
cbookman3 0:294495efee3f 7
cbookman3 0:294495efee3f 8 Preamble
cbookman3 0:294495efee3f 9
cbookman3 0:294495efee3f 10 The GNU General Public License is a free, copyleft license for
cbookman3 0:294495efee3f 11 software and other kinds of works.
cbookman3 0:294495efee3f 12
cbookman3 0:294495efee3f 13 The licenses for most software and other practical works are designed
cbookman3 0:294495efee3f 14 to take away your freedom to share and change the works. By contrast,
cbookman3 0:294495efee3f 15 the GNU General Public License is intended to guarantee your freedom to
cbookman3 0:294495efee3f 16 share and change all versions of a program--to make sure it remains free
cbookman3 0:294495efee3f 17 software for all its users. We, the Free Software Foundation, use the
cbookman3 0:294495efee3f 18 GNU General Public License for most of our software; it applies also to
cbookman3 0:294495efee3f 19 any other work released this way by its authors. You can apply it to
cbookman3 0:294495efee3f 20 your programs, too.
cbookman3 0:294495efee3f 21
cbookman3 0:294495efee3f 22 When we speak of free software, we are referring to freedom, not
cbookman3 0:294495efee3f 23 price. Our General Public Licenses are designed to make sure that you
cbookman3 0:294495efee3f 24 have the freedom to distribute copies of free software (and charge for
cbookman3 0:294495efee3f 25 them if you wish), that you receive source code or can get it if you
cbookman3 0:294495efee3f 26 want it, that you can change the software or use pieces of it in new
cbookman3 0:294495efee3f 27 free programs, and that you know you can do these things.
cbookman3 0:294495efee3f 28
cbookman3 0:294495efee3f 29 To protect your rights, we need to prevent others from denying you
cbookman3 0:294495efee3f 30 these rights or asking you to surrender the rights. Therefore, you have
cbookman3 0:294495efee3f 31 certain responsibilities if you distribute copies of the software, or if
cbookman3 0:294495efee3f 32 you modify it: responsibilities to respect the freedom of others.
cbookman3 0:294495efee3f 33
cbookman3 0:294495efee3f 34 For example, if you distribute copies of such a program, whether
cbookman3 0:294495efee3f 35 gratis or for a fee, you must pass on to the recipients the same
cbookman3 0:294495efee3f 36 freedoms that you received. You must make sure that they, too, receive
cbookman3 0:294495efee3f 37 or can get the source code. And you must show them these terms so they
cbookman3 0:294495efee3f 38 know their rights.
cbookman3 0:294495efee3f 39
cbookman3 0:294495efee3f 40 Developers that use the GNU GPL protect your rights with two steps:
cbookman3 0:294495efee3f 41 (1) assert copyright on the software, and (2) offer you this License
cbookman3 0:294495efee3f 42 giving you legal permission to copy, distribute and/or modify it.
cbookman3 0:294495efee3f 43
cbookman3 0:294495efee3f 44 For the developers' and authors' protection, the GPL clearly explains
cbookman3 0:294495efee3f 45 that there is no warranty for this free software. For both users' and
cbookman3 0:294495efee3f 46 authors' sake, the GPL requires that modified versions be marked as
cbookman3 0:294495efee3f 47 changed, so that their problems will not be attributed erroneously to
cbookman3 0:294495efee3f 48 authors of previous versions.
cbookman3 0:294495efee3f 49
cbookman3 0:294495efee3f 50 Some devices are designed to deny users access to install or run
cbookman3 0:294495efee3f 51 modified versions of the software inside them, although the manufacturer
cbookman3 0:294495efee3f 52 can do so. This is fundamentally incompatible with the aim of
cbookman3 0:294495efee3f 53 protecting users' freedom to change the software. The systematic
cbookman3 0:294495efee3f 54 pattern of such abuse occurs in the area of products for individuals to
cbookman3 0:294495efee3f 55 use, which is precisely where it is most unacceptable. Therefore, we
cbookman3 0:294495efee3f 56 have designed this version of the GPL to prohibit the practice for those
cbookman3 0:294495efee3f 57 products. If such problems arise substantially in other domains, we
cbookman3 0:294495efee3f 58 stand ready to extend this provision to those domains in future versions
cbookman3 0:294495efee3f 59 of the GPL, as needed to protect the freedom of users.
cbookman3 0:294495efee3f 60
cbookman3 0:294495efee3f 61 Finally, every program is threatened constantly by software patents.
cbookman3 0:294495efee3f 62 States should not allow patents to restrict development and use of
cbookman3 0:294495efee3f 63 software on general-purpose computers, but in those that do, we wish to
cbookman3 0:294495efee3f 64 avoid the special danger that patents applied to a free program could
cbookman3 0:294495efee3f 65 make it effectively proprietary. To prevent this, the GPL assures that
cbookman3 0:294495efee3f 66 patents cannot be used to render the program non-free.
cbookman3 0:294495efee3f 67
cbookman3 0:294495efee3f 68 The precise terms and conditions for copying, distribution and
cbookman3 0:294495efee3f 69 modification follow.
cbookman3 0:294495efee3f 70
cbookman3 0:294495efee3f 71 TERMS AND CONDITIONS
cbookman3 0:294495efee3f 72
cbookman3 0:294495efee3f 73 0. Definitions.
cbookman3 0:294495efee3f 74
cbookman3 0:294495efee3f 75 "This License" refers to version 3 of the GNU General Public License.
cbookman3 0:294495efee3f 76
cbookman3 0:294495efee3f 77 "Copyright" also means copyright-like laws that apply to other kinds of
cbookman3 0:294495efee3f 78 works, such as semiconductor masks.
cbookman3 0:294495efee3f 79
cbookman3 0:294495efee3f 80 "The Program" refers to any copyrightable work licensed under this
cbookman3 0:294495efee3f 82 "recipients" may be individuals or organizations.
cbookman3 0:294495efee3f 83
cbookman3 0:294495efee3f 84 To "modify" a work means to copy from or adapt all or part of the work
cbookman3 0:294495efee3f 85 in a fashion requiring copyright permission, other than the making of an
cbookman3 0:294495efee3f 86 exact copy. The resulting work is called a "modified version" of the
cbookman3 0:294495efee3f 87 earlier work or a work "based on" the earlier work.
cbookman3 0:294495efee3f 88
cbookman3 0:294495efee3f 89 A "covered work" means either the unmodified Program or a work based
cbookman3 0:294495efee3f 90 on the Program.
cbookman3 0:294495efee3f 91
cbookman3 0:294495efee3f 92 To "propagate" a work means to do anything with it that, without
cbookman3 0:294495efee3f 93 permission, would make you directly or secondarily liable for
cbookman3 0:294495efee3f 94 infringement under applicable copyright law, except executing it on a
cbookman3 0:294495efee3f 95 computer or modifying a private copy. Propagation includes copying,
cbookman3 0:294495efee3f 96 distribution (with or without modification), making available to the
cbookman3 0:294495efee3f 97 public, and in some countries other activities as well.
cbookman3 0:294495efee3f 98
cbookman3 0:294495efee3f 99 To "convey" a work means any kind of propagation that enables other
cbookman3 0:294495efee3f 100 parties to make or receive copies. Mere interaction with a user through
cbookman3 0:294495efee3f 101 a computer network, with no transfer of a copy, is not conveying.
cbookman3 0:294495efee3f 102
cbookman3 0:294495efee3f 103 An interactive user interface displays "Appropriate Legal Notices"
cbookman3 0:294495efee3f 104 to the extent that it includes a convenient and prominently visible
cbookman3 0:294495efee3f 105 feature that (1) displays an appropriate copyright notice, and (2)
cbookman3 0:294495efee3f 106 tells the user that there is no warranty for the work (except to the
cbookman3 0:294495efee3f 107 extent that warranties are provided), that licensees may convey the
cbookman3 0:294495efee3f 108 work under this License, and how to view a copy of this License. If
cbookman3 0:294495efee3f 109 the interface presents a list of user commands or options, such as a
cbookman3 0:294495efee3f 110 menu, a prominent item in the list meets this criterion.
cbookman3 0:294495efee3f 111
cbookman3 0:294495efee3f 112 1. Source Code.
cbookman3 0:294495efee3f 113
cbookman3 0:294495efee3f 114 The "source code" for a work means the preferred form of the work
cbookman3 0:294495efee3f 115 for making modifications to it. "Object code" means any non-source
cbookman3 0:294495efee3f 116 form of a work.
cbookman3 0:294495efee3f 117
cbookman3 0:294495efee3f 118 A "Standard Interface" means an interface that either is an official
cbookman3 0:294495efee3f 119 standard defined by a recognized standards body, or, in the case of
cbookman3 0:294495efee3f 120 interfaces specified for a particular programming language, one that
cbookman3 0:294495efee3f 121 is widely used among developers working in that language.
cbookman3 0:294495efee3f 122
cbookman3 0:294495efee3f 123 The "System Libraries" of an executable work include anything, other
cbookman3 0:294495efee3f 124 than the work as a whole, that (a) is included in the normal form of
cbookman3 0:294495efee3f 125 packaging a Major Component, but which is not part of that Major
cbookman3 0:294495efee3f 126 Component, and (b) serves only to enable use of the work with that
cbookman3 0:294495efee3f 127 Major Component, or to implement a Standard Interface for which an
cbookman3 0:294495efee3f 128 implementation is available to the public in source code form. A
cbookman3 0:294495efee3f 129 "Major Component", in this context, means a major essential component
cbookman3 0:294495efee3f 130 (kernel, window system, and so on) of the specific operating system
cbookman3 0:294495efee3f 131 (if any) on which the executable work runs, or a compiler used to
cbookman3 0:294495efee3f 132 produce the work, or an object code interpreter used to run it.
cbookman3 0:294495efee3f 133
cbookman3 0:294495efee3f 134 The "Corresponding Source" for a work in object code form means all
cbookman3 0:294495efee3f 135 the source code needed to generate, install, and (for an executable
cbookman3 0:294495efee3f 136 work) run the object code and to modify the work, including scripts to
cbookman3 0:294495efee3f 137 control those activities. However, it does not include the work's
cbookman3 0:294495efee3f 138 System Libraries, or general-purpose tools or generally available free
cbookman3 0:294495efee3f 139 programs which are used unmodified in performing those activities but
cbookman3 0:294495efee3f 140 which are not part of the work. For example, Corresponding Source
cbookman3 0:294495efee3f 141 includes interface definition files associated with source files for
cbookman3 0:294495efee3f 142 the work, and the source code for shared libraries and dynamically
cbookman3 0:294495efee3f 143 linked subprograms that the work is specifically designed to require,
cbookman3 0:294495efee3f 144 such as by intimate data communication or control flow between those
cbookman3 0:294495efee3f 145 subprograms and other parts of the work.
cbookman3 0:294495efee3f 146
cbookman3 0:294495efee3f 147 The Corresponding Source need not include anything that users
cbookman3 0:294495efee3f 148 can regenerate automatically from other parts of the Corresponding
cbookman3 0:294495efee3f 149 Source.
cbookman3 0:294495efee3f 150
cbookman3 0:294495efee3f 151 The Corresponding Source for a work in source code form is that
cbookman3 0:294495efee3f 152 same work.
cbookman3 0:294495efee3f 153
cbookman3 0:294495efee3f 154 2. Basic Permissions.
cbookman3 0:294495efee3f 155
cbookman3 0:294495efee3f 156 All rights granted under this License are granted for the term of
cbookman3 0:294495efee3f 157 copyright on the Program, and are irrevocable provided the stated
cbookman3 0:294495efee3f 158 conditions are met. This License explicitly affirms your unlimited
cbookman3 0:294495efee3f 159 permission to run the unmodified Program. The output from running a
cbookman3 0:294495efee3f 160 covered work is covered by this License only if the output, given its
cbookman3 0:294495efee3f 161 content, constitutes a covered work. This License acknowledges your
cbookman3 0:294495efee3f 162 rights of fair use or other equivalent, as provided by copyright law.
cbookman3 0:294495efee3f 163
cbookman3 0:294495efee3f 164 You may make, run and propagate covered works that you do not
cbookman3 0:294495efee3f 165 convey, without conditions so long as your license otherwise remains
cbookman3 0:294495efee3f 166 in force. You may convey covered works to others for the sole purpose
cbookman3 0:294495efee3f 167 of having them make modifications exclusively for you, or provide you
cbookman3 0:294495efee3f 168 with facilities for running those works, provided that you comply with
cbookman3 0:294495efee3f 169 the terms of this License in conveying all material for which you do
cbookman3 0:294495efee3f 170 not control copyright. Those thus making or running the covered works
cbookman3 0:294495efee3f 171 for you must do so exclusively on your behalf, under your direction
cbookman3 0:294495efee3f 172 and control, on terms that prohibit them from making any copies of
cbookman3 0:294495efee3f 174
cbookman3 0:294495efee3f 175 Conveying under any other circumstances is permitted solely under
cbookman3 0:294495efee3f 176 the conditions stated below. Sublicensing is not allowed; section 10
cbookman3 0:294495efee3f 177 makes it unnecessary.
cbookman3 0:294495efee3f 178
cbookman3 0:294495efee3f 179 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
cbookman3 0:294495efee3f 180
cbookman3 0:294495efee3f 181 No covered work shall be deemed part of an effective technological
cbookman3 0:294495efee3f 182 measure under any applicable law fulfilling obligations under article
cbookman3 0:294495efee3f 183 11 of the WIPO copyright treaty adopted on 20 December 1996, or
cbookman3 0:294495efee3f 184 similar laws prohibiting or restricting circumvention of such
cbookman3 0:294495efee3f 185 measures.
cbookman3 0:294495efee3f 186
cbookman3 0:294495efee3f 187 When you convey a covered work, you waive any legal power to forbid
cbookman3 0:294495efee3f 188 circumvention of technological measures to the extent such circumvention
cbookman3 0:294495efee3f 189 is effected by exercising rights under this License with respect to
cbookman3 0:294495efee3f 190 the covered work, and you disclaim any intention to limit operation or
cbookman3 0:294495efee3f 191 modification of the work as a means of enforcing, against the work's
cbookman3 0:294495efee3f 192 users, your or third parties' legal rights to forbid circumvention of
cbookman3 0:294495efee3f 193 technological measures.
cbookman3 0:294495efee3f 194
cbookman3 0:294495efee3f 195 4. Conveying Verbatim Copies.
cbookman3 0:294495efee3f 196
cbookman3 0:294495efee3f 197 You may convey verbatim copies of the Program's source code as you
cbookman3 0:294495efee3f 198 receive it, in any medium, provided that you conspicuously and
cbookman3 0:294495efee3f 199 appropriately publish on each copy an appropriate copyright notice;
cbookman3 0:294495efee3f 200 keep intact all notices stating that this License and any
cbookman3 0:294495efee3f 201 non-permissive terms added in accord with section 7 apply to the code;
cbookman3 0:294495efee3f 202 keep intact all notices of the absence of any warranty; and give all
cbookman3 0:294495efee3f 203 recipients a copy of this License along with the Program.
cbookman3 0:294495efee3f 204
cbookman3 0:294495efee3f 205 You may charge any price or no price for each copy that you convey,
cbookman3 0:294495efee3f 206 and you may offer support or warranty protection for a fee.
cbookman3 0:294495efee3f 207
cbookman3 0:294495efee3f 208 5. Conveying Modified Source Versions.
cbookman3 0:294495efee3f 209
cbookman3 0:294495efee3f 210 You may convey a work based on the Program, or the modifications to
cbookman3 0:294495efee3f 211 produce it from the Program, in the form of source code under the
cbookman3 0:294495efee3f 212 terms of section 4, provided that you also meet all of these conditions:
cbookman3 0:294495efee3f 213
cbookman3 0:294495efee3f 214 a) The work must carry prominent notices stating that you modified
cbookman3 0:294495efee3f 215 it, and giving a relevant date.
cbookman3 0:294495efee3f 216
cbookman3 0:294495efee3f 217 b) The work must carry prominent notices stating that it is
cbookman3 0:294495efee3f 218 released under this License and any conditions added under section
cbookman3 0:294495efee3f 219 7. This requirement modifies the requirement in section 4 to
cbookman3 0:294495efee3f 220 "keep intact all notices".
cbookman3 0:294495efee3f 221
cbookman3 0:294495efee3f 222 c) You must license the entire work, as a whole, under this
cbookman3 0:294495efee3f 223 License to anyone who comes into possession of a copy. This
cbookman3 0:294495efee3f 224 License will therefore apply, along with any applicable section 7
cbookman3 0:294495efee3f 225 additional terms, to the whole of the work, and all its parts,
cbookman3 0:294495efee3f 226 regardless of how they are packaged. This License gives no
cbookman3 0:294495efee3f 227 permission to license the work in any other way, but it does not
cbookman3 0:294495efee3f 228 invalidate such permission if you have separately received it.
cbookman3 0:294495efee3f 229
cbookman3 0:294495efee3f 230 d) If the work has interactive user interfaces, each must display
cbookman3 0:294495efee3f 231 Appropriate Legal Notices; however, if the Program has interactive
cbookman3 0:294495efee3f 232 interfaces that do not display Appropriate Legal Notices, your
cbookman3 0:294495efee3f 233 work need not make them do so.
cbookman3 0:294495efee3f 234
cbookman3 0:294495efee3f 235 A compilation of a covered work with other separate and independent
cbookman3 0:294495efee3f 236 works, which are not by their nature extensions of the covered work,
cbookman3 0:294495efee3f 237 and which are not combined with it such as to form a larger program,
cbookman3 0:294495efee3f 238 in or on a volume of a storage or distribution medium, is called an
cbookman3 0:294495efee3f 239 "aggregate" if the compilation and its resulting copyright are not
cbookman3 0:294495efee3f 240 used to limit the access or legal rights of the compilation's users
cbookman3 0:294495efee3f 241 beyond what the individual works permit. Inclusion of a covered work
cbookman3 0:294495efee3f 242 in an aggregate does not cause this License to apply to the other
cbookman3 0:294495efee3f 243 parts of the aggregate.
cbookman3 0:294495efee3f 244
cbookman3 0:294495efee3f 245 6. Conveying Non-Source Forms.
cbookman3 0:294495efee3f 246
cbookman3 0:294495efee3f 247 You may convey a covered work in object code form under the terms
cbookman3 0:294495efee3f 248 of sections 4 and 5, provided that you also convey the
cbookman3 0:294495efee3f 249 machine-readable Corresponding Source under the terms of this License,
cbookman3 0:294495efee3f 250 in one of these ways:
cbookman3 0:294495efee3f 251
cbookman3 0:294495efee3f 252 a) Convey the object code in, or embodied in, a physical product
cbookman3 0:294495efee3f 253 (including a physical distribution medium), accompanied by the
cbookman3 0:294495efee3f 254 Corresponding Source fixed on a durable physical medium
cbookman3 0:294495efee3f 255 customarily used for software interchange.
cbookman3 0:294495efee3f 256
cbookman3 0:294495efee3f 257 b) Convey the object code in, or embodied in, a physical product
cbookman3 0:294495efee3f 258 (including a physical distribution medium), accompanied by a
cbookman3 0:294495efee3f 259 written offer, valid for at least three years and valid for as
cbookman3 0:294495efee3f 260 long as you offer spare parts or customer support for that product
cbookman3 0:294495efee3f 261 model, to give anyone who possesses the object code either (1) a
cbookman3 0:294495efee3f 262 copy of the Corresponding Source for all the software in the
cbookman3 0:294495efee3f 263 product that is covered by this License, on a durable physical
cbookman3 0:294495efee3f 264 medium customarily used for software interchange, for a price no
cbookman3 0:294495efee3f 265 more than your reasonable cost of physically performing this
cbookman3 0:294495efee3f 266 conveying of source, or (2) access to copy the
cbookman3 0:294495efee3f 267 Corresponding Source from a network server at no charge.
cbookman3 0:294495efee3f 268
cbookman3 0:294495efee3f 269 c) Convey individual copies of the object code with a copy of the
cbookman3 0:294495efee3f 270 written offer to provide the Corresponding Source. This
cbookman3 0:294495efee3f 271 alternative is allowed only occasionally and noncommercially, and
cbookman3 0:294495efee3f 272 only if you received the object code with such an offer, in accord
cbookman3 0:294495efee3f 273 with subsection 6b.
cbookman3 0:294495efee3f 274
cbookman3 0:294495efee3f 275 d) Convey the object code by offering access from a designated
cbookman3 0:294495efee3f 276 place (gratis or for a charge), and offer equivalent access to the
cbookman3 0:294495efee3f 277 Corresponding Source in the same way through the same place at no
cbookman3 0:294495efee3f 278 further charge. You need not require recipients to copy the
cbookman3 0:294495efee3f 279 Corresponding Source along with the object code. If the place to
cbookman3 0:294495efee3f 280 copy the object code is a network server, the Corresponding Source
cbookman3 0:294495efee3f 281 may be on a different server (operated by you or a third party)
cbookman3 0:294495efee3f 282 that supports equivalent copying facilities, provided you maintain
cbookman3 0:294495efee3f 283 clear directions next to the object code saying where to find the
cbookman3 0:294495efee3f 284 Corresponding Source. Regardless of what server hosts the
cbookman3 0:294495efee3f 285 Corresponding Source, you remain obligated to ensure that it is
cbookman3 0:294495efee3f 286 available for as long as needed to satisfy these requirements.
cbookman3 0:294495efee3f 287
cbookman3 0:294495efee3f 288 e) Convey the object code using peer-to-peer transmission, provided
cbookman3 0:294495efee3f 289 you inform other peers where the object code and Corresponding
cbookman3 0:294495efee3f 290 Source of the work are being offered to the general public at no
cbookman3 0:294495efee3f 291 charge under subsection 6d.
cbookman3 0:294495efee3f 292
cbookman3 0:294495efee3f 293 A separable portion of the object code, whose source code is excluded
cbookman3 0:294495efee3f 294 from the Corresponding Source as a System Library, need not be
cbookman3 0:294495efee3f 295 included in conveying the object code work.
cbookman3 0:294495efee3f 296
cbookman3 0:294495efee3f 297 A "User Product" is either (1) a "consumer product", which means any
cbookman3 0:294495efee3f 298 tangible personal property which is normally used for personal, family,
cbookman3 0:294495efee3f 299 or household purposes, or (2) anything designed or sold for incorporation
cbookman3 0:294495efee3f 300 into a dwelling. In determining whether a product is a consumer product,
cbookman3 0:294495efee3f 301 doubtful cases shall be resolved in favor of coverage. For a particular
cbookman3 0:294495efee3f 302 product received by a particular user, "normally used" refers to a
cbookman3 0:294495efee3f 303 typical or common use of that class of product, regardless of the status
cbookman3 0:294495efee3f 304 of the particular user or of the way in which the particular user
cbookman3 0:294495efee3f 305 actually uses, or expects or is expected to use, the product. A product
cbookman3 0:294495efee3f 306 is a consumer product regardless of whether the product has substantial
cbookman3 0:294495efee3f 307 commercial, industrial or non-consumer uses, unless such uses represent
cbookman3 0:294495efee3f 308 the only significant mode of use of the product.
cbookman3 0:294495efee3f 309
cbookman3 0:294495efee3f 310 "Installation Information" for a User Product means any methods,
cbookman3 0:294495efee3f 311 procedures, authorization keys, or other information required to install
cbookman3 0:294495efee3f 312 and execute modified versions of a covered work in that User Product from
cbookman3 0:294495efee3f 313 a modified version of its Corresponding Source. The information must
cbookman3 0:294495efee3f 314 suffice to ensure that the continued functioning of the modified object
cbookman3 0:294495efee3f 315 code is in no case prevented or interfered with solely because
cbookman3 0:294495efee3f 316 modification has been made.
cbookman3 0:294495efee3f 317
cbookman3 0:294495efee3f 318 If you convey an object code work under this section in, or with, or
cbookman3 0:294495efee3f 319 specifically for use in, a User Product, and the conveying occurs as
cbookman3 0:294495efee3f 320 part of a transaction in which the right of possession and use of the
cbookman3 0:294495efee3f 321 User Product is transferred to the recipient in perpetuity or for a
cbookman3 0:294495efee3f 322 fixed term (regardless of how the transaction is characterized), the
cbookman3 0:294495efee3f 323 Corresponding Source conveyed under this section must be accompanied
cbookman3 0:294495efee3f 324 by the Installation Information. But this requirement does not apply
cbookman3 0:294495efee3f 325 if neither you nor any third party retains the ability to install
cbookman3 0:294495efee3f 326 modified object code on the User Product (for example, the work has
cbookman3 0:294495efee3f 327 been installed in ROM).
cbookman3 0:294495efee3f 328
cbookman3 0:294495efee3f 329 The requirement to provide Installation Information does not include a
cbookman3 0:294495efee3f 330 requirement to continue to provide support service, warranty, or updates
cbookman3 0:294495efee3f 331 for a work that has been modified or installed by the recipient, or for
cbookman3 0:294495efee3f 332 the User Product in which it has been modified or installed. Access to a
cbookman3 0:294495efee3f 333 network may be denied when the modification itself materially and
cbookman3 0:294495efee3f 334 adversely affects the operation of the network or violates the rules and
cbookman3 0:294495efee3f 335 protocols for communication across the network.
cbookman3 0:294495efee3f 336
cbookman3 0:294495efee3f 337 Corresponding Source conveyed, and Installation Information provided,
cbookman3 0:294495efee3f 338 in accord with this section must be in a format that is publicly
cbookman3 0:294495efee3f 339 documented (and with an implementation available to the public in
cbookman3 0:294495efee3f 340 source code form), and must require no special password or key for
cbookman3 0:294495efee3f 341 unpacking, reading or copying.
cbookman3 0:294495efee3f 342
cbookman3 0:294495efee3f 343 7. Additional Terms.
cbookman3 0:294495efee3f 344
cbookman3 0:294495efee3f 345 "Additional permissions" are terms that supplement the terms of this
cbookman3 0:294495efee3f 346 License by making exceptions from one or more of its conditions.
cbookman3 0:294495efee3f 347 Additional permissions that are applicable to the entire Program shall
cbookman3 0:294495efee3f 348 be treated as though they were included in this License, to the extent
cbookman3 0:294495efee3f 349 that they are valid under applicable law. If additional permissions
cbookman3 0:294495efee3f 350 apply only to part of the Program, that part may be used separately
cbookman3 0:294495efee3f 351 under those permissions, but the entire Program remains governed by
cbookman3 0:294495efee3f 353
cbookman3 0:294495efee3f 354 When you convey a copy of a covered work, you may at your option
cbookman3 0:294495efee3f 355 remove any additional permissions from that copy, or from any part of
cbookman3 0:294495efee3f 356 it. (Additional permissions may be written to require their own
cbookman3 0:294495efee3f 357 removal in certain cases when you modify the work.) You may place
cbookman3 0:294495efee3f 358 additional permissions on material, added by you to a covered work,
cbookman3 0:294495efee3f 359 for which you have or can give appropriate copyright permission.
cbookman3 0:294495efee3f 360
cbookman3 0:294495efee3f 361 Notwithstanding any other provision of this License, for material you
cbookman3 0:294495efee3f 362 add to a covered work, you may (if authorized by the copyright holders of
cbookman3 0:294495efee3f 363 that material) supplement the terms of this License with terms:
cbookman3 0:294495efee3f 364
cbookman3 0:294495efee3f 365 a) Disclaiming warranty or limiting liability differently from the
cbookman3 0:294495efee3f 366 terms of sections 15 and 16 of this License; or
cbookman3 0:294495efee3f 367
cbookman3 0:294495efee3f 368 b) Requiring preservation of specified reasonable legal notices or
cbookman3 0:294495efee3f 369 author attributions in that material or in the Appropriate Legal
cbookman3 0:294495efee3f 370 Notices displayed by works containing it; or
cbookman3 0:294495efee3f 371
cbookman3 0:294495efee3f 372 c) Prohibiting misrepresentation of the origin of that material, or
cbookman3 0:294495efee3f 373 requiring that modified versions of such material be marked in
cbookman3 0:294495efee3f 374 reasonable ways as different from the original version; or
cbookman3 0:294495efee3f 375
cbookman3 0:294495efee3f 376 d) Limiting the use for publicity purposes of names of licensors or
cbookman3 0:294495efee3f 377 authors of the material; or
cbookman3 0:294495efee3f 378
cbookman3 0:294495efee3f 379 e) Declining to grant rights under trademark law for use of some
cbookman3 0:294495efee3f 381
cbookman3 0:294495efee3f 382 f) Requiring indemnification of licensors and authors of that
cbookman3 0:294495efee3f 383 material by anyone who conveys the material (or modified versions of
cbookman3 0:294495efee3f 384 it) with contractual assumptions of liability to the recipient, for
cbookman3 0:294495efee3f 385 any liability that these contractual assumptions directly impose on
cbookman3 0:294495efee3f 386 those licensors and authors.
cbookman3 0:294495efee3f 387
cbookman3 0:294495efee3f 388 All other non-permissive additional terms are considered "further
cbookman3 0:294495efee3f 389 restrictions" within the meaning of section 10. If the Program as you
cbookman3 0:294495efee3f 390 received it, or any part of it, contains a notice stating that it is
cbookman3 0:294495efee3f 391 governed by this License along with a term that is a further
cbookman3 0:294495efee3f 392 restriction, you may remove that term. If a license document contains
cbookman3 0:294495efee3f 393 a further restriction but permits relicensing or conveying under this
cbookman3 0:294495efee3f 394 License, you may add to a covered work material governed by the terms
cbookman3 0:294495efee3f 395 of that license document, provided that the further restriction does
cbookman3 0:294495efee3f 396 not survive such relicensing or conveying.
cbookman3 0:294495efee3f 397
cbookman3 0:294495efee3f 398 If you add terms to a covered work in accord with this section, you
cbookman3 0:294495efee3f 399 must place, in the relevant source files, a statement of the
cbookman3 0:294495efee3f 400 additional terms that apply to those files, or a notice indicating
cbookman3 0:294495efee3f 401 where to find the applicable terms.
cbookman3 0:294495efee3f 402
cbookman3 0:294495efee3f 403 Additional terms, permissive or non-permissive, may be stated in the
cbookman3 0:294495efee3f 404 form of a separately written license, or stated as exceptions;
cbookman3 0:294495efee3f 405 the above requirements apply either way.
cbookman3 0:294495efee3f 406
cbookman3 0:294495efee3f 407 8. Termination.
cbookman3 0:294495efee3f 408
cbookman3 0:294495efee3f 409 You may not propagate or modify a covered work except as expressly
cbookman3 0:294495efee3f 410 provided under this License. Any attempt otherwise to propagate or
cbookman3 0:294495efee3f 411 modify it is void, and will automatically terminate your rights under
cbookman3 0:294495efee3f 412 this License (including any patent licenses granted under the third
cbookman3 0:294495efee3f 413 paragraph of section 11).
cbookman3 0:294495efee3f 414
cbookman3 0:294495efee3f 415 However, if you cease all violation of this License, then your
cbookman3 0:294495efee3f 416 license from a particular copyright holder is reinstated (a)
cbookman3 0:294495efee3f 417 provisionally, unless and until the copyright holder explicitly and
cbookman3 0:294495efee3f 419 holder fails to notify you of the violation by some reasonable means
cbookman3 0:294495efee3f 420 prior to 60 days after the cessation.
cbookman3 0:294495efee3f 421
cbookman3 0:294495efee3f 423 reinstated permanently if the copyright holder notifies you of the
cbookman3 0:294495efee3f 424 violation by some reasonable means, this is the first time you have
cbookman3 0:294495efee3f 425 received notice of violation of this License (for any work) from that
cbookman3 0:294495efee3f 426 copyright holder, and you cure the violation prior to 30 days after
cbookman3 0:294495efee3f 427 your receipt of the notice.
cbookman3 0:294495efee3f 428
cbookman3 0:294495efee3f 429 Termination of your rights under this section does not terminate the
cbookman3 0:294495efee3f 430 licenses of parties who have received copies or rights from you under
cbookman3 0:294495efee3f 431 this License. If your rights have been terminated and not permanently
cbookman3 0:294495efee3f 432 reinstated, you do not qualify to receive new licenses for the same
cbookman3 0:294495efee3f 433 material under section 10.
cbookman3 0:294495efee3f 434
cbookman3 0:294495efee3f 435 9. Acceptance Not Required for Having Copies.
cbookman3 0:294495efee3f 436
cbookman3 0:294495efee3f 437 You are not required to accept this License in order to receive or
cbookman3 0:294495efee3f 438 run a copy of the Program. Ancillary propagation of a covered work
cbookman3 0:294495efee3f 439 occurring solely as a consequence of using peer-to-peer transmission
cbookman3 0:294495efee3f 440 to receive a copy likewise does not require acceptance. However,
cbookman3 0:294495efee3f 441 nothing other than this License grants you permission to propagate or
cbookman3 0:294495efee3f 442 modify any covered work. These actions infringe copyright if you do
cbookman3 0:294495efee3f 443 not accept this License. Therefore, by modifying or propagating a
cbookman3 0:294495efee3f 444 covered work, you indicate your acceptance of this License to do so.
cbookman3 0:294495efee3f 445
cbookman3 0:294495efee3f 446 10. Automatic Licensing of Downstream Recipients.
cbookman3 0:294495efee3f 447
cbookman3 0:294495efee3f 448 Each time you convey a covered work, the recipient automatically
cbookman3 0:294495efee3f 449 receives a license from the original licensors, to run, modify and
cbookman3 0:294495efee3f 450 propagate that work, subject to this License. You are not responsible
cbookman3 0:294495efee3f 451 for enforcing compliance by third parties with this License.
cbookman3 0:294495efee3f 452
cbookman3 0:294495efee3f 453 An "entity transaction" is a transaction transferring control of an
cbookman3 0:294495efee3f 454 organization, or substantially all assets of one, or subdividing an
cbookman3 0:294495efee3f 455 organization, or merging organizations. If propagation of a covered
cbookman3 0:294495efee3f 456 work results from an entity transaction, each party to that
cbookman3 0:294495efee3f 457 transaction who receives a copy of the work also receives whatever
cbookman3 0:294495efee3f 458 licenses to the work the party's predecessor in interest had or could
cbookman3 0:294495efee3f 459 give under the previous paragraph, plus a right to possession of the
cbookman3 0:294495efee3f 460 Corresponding Source of the work from the predecessor in interest, if
cbookman3 0:294495efee3f 461 the predecessor has it or can get it with reasonable efforts.
cbookman3 0:294495efee3f 462
cbookman3 0:294495efee3f 463 You may not impose any further restrictions on the exercise of the
cbookman3 0:294495efee3f 464 rights granted or affirmed under this License. For example, you may
cbookman3 0:294495efee3f 465 not impose a license fee, royalty, or other charge for exercise of
cbookman3 0:294495efee3f 466 rights granted under this License, and you may not initiate litigation
cbookman3 0:294495efee3f 467 (including a cross-claim or counterclaim in a lawsuit) alleging that
cbookman3 0:294495efee3f 468 any patent claim is infringed by making, using, selling, offering for
cbookman3 0:294495efee3f 469 sale, or importing the Program or any portion of it.
cbookman3 0:294495efee3f 470
cbookman3 0:294495efee3f 471 11. Patents.
cbookman3 0:294495efee3f 472
cbookman3 0:294495efee3f 473 A "contributor" is a copyright holder who authorizes use under this
cbookman3 0:294495efee3f 474 License of the Program or a work on which the Program is based. The
cbookman3 0:294495efee3f 475 work thus licensed is called the contributor's "contributor version".
cbookman3 0:294495efee3f 476
cbookman3 0:294495efee3f 477 A contributor's "essential patent claims" are all patent claims
cbookman3 0:294495efee3f 478 owned or controlled by the contributor, whether already acquired or
cbookman3 0:294495efee3f 479 hereafter acquired, that would be infringed by some manner, permitted
cbookman3 0:294495efee3f 480 by this License, of making, using, or selling its contributor version,
cbookman3 0:294495efee3f 481 but do not include claims that would be infringed only as a
cbookman3 0:294495efee3f 482 consequence of further modification of the contributor version. For
cbookman3 0:294495efee3f 483 purposes of this definition, "control" includes the right to grant
cbookman3 0:294495efee3f 484 patent sublicenses in a manner consistent with the requirements of
cbookman3 0:294495efee3f 486
cbookman3 0:294495efee3f 487 Each contributor grants you a non-exclusive, worldwide, royalty-free
cbookman3 0:294495efee3f 488 patent license under the contributor's essential patent claims, to
cbookman3 0:294495efee3f 489 make, use, sell, offer for sale, import and otherwise run, modify and
cbookman3 0:294495efee3f 490 propagate the contents of its contributor version.
cbookman3 0:294495efee3f 491
cbookman3 0:294495efee3f 492 In the following three paragraphs, a "patent license" is any express
cbookman3 0:294495efee3f 493 agreement or commitment, however denominated, not to enforce a patent
cbookman3 0:294495efee3f 494 (such as an express permission to practice a patent or covenant not to
cbookman3 0:294495efee3f 495 sue for patent infringement). To "grant" such a patent license to a
cbookman3 0:294495efee3f 496 party means to make such an agreement or commitment not to enforce a
cbookman3 0:294495efee3f 497 patent against the party.
cbookman3 0:294495efee3f 498
cbookman3 0:294495efee3f 499 If you convey a covered work, knowingly relying on a patent license,
cbookman3 0:294495efee3f 500 and the Corresponding Source of the work is not available for anyone
cbookman3 0:294495efee3f 501 to copy, free of charge and under the terms of this License, through a
cbookman3 0:294495efee3f 502 publicly available network server or other readily accessible means,
cbookman3 0:294495efee3f 503 then you must either (1) cause the Corresponding Source to be so
cbookman3 0:294495efee3f 504 available, or (2) arrange to deprive yourself of the benefit of the
cbookman3 0:294495efee3f 505 patent license for this particular work, or (3) arrange, in a manner
cbookman3 0:294495efee3f 506 consistent with the requirements of this License, to extend the patent
cbookman3 0:294495efee3f 507 license to downstream recipients. "Knowingly relying" means you have
cbookman3 0:294495efee3f 508 actual knowledge that, but for the patent license, your conveying the
cbookman3 0:294495efee3f 509 covered work in a country, or your recipient's use of the covered work
cbookman3 0:294495efee3f 510 in a country, would infringe one or more identifiable patents in that
cbookman3 0:294495efee3f 511 country that you have reason to believe are valid.
cbookman3 0:294495efee3f 512
cbookman3 0:294495efee3f 513 If, pursuant to or in connection with a single transaction or
cbookman3 0:294495efee3f 514 arrangement, you convey, or propagate by procuring conveyance of, a
cbookman3 0:294495efee3f 515 covered work, and grant a patent license to some of the parties
cbookman3 0:294495efee3f 516 receiving the covered work authorizing them to use, propagate, modify
cbookman3 0:294495efee3f 517 or convey a specific copy of the covered work, then the patent license
cbookman3 0:294495efee3f 518 you grant is automatically extended to all recipients of the covered
cbookman3 0:294495efee3f 519 work and works based on it.
cbookman3 0:294495efee3f 520
cbookman3 0:294495efee3f 521 A patent license is "discriminatory" if it does not include within
cbookman3 0:294495efee3f 522 the scope of its coverage, prohibits the exercise of, or is
cbookman3 0:294495efee3f 523 conditioned on the non-exercise of one or more of the rights that are
cbookman3 0:294495efee3f 524 specifically granted under this License. You may not convey a covered
cbookman3 0:294495efee3f 525 work if you are a party to an arrangement with a third party that is
cbookman3 0:294495efee3f 526 in the business of distributing software, under which you make payment
cbookman3 0:294495efee3f 527 to the third party based on the extent of your activity of conveying
cbookman3 0:294495efee3f 528 the work, and under which the third party grants, to any of the
cbookman3 0:294495efee3f 529 parties who would receive the covered work from you, a discriminatory
cbookman3 0:294495efee3f 530 patent license (a) in connection with copies of the covered work
cbookman3 0:294495efee3f 531 conveyed by you (or copies made from those copies), or (b) primarily
cbookman3 0:294495efee3f 532 for and in connection with specific products or compilations that
cbookman3 0:294495efee3f 533 contain the covered work, unless you entered into that arrangement,
cbookman3 0:294495efee3f 534 or that patent license was granted, prior to 28 March 2007.
cbookman3 0:294495efee3f 535
cbookman3 0:294495efee3f 536 Nothing in this License shall be construed as excluding or limiting
cbookman3 0:294495efee3f 537 any implied license or other defenses to infringement that may
cbookman3 0:294495efee3f 538 otherwise be available to you under applicable patent law.
cbookman3 0:294495efee3f 539
cbookman3 0:294495efee3f 540 12. No Surrender of Others' Freedom.
cbookman3 0:294495efee3f 541
cbookman3 0:294495efee3f 542 If conditions are imposed on you (whether by court order, agreement or
cbookman3 0:294495efee3f 543 otherwise) that contradict the conditions of this License, they do not
cbookman3 0:294495efee3f 544 excuse you from the conditions of this License. If you cannot convey a
cbookman3 0:294495efee3f 545 covered work so as to satisfy simultaneously your obligations under this
cbookman3 0:294495efee3f 546 License and any other pertinent obligations, then as a consequence you may
cbookman3 0:294495efee3f 547 not convey it at all. For example, if you agree to terms that obligate you
cbookman3 0:294495efee3f 548 to collect a royalty for further conveying from those to whom you convey
cbookman3 0:294495efee3f 549 the Program, the only way you could satisfy both those terms and this
cbookman3 0:294495efee3f 550 License would be to refrain entirely from conveying the Program.
cbookman3 0:294495efee3f 551
cbookman3 0:294495efee3f 552 13. Use with the GNU Affero General Public License.
cbookman3 0:294495efee3f 553
cbookman3 0:294495efee3f 554 Notwithstanding any other provision of this License, you have
cbookman3 0:294495efee3f 555 permission to link or combine any covered work with a work licensed
cbookman3 0:294495efee3f 556 under version 3 of the GNU Affero General Public License into a single
cbookman3 0:294495efee3f 557 combined work, and to convey the resulting work. The terms of this
cbookman3 0:294495efee3f 558 License will continue to apply to the part which is the covered work,
cbookman3 0:294495efee3f 559 but the special requirements of the GNU Affero General Public License,
cbookman3 0:294495efee3f 560 section 13, concerning interaction through a network will apply to the
cbookman3 0:294495efee3f 561 combination as such.
cbookman3 0:294495efee3f 562
cbookman3 0:294495efee3f 563 14. Revised Versions of this License.
cbookman3 0:294495efee3f 564
cbookman3 0:294495efee3f 565 The Free Software Foundation may publish revised and/or new versions of
cbookman3 0:294495efee3f 566 the GNU General Public License from time to time. Such new versions will
cbookman3 0:294495efee3f 567 be similar in spirit to the present version, but may differ in detail to
cbookman3 0:294495efee3f 568 address new problems or concerns.
cbookman3 0:294495efee3f 569
cbookman3 0:294495efee3f 570 Each version is given a distinguishing version number. If the
cbookman3 0:294495efee3f 571 Program specifies that a certain numbered version of the GNU General
cbookman3 0:294495efee3f 572 Public License "or any later version" applies to it, you have the
cbookman3 0:294495efee3f 573 option of following the terms and conditions either of that numbered
cbookman3 0:294495efee3f 574 version or of any later version published by the Free Software
cbookman3 0:294495efee3f 575 Foundation. If the Program does not specify a version number of the
cbookman3 0:294495efee3f 576 GNU General Public License, you may choose any version ever published
cbookman3 0:294495efee3f 577 by the Free Software Foundation.
cbookman3 0:294495efee3f 578
cbookman3 0:294495efee3f 579 If the Program specifies that a proxy can decide which future
cbookman3 0:294495efee3f 580 versions of the GNU General Public License can be used, that proxy's
cbookman3 0:294495efee3f 581 public statement of acceptance of a version permanently authorizes you
cbookman3 0:294495efee3f 582 to choose that version for the Program.
cbookman3 0:294495efee3f 583
cbookman3 0:294495efee3f 584 Later license versions may give you additional or different
cbookman3 0:294495efee3f 585 permissions. However, no additional obligations are imposed on any
cbookman3 0:294495efee3f 587 later version.
cbookman3 0:294495efee3f 588
cbookman3 0:294495efee3f 589 15. Disclaimer of Warranty.
cbookman3 0:294495efee3f 590
cbookman3 0:294495efee3f 591 THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
cbookman3 0:294495efee3f 592 APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
cbookman3 0:294495efee3f 593 HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
cbookman3 0:294495efee3f 594 OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
cbookman3 0:294495efee3f 595 THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
cbookman3 0:294495efee3f 596 PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
cbookman3 0:294495efee3f 597 IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
cbookman3 0:294495efee3f 598 ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
cbookman3 0:294495efee3f 599
cbookman3 0:294495efee3f 600 16. Limitation of Liability.
cbookman3 0:294495efee3f 601
cbookman3 0:294495efee3f 602 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
cbookman3 0:294495efee3f 603 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
cbookman3 0:294495efee3f 604 THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
cbookman3 0:294495efee3f 605 GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
cbookman3 0:294495efee3f 606 USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
cbookman3 0:294495efee3f 607 DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
cbookman3 0:294495efee3f 608 PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
cbookman3 0:294495efee3f 609 EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
cbookman3 0:294495efee3f 610 SUCH DAMAGES.
cbookman3 0:294495efee3f 611
cbookman3 0:294495efee3f 612 17. Interpretation of Sections 15 and 16.
cbookman3 0:294495efee3f 613
cbookman3 0:294495efee3f 614 If the disclaimer of warranty and limitation of liability provided
cbookman3 0:294495efee3f 615 above cannot be given local legal effect according to their terms,
cbookman3 0:294495efee3f 616 reviewing courts shall apply local law that most closely approximates
cbookman3 0:294495efee3f 617 an absolute waiver of all civil liability in connection with the
cbookman3 0:294495efee3f 618 Program, unless a warranty or assumption of liability accompanies a
cbookman3 0:294495efee3f 619 copy of the Program in return for a fee.
cbookman3 0:294495efee3f 620
cbookman3 0:294495efee3f 621 END OF TERMS AND CONDITIONS
cbookman3 0:294495efee3f 622
cbookman3 0:294495efee3f 623 How to Apply These Terms to Your New Programs
cbookman3 0:294495efee3f 624
cbookman3 0:294495efee3f 625 If you develop a new program, and you want it to be of the greatest
cbookman3 0:294495efee3f 626 possible use to the public, the best way to achieve this is to make it
cbookman3 0:294495efee3f 627 free software which everyone can redistribute and change under these terms.
cbookman3 0:294495efee3f 628
cbookman3 0:294495efee3f 629 To do so, attach the following notices to the program. It is safest
cbookman3 0:294495efee3f 630 to attach them to the start of each source file to most effectively
cbookman3 0:294495efee3f 631 state the exclusion of warranty; and each file should have at least
cbookman3 0:294495efee3f 632 the "copyright" line and a pointer to where the full notice is found.
cbookman3 0:294495efee3f 633
cbookman3 0:294495efee3f 634 <one line to give the program's name and a brief idea of what it does.>
cbookman3 0:294495efee3f 635 Copyright (C) <year> <name of author>
cbookman3 0:294495efee3f 636
cbookman3 0:294495efee3f 637 This program is free software: you can redistribute it and/or modify
cbookman3 0:294495efee3f 639 the Free Software Foundation, either version 3 of the License, or
cbookman3 0:294495efee3f 640 (at your option) any later version.
cbookman3 0:294495efee3f 641
cbookman3 0:294495efee3f 642 This program is distributed in the hope that it will be useful,
cbookman3 0:294495efee3f 643 but WITHOUT ANY WARRANTY; without even the implied warranty of
cbookman3 0:294495efee3f 644 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
cbookman3 0:294495efee3f 645 GNU General Public License for more details.
cbookman3 0:294495efee3f 646
cbookman3 0:294495efee3f 647 You should have received a copy of the GNU General Public License
cbookman3 0:294495efee3f 648 along with this program. If not, see <http://www.gnu.org/licenses/>.
cbookman3 0:294495efee3f 649
cbookman3 0:294495efee3f 650 Also add information on how to contact you by electronic and paper mail.
cbookman3 0:294495efee3f 651
cbookman3 0:294495efee3f 652 If the program does terminal interaction, make it output a short
cbookman3 0:294495efee3f 653 notice like this when it starts in an interactive mode:
cbookman3 0:294495efee3f 654
cbookman3 0:294495efee3f 655 <program> Copyright (C) <year> <name of author>
cbookman3 0:294495efee3f 656 This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
cbookman3 0:294495efee3f 657 This is free software, and you are welcome to redistribute it
cbookman3 0:294495efee3f 658 under certain conditions; type `show c' for details.
cbookman3 0:294495efee3f 659
cbookman3 0:294495efee3f 660 The hypothetical commands `show w' and `show c' should show the appropriate
cbookman3 0:294495efee3f 661 parts of the General Public License. Of course, your program's commands
cbookman3 0:294495efee3f 662 might be different; for a GUI interface, you would use an "about box".
cbookman3 0:294495efee3f 663
cbookman3 0:294495efee3f 664 You should also get your employer (if you work as a programmer) or school,
cbookman3 0:294495efee3f 665 if any, to sign a "copyright disclaimer" for the program, if necessary.
cbookman3 0:294495efee3f 666 For more information on this, and how to apply and follow the GNU GPL, see