![](/media/cache/profiles/debfdc81854eac26ec993b55a659c6e1.jpg.50x50_q85.jpg)
mbed client lightswitch demo
Dependencies: mbed Socket lwip-eth lwip-sys lwip
Fork of mbed-client-classic-example-lwip by
mbed-client/LICENSE@11:cada08fc8a70, 2016-06-09 (annotated)
- Committer:
- mbedAustin
- Date:
- Thu Jun 09 17:08:36 2016 +0000
- Revision:
- 11:cada08fc8a70
Commit for public Consumption
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mbedAustin | 11:cada08fc8a70 | 1 | Apache License |
mbedAustin | 11:cada08fc8a70 | 2 | Version 2.0, January 2004 |
mbedAustin | 11:cada08fc8a70 | 3 | http://www.apache.org/licenses/ |
mbedAustin | 11:cada08fc8a70 | 4 | |
mbedAustin | 11:cada08fc8a70 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION |
mbedAustin | 11:cada08fc8a70 | 6 | |
mbedAustin | 11:cada08fc8a70 | 7 | 1. Definitions. |
mbedAustin | 11:cada08fc8a70 | 8 | |
mbedAustin | 11:cada08fc8a70 | 9 | "License" shall mean the terms and conditions for use, reproduction, |
mbedAustin | 11:cada08fc8a70 | 10 | and distribution as defined by Sections 1 through 9 of this document. |
mbedAustin | 11:cada08fc8a70 | 11 | |
mbedAustin | 11:cada08fc8a70 | 12 | "Licensor" shall mean the copyright owner or entity authorized by |
mbedAustin | 11:cada08fc8a70 | 13 | the copyright owner that is granting the License. |
mbedAustin | 11:cada08fc8a70 | 14 | |
mbedAustin | 11:cada08fc8a70 | 15 | "Legal Entity" shall mean the union of the acting entity and all |
mbedAustin | 11:cada08fc8a70 | 16 | other entities that control, are controlled by, or are under common |
mbedAustin | 11:cada08fc8a70 | 17 | control with that entity. For the purposes of this definition, |
mbedAustin | 11:cada08fc8a70 | 18 | "control" means (i) the power, direct or indirect, to cause the |
mbedAustin | 11:cada08fc8a70 | 19 | direction or management of such entity, whether by contract or |
mbedAustin | 11:cada08fc8a70 | 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the |
mbedAustin | 11:cada08fc8a70 | 21 | outstanding shares, or (iii) beneficial ownership of such entity. |
mbedAustin | 11:cada08fc8a70 | 22 | |
mbedAustin | 11:cada08fc8a70 | 23 | "You" (or "Your") shall mean an individual or Legal Entity |
mbedAustin | 11:cada08fc8a70 | 24 | exercising permissions granted by this License. |
mbedAustin | 11:cada08fc8a70 | 25 | |
mbedAustin | 11:cada08fc8a70 | 26 | "Source" form shall mean the preferred form for making modifications, |
mbedAustin | 11:cada08fc8a70 | 27 | including but not limited to software source code, documentation |
mbedAustin | 11:cada08fc8a70 | 28 | source, and configuration files. |
mbedAustin | 11:cada08fc8a70 | 29 | |
mbedAustin | 11:cada08fc8a70 | 30 | "Object" form shall mean any form resulting from mechanical |
mbedAustin | 11:cada08fc8a70 | 31 | transformation or translation of a Source form, including but |
mbedAustin | 11:cada08fc8a70 | 32 | not limited to compiled object code, generated documentation, |
mbedAustin | 11:cada08fc8a70 | 33 | and conversions to other media types. |
mbedAustin | 11:cada08fc8a70 | 34 | |
mbedAustin | 11:cada08fc8a70 | 35 | "Work" shall mean the work of authorship, whether in Source or |
mbedAustin | 11:cada08fc8a70 | 36 | Object form, made available under the License, as indicated by a |
mbedAustin | 11:cada08fc8a70 | 37 | copyright notice that is included in or attached to the work |
mbedAustin | 11:cada08fc8a70 | 38 | (an example is provided in the Appendix below). |
mbedAustin | 11:cada08fc8a70 | 39 | |
mbedAustin | 11:cada08fc8a70 | 40 | "Derivative Works" shall mean any work, whether in Source or Object |
mbedAustin | 11:cada08fc8a70 | 41 | form, that is based on (or derived from) the Work and for which the |
mbedAustin | 11:cada08fc8a70 | 42 | editorial revisions, annotations, elaborations, or other modifications |
mbedAustin | 11:cada08fc8a70 | 43 | represent, as a whole, an original work of authorship. For the purposes |
mbedAustin | 11:cada08fc8a70 | 44 | of this License, Derivative Works shall not include works that remain |
mbedAustin | 11:cada08fc8a70 | 45 | separable from, or merely link (or bind by name) to the interfaces of, |
mbedAustin | 11:cada08fc8a70 | 46 | the Work and Derivative Works thereof. |
mbedAustin | 11:cada08fc8a70 | 47 | |
mbedAustin | 11:cada08fc8a70 | 48 | "Contribution" shall mean any work of authorship, including |
mbedAustin | 11:cada08fc8a70 | 49 | the original version of the Work and any modifications or additions |
mbedAustin | 11:cada08fc8a70 | 50 | to that Work or Derivative Works thereof, that is intentionally |
mbedAustin | 11:cada08fc8a70 | 51 | submitted to Licensor for inclusion in the Work by the copyright owner |
mbedAustin | 11:cada08fc8a70 | 52 | or by an individual or Legal Entity authorized to submit on behalf of |
mbedAustin | 11:cada08fc8a70 | 53 | the copyright owner. For the purposes of this definition, "submitted" |
mbedAustin | 11:cada08fc8a70 | 54 | means any form of electronic, verbal, or written communication sent |
mbedAustin | 11:cada08fc8a70 | 55 | to the Licensor or its representatives, including but not limited to |
mbedAustin | 11:cada08fc8a70 | 56 | communication on electronic mailing lists, source code control systems, |
mbedAustin | 11:cada08fc8a70 | 57 | and issue tracking systems that are managed by, or on behalf of, the |
mbedAustin | 11:cada08fc8a70 | 58 | Licensor for the purpose of discussing and improving the Work, but |
mbedAustin | 11:cada08fc8a70 | 59 | excluding communication that is conspicuously marked or otherwise |
mbedAustin | 11:cada08fc8a70 | 60 | designated in writing by the copyright owner as "Not a Contribution." |
mbedAustin | 11:cada08fc8a70 | 61 | |
mbedAustin | 11:cada08fc8a70 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity |
mbedAustin | 11:cada08fc8a70 | 63 | on behalf of whom a Contribution has been received by Licensor and |
mbedAustin | 11:cada08fc8a70 | 64 | subsequently incorporated within the Work. |
mbedAustin | 11:cada08fc8a70 | 65 | |
mbedAustin | 11:cada08fc8a70 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of |
mbedAustin | 11:cada08fc8a70 | 67 | this License, each Contributor hereby grants to You a perpetual, |
mbedAustin | 11:cada08fc8a70 | 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable |
mbedAustin | 11:cada08fc8a70 | 69 | copyright license to reproduce, prepare Derivative Works of, |
mbedAustin | 11:cada08fc8a70 | 70 | publicly display, publicly perform, sublicense, and distribute the |
mbedAustin | 11:cada08fc8a70 | 71 | Work and such Derivative Works in Source or Object form. |
mbedAustin | 11:cada08fc8a70 | 72 | |
mbedAustin | 11:cada08fc8a70 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of |
mbedAustin | 11:cada08fc8a70 | 74 | this License, each Contributor hereby grants to You a perpetual, |
mbedAustin | 11:cada08fc8a70 | 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable |
mbedAustin | 11:cada08fc8a70 | 76 | (except as stated in this section) patent license to make, have made, |
mbedAustin | 11:cada08fc8a70 | 77 | use, offer to sell, sell, import, and otherwise transfer the Work, |
mbedAustin | 11:cada08fc8a70 | 78 | where such license applies only to those patent claims licensable |
mbedAustin | 11:cada08fc8a70 | 79 | by such Contributor that are necessarily infringed by their |
mbedAustin | 11:cada08fc8a70 | 80 | Contribution(s) alone or by combination of their Contribution(s) |
mbedAustin | 11:cada08fc8a70 | 81 | with the Work to which such Contribution(s) was submitted. If You |
mbedAustin | 11:cada08fc8a70 | 82 | institute patent litigation against any entity (including a |
mbedAustin | 11:cada08fc8a70 | 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work |
mbedAustin | 11:cada08fc8a70 | 84 | or a Contribution incorporated within the Work constitutes direct |
mbedAustin | 11:cada08fc8a70 | 85 | or contributory patent infringement, then any patent licenses |
mbedAustin | 11:cada08fc8a70 | 86 | granted to You under this License for that Work shall terminate |
mbedAustin | 11:cada08fc8a70 | 87 | as of the date such litigation is filed. |
mbedAustin | 11:cada08fc8a70 | 88 | |
mbedAustin | 11:cada08fc8a70 | 89 | 4. Redistribution. You may reproduce and distribute copies of the |
mbedAustin | 11:cada08fc8a70 | 90 | Work or Derivative Works thereof in any medium, with or without |
mbedAustin | 11:cada08fc8a70 | 91 | modifications, and in Source or Object form, provided that You |
mbedAustin | 11:cada08fc8a70 | 92 | meet the following conditions: |
mbedAustin | 11:cada08fc8a70 | 93 | |
mbedAustin | 11:cada08fc8a70 | 94 | (a) You must give any other recipients of the Work or |
mbedAustin | 11:cada08fc8a70 | 95 | Derivative Works a copy of this License; and |
mbedAustin | 11:cada08fc8a70 | 96 | |
mbedAustin | 11:cada08fc8a70 | 97 | (b) You must cause any modified files to carry prominent notices |
mbedAustin | 11:cada08fc8a70 | 98 | stating that You changed the files; and |
mbedAustin | 11:cada08fc8a70 | 99 | |
mbedAustin | 11:cada08fc8a70 | 100 | (c) You must retain, in the Source form of any Derivative Works |
mbedAustin | 11:cada08fc8a70 | 101 | that You distribute, all copyright, patent, trademark, and |
mbedAustin | 11:cada08fc8a70 | 102 | attribution notices from the Source form of the Work, |
mbedAustin | 11:cada08fc8a70 | 103 | excluding those notices that do not pertain to any part of |
mbedAustin | 11:cada08fc8a70 | 104 | the Derivative Works; and |
mbedAustin | 11:cada08fc8a70 | 105 | |
mbedAustin | 11:cada08fc8a70 | 106 | (d) If the Work includes a "NOTICE" text file as part of its |
mbedAustin | 11:cada08fc8a70 | 107 | distribution, then any Derivative Works that You distribute must |
mbedAustin | 11:cada08fc8a70 | 108 | include a readable copy of the attribution notices contained |
mbedAustin | 11:cada08fc8a70 | 109 | within such NOTICE file, excluding those notices that do not |
mbedAustin | 11:cada08fc8a70 | 110 | pertain to any part of the Derivative Works, in at least one |
mbedAustin | 11:cada08fc8a70 | 111 | of the following places: within a NOTICE text file distributed |
mbedAustin | 11:cada08fc8a70 | 112 | as part of the Derivative Works; within the Source form or |
mbedAustin | 11:cada08fc8a70 | 113 | documentation, if provided along with the Derivative Works; or, |
mbedAustin | 11:cada08fc8a70 | 114 | within a display generated by the Derivative Works, if and |
mbedAustin | 11:cada08fc8a70 | 115 | wherever such third-party notices normally appear. The contents |
mbedAustin | 11:cada08fc8a70 | 116 | of the NOTICE file are for informational purposes only and |
mbedAustin | 11:cada08fc8a70 | 117 | do not modify the License. You may add Your own attribution |
mbedAustin | 11:cada08fc8a70 | 118 | notices within Derivative Works that You distribute, alongside |
mbedAustin | 11:cada08fc8a70 | 119 | or as an addendum to the NOTICE text from the Work, provided |
mbedAustin | 11:cada08fc8a70 | 120 | that such additional attribution notices cannot be construed |
mbedAustin | 11:cada08fc8a70 | 121 | as modifying the License. |
mbedAustin | 11:cada08fc8a70 | 122 | |
mbedAustin | 11:cada08fc8a70 | 123 | You may add Your own copyright statement to Your modifications and |
mbedAustin | 11:cada08fc8a70 | 124 | may provide additional or different license terms and conditions |
mbedAustin | 11:cada08fc8a70 | 125 | for use, reproduction, or distribution of Your modifications, or |
mbedAustin | 11:cada08fc8a70 | 126 | for any such Derivative Works as a whole, provided Your use, |
mbedAustin | 11:cada08fc8a70 | 127 | reproduction, and distribution of the Work otherwise complies with |
mbedAustin | 11:cada08fc8a70 | 128 | the conditions stated in this License. |
mbedAustin | 11:cada08fc8a70 | 129 | |
mbedAustin | 11:cada08fc8a70 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, |
mbedAustin | 11:cada08fc8a70 | 131 | any Contribution intentionally submitted for inclusion in the Work |
mbedAustin | 11:cada08fc8a70 | 132 | by You to the Licensor shall be under the terms and conditions of |
mbedAustin | 11:cada08fc8a70 | 133 | this License, without any additional terms or conditions. |
mbedAustin | 11:cada08fc8a70 | 134 | Notwithstanding the above, nothing herein shall supersede or modify |
mbedAustin | 11:cada08fc8a70 | 135 | the terms of any separate license agreement you may have executed |
mbedAustin | 11:cada08fc8a70 | 136 | with Licensor regarding such Contributions. |
mbedAustin | 11:cada08fc8a70 | 137 | |
mbedAustin | 11:cada08fc8a70 | 138 | 6. Trademarks. This License does not grant permission to use the trade |
mbedAustin | 11:cada08fc8a70 | 139 | names, trademarks, service marks, or product names of the Licensor, |
mbedAustin | 11:cada08fc8a70 | 140 | except as required for reasonable and customary use in describing the |
mbedAustin | 11:cada08fc8a70 | 141 | origin of the Work and reproducing the content of the NOTICE file. |
mbedAustin | 11:cada08fc8a70 | 142 | |
mbedAustin | 11:cada08fc8a70 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or |
mbedAustin | 11:cada08fc8a70 | 144 | agreed to in writing, Licensor provides the Work (and each |
mbedAustin | 11:cada08fc8a70 | 145 | Contributor provides its Contributions) on an "AS IS" BASIS, |
mbedAustin | 11:cada08fc8a70 | 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or |
mbedAustin | 11:cada08fc8a70 | 147 | implied, including, without limitation, any warranties or conditions |
mbedAustin | 11:cada08fc8a70 | 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A |
mbedAustin | 11:cada08fc8a70 | 149 | PARTICULAR PURPOSE. You are solely responsible for determining the |
mbedAustin | 11:cada08fc8a70 | 150 | appropriateness of using or redistributing the Work and assume any |
mbedAustin | 11:cada08fc8a70 | 151 | risks associated with Your exercise of permissions under this License. |
mbedAustin | 11:cada08fc8a70 | 152 | |
mbedAustin | 11:cada08fc8a70 | 153 | 8. Limitation of Liability. In no event and under no legal theory, |
mbedAustin | 11:cada08fc8a70 | 154 | whether in tort (including negligence), contract, or otherwise, |
mbedAustin | 11:cada08fc8a70 | 155 | unless required by applicable law (such as deliberate and grossly |
mbedAustin | 11:cada08fc8a70 | 156 | negligent acts) or agreed to in writing, shall any Contributor be |
mbedAustin | 11:cada08fc8a70 | 157 | liable to You for damages, including any direct, indirect, special, |
mbedAustin | 11:cada08fc8a70 | 158 | incidental, or consequential damages of any character arising as a |
mbedAustin | 11:cada08fc8a70 | 159 | result of this License or out of the use or inability to use the |
mbedAustin | 11:cada08fc8a70 | 160 | Work (including but not limited to damages for loss of goodwill, |
mbedAustin | 11:cada08fc8a70 | 161 | work stoppage, computer failure or malfunction, or any and all |
mbedAustin | 11:cada08fc8a70 | 162 | other commercial damages or losses), even if such Contributor |
mbedAustin | 11:cada08fc8a70 | 163 | has been advised of the possibility of such damages. |
mbedAustin | 11:cada08fc8a70 | 164 | |
mbedAustin | 11:cada08fc8a70 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing |
mbedAustin | 11:cada08fc8a70 | 166 | the Work or Derivative Works thereof, You may choose to offer, |
mbedAustin | 11:cada08fc8a70 | 167 | and charge a fee for, acceptance of support, warranty, indemnity, |
mbedAustin | 11:cada08fc8a70 | 168 | or other liability obligations and/or rights consistent with this |
mbedAustin | 11:cada08fc8a70 | 169 | License. However, in accepting such obligations, You may act only |
mbedAustin | 11:cada08fc8a70 | 170 | on Your own behalf and on Your sole responsibility, not on behalf |
mbedAustin | 11:cada08fc8a70 | 171 | of any other Contributor, and only if You agree to indemnify, |
mbedAustin | 11:cada08fc8a70 | 172 | defend, and hold each Contributor harmless for any liability |
mbedAustin | 11:cada08fc8a70 | 173 | incurred by, or claims asserted against, such Contributor by reason |
mbedAustin | 11:cada08fc8a70 | 174 | of your accepting any such warranty or additional liability. |
mbedAustin | 11:cada08fc8a70 | 175 | |
mbedAustin | 11:cada08fc8a70 | 176 | END OF TERMS AND CONDITIONS |
mbedAustin | 11:cada08fc8a70 | 177 | |
mbedAustin | 11:cada08fc8a70 | 178 | APPENDIX: How to apply the Apache License to your work. |
mbedAustin | 11:cada08fc8a70 | 179 | |
mbedAustin | 11:cada08fc8a70 | 180 | To apply the Apache License to your work, attach the following |
mbedAustin | 11:cada08fc8a70 | 181 | boilerplate notice, with the fields enclosed by brackets "{}" |
mbedAustin | 11:cada08fc8a70 | 182 | replaced with your own identifying information. (Don't include |
mbedAustin | 11:cada08fc8a70 | 183 | the brackets!) The text should be enclosed in the appropriate |
mbedAustin | 11:cada08fc8a70 | 184 | comment syntax for the file format. We also recommend that a |
mbedAustin | 11:cada08fc8a70 | 185 | file or class name and description of purpose be included on the |
mbedAustin | 11:cada08fc8a70 | 186 | same "printed page" as the copyright notice for easier |
mbedAustin | 11:cada08fc8a70 | 187 | identification within third-party archives. |
mbedAustin | 11:cada08fc8a70 | 188 | |
mbedAustin | 11:cada08fc8a70 | 189 | Copyright {yyyy} {name of copyright owner} |
mbedAustin | 11:cada08fc8a70 | 190 | |
mbedAustin | 11:cada08fc8a70 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); |
mbedAustin | 11:cada08fc8a70 | 192 | you may not use this file except in compliance with the License. |
mbedAustin | 11:cada08fc8a70 | 193 | You may obtain a copy of the License at |
mbedAustin | 11:cada08fc8a70 | 194 | |
mbedAustin | 11:cada08fc8a70 | 195 | http://www.apache.org/licenses/LICENSE-2.0 |
mbedAustin | 11:cada08fc8a70 | 196 | |
mbedAustin | 11:cada08fc8a70 | 197 | Unless required by applicable law or agreed to in writing, software |
mbedAustin | 11:cada08fc8a70 | 198 | distributed under the License is distributed on an "AS IS" BASIS, |
mbedAustin | 11:cada08fc8a70 | 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
mbedAustin | 11:cada08fc8a70 | 200 | See the License for the specific language governing permissions and |
mbedAustin | 11:cada08fc8a70 | 201 | limitations under the License. |
mbedAustin | 11:cada08fc8a70 | 202 |