Datavenue Live Objects basic sample using liveobjects-iotsoftbox-mqtt library.

Dependencies:   MQTTPacket

Committer:
jhamel
Date:
Tue Apr 04 16:17:23 2017 +0200
Revision:
8:82317399e4ce
Parent:
0:92f8cff1cf35
Use CA from Symantec/VeriSign, and fix TLS issue

Who changed what in which revision?

UserRevisionLine numberNew contents of line
jhamel 0:92f8cff1cf35 1 BSD 3-Clause License
jhamel 0:92f8cff1cf35 2
jhamel 0:92f8cff1cf35 3 Copyright (c) 2016, Orange
jhamel 0:92f8cff1cf35 4
jhamel 0:92f8cff1cf35 5 All rights reserved.
jhamel 0:92f8cff1cf35 6
jhamel 0:92f8cff1cf35 7 Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
jhamel 0:92f8cff1cf35 8
jhamel 0:92f8cff1cf35 9 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
jhamel 0:92f8cff1cf35 10
jhamel 0:92f8cff1cf35 11 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
jhamel 0:92f8cff1cf35 12
jhamel 0:92f8cff1cf35 13 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
jhamel 0:92f8cff1cf35 14
jhamel 0:92f8cff1cf35 15 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
jhamel 0:92f8cff1cf35 16
jhamel 0:92f8cff1cf35 17
jhamel 0:92f8cff1cf35 18
jhamel 0:92f8cff1cf35 19 =========================================================================================
jhamel 0:92f8cff1cf35 20
jhamel 0:92f8cff1cf35 21 Aditionnaly one file in mbedtls_configs (one mbedtls configuration)
jhamel 0:92f8cff1cf35 22 - liveobjects_mbedtls_custom_config.h
jhamel 0:92f8cff1cf35 23 has been modified and are licensed under the terms apache license:
jhamel 0:92f8cff1cf35 24
jhamel 0:92f8cff1cf35 25 Apache License
jhamel 0:92f8cff1cf35 26 Version 2.0, January 2004
jhamel 0:92f8cff1cf35 27 http://www.apache.org/licenses/
jhamel 0:92f8cff1cf35 28
jhamel 0:92f8cff1cf35 29 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
jhamel 0:92f8cff1cf35 30
jhamel 0:92f8cff1cf35 31 1. Definitions.
jhamel 0:92f8cff1cf35 32
jhamel 0:92f8cff1cf35 33 "License" shall mean the terms and conditions for use, reproduction, and
jhamel 0:92f8cff1cf35 34 distribution as defined by Sections 1 through 9 of this document.
jhamel 0:92f8cff1cf35 35
jhamel 0:92f8cff1cf35 36 "Licensor" shall mean the copyright owner or entity authorized by the copyright
jhamel 0:92f8cff1cf35 37 owner that is granting the License.
jhamel 0:92f8cff1cf35 38
jhamel 0:92f8cff1cf35 39 "Legal Entity" shall mean the union of the acting entity and all other entities
jhamel 0:92f8cff1cf35 40 that control, are controlled by, or are under common control with that entity.
jhamel 0:92f8cff1cf35 41 For the purposes of this definition, "control" means (i) the power, direct or
jhamel 0:92f8cff1cf35 42 indirect, to cause the direction or management of such entity, whether by
jhamel 0:92f8cff1cf35 43 contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the
jhamel 0:92f8cff1cf35 44 outstanding shares, or (iii) beneficial ownership of such entity.
jhamel 0:92f8cff1cf35 45
jhamel 0:92f8cff1cf35 46 "You" (or "Your") shall mean an individual or Legal Entity exercising
jhamel 0:92f8cff1cf35 47 permissions granted by this License.
jhamel 0:92f8cff1cf35 48
jhamel 0:92f8cff1cf35 49 "Source" form shall mean the preferred form for making modifications, including
jhamel 0:92f8cff1cf35 50 but not limited to software source code, documentation source, and configuration
jhamel 0:92f8cff1cf35 51 files.
jhamel 0:92f8cff1cf35 52
jhamel 0:92f8cff1cf35 53 "Object" form shall mean any form resulting from mechanical transformation or
jhamel 0:92f8cff1cf35 54 translation of a Source form, including but not limited to compiled object code,
jhamel 0:92f8cff1cf35 55 generated documentation, and conversions to other media types.
jhamel 0:92f8cff1cf35 56
jhamel 0:92f8cff1cf35 57 "Work" shall mean the work of authorship, whether in Source or Object form, made
jhamel 0:92f8cff1cf35 58 available under the License, as indicated by a copyright notice that is included
jhamel 0:92f8cff1cf35 59 in or attached to the work (an example is provided in the Appendix below).
jhamel 0:92f8cff1cf35 60
jhamel 0:92f8cff1cf35 61 "Derivative Works" shall mean any work, whether in Source or Object form, that
jhamel 0:92f8cff1cf35 62 is based on (or derived from) the Work and for which the editorial revisions,
jhamel 0:92f8cff1cf35 63 annotations, elaborations, or other modifications represent, as a whole, an
jhamel 0:92f8cff1cf35 64 original work of authorship. For the purposes of this License, Derivative Works
jhamel 0:92f8cff1cf35 65 shall not include works that remain separable from, or merely link (or bind by
jhamel 0:92f8cff1cf35 66 name) to the interfaces of, the Work and Derivative Works thereof.
jhamel 0:92f8cff1cf35 67
jhamel 0:92f8cff1cf35 68 "Contribution" shall mean any work of authorship, including the original version
jhamel 0:92f8cff1cf35 69 of the Work and any modifications or additions to that Work or Derivative Works
jhamel 0:92f8cff1cf35 70 thereof, that is intentionally submitted to Licensor for inclusion in the Work
jhamel 0:92f8cff1cf35 71 by the copyright owner or by an individual or Legal Entity authorized to submit
jhamel 0:92f8cff1cf35 72 on behalf of the copyright owner. For the purposes of this definition,
jhamel 0:92f8cff1cf35 73 "submitted" means any form of electronic, verbal, or written communication sent
jhamel 0:92f8cff1cf35 74 to the Licensor or its representatives, including but not limited to
jhamel 0:92f8cff1cf35 75 communication on electronic mailing lists, source code control systems, and
jhamel 0:92f8cff1cf35 76 issue tracking systems that are managed by, or on behalf of, the Licensor for
jhamel 0:92f8cff1cf35 77 the purpose of discussing and improving the Work, but excluding communication
jhamel 0:92f8cff1cf35 78 that is conspicuously marked or otherwise designated in writing by the copyright
jhamel 0:92f8cff1cf35 79 owner as "Not a Contribution."
jhamel 0:92f8cff1cf35 80
jhamel 0:92f8cff1cf35 81 "Contributor" shall mean Licensor and any individual or Legal Entity on behalf
jhamel 0:92f8cff1cf35 82 of whom a Contribution has been received by Licensor and subsequently
jhamel 0:92f8cff1cf35 83 incorporated within the Work.
jhamel 0:92f8cff1cf35 84
jhamel 0:92f8cff1cf35 85 2. Grant of Copyright License.
jhamel 0:92f8cff1cf35 86
jhamel 0:92f8cff1cf35 87 Subject to the terms and conditions of this License, each Contributor hereby
jhamel 0:92f8cff1cf35 88 grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free,
jhamel 0:92f8cff1cf35 89 irrevocable copyright license to reproduce, prepare Derivative Works of,
jhamel 0:92f8cff1cf35 90 publicly display, publicly perform, sublicense, and distribute the Work and such
jhamel 0:92f8cff1cf35 91 Derivative Works in Source or Object form.
jhamel 0:92f8cff1cf35 92
jhamel 0:92f8cff1cf35 93 3. Grant of Patent License.
jhamel 0:92f8cff1cf35 94
jhamel 0:92f8cff1cf35 95 Subject to the terms and conditions of this License, each Contributor hereby
jhamel 0:92f8cff1cf35 96 grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free,
jhamel 0:92f8cff1cf35 97 irrevocable (except as stated in this section) patent license to make, have
jhamel 0:92f8cff1cf35 98 made, use, offer to sell, sell, import, and otherwise transfer the Work, where
jhamel 0:92f8cff1cf35 99 such license applies only to those patent claims licensable by such Contributor
jhamel 0:92f8cff1cf35 100 that are necessarily infringed by their Contribution(s) alone or by combination
jhamel 0:92f8cff1cf35 101 of their Contribution(s) with the Work to which such Contribution(s) was
jhamel 0:92f8cff1cf35 102 submitted. If You institute patent litigation against any entity (including a
jhamel 0:92f8cff1cf35 103 cross-claim or counterclaim in a lawsuit) alleging that the Work or a
jhamel 0:92f8cff1cf35 104 Contribution incorporated within the Work constitutes direct or contributory
jhamel 0:92f8cff1cf35 105 patent infringement, then any patent licenses granted to You under this License
jhamel 0:92f8cff1cf35 106 for that Work shall terminate as of the date such litigation is filed.
jhamel 0:92f8cff1cf35 107
jhamel 0:92f8cff1cf35 108 4. Redistribution.
jhamel 0:92f8cff1cf35 109
jhamel 0:92f8cff1cf35 110 You may reproduce and distribute copies of the Work or Derivative Works thereof
jhamel 0:92f8cff1cf35 111 in any medium, with or without modifications, and in Source or Object form,
jhamel 0:92f8cff1cf35 112 provided that You meet the following conditions:
jhamel 0:92f8cff1cf35 113
jhamel 0:92f8cff1cf35 114 You must give any other recipients of the Work or Derivative Works a copy of
jhamel 0:92f8cff1cf35 115 this License; and
jhamel 0:92f8cff1cf35 116 You must cause any modified files to carry prominent notices stating that You
jhamel 0:92f8cff1cf35 117 changed the files; and
jhamel 0:92f8cff1cf35 118 You must retain, in the Source form of any Derivative Works that You distribute,
jhamel 0:92f8cff1cf35 119 all copyright, patent, trademark, and attribution notices from the Source form
jhamel 0:92f8cff1cf35 120 of the Work, excluding those notices that do not pertain to any part of the
jhamel 0:92f8cff1cf35 121 Derivative Works; and
jhamel 0:92f8cff1cf35 122 If the Work includes a "NOTICE" text file as part of its distribution, then any
jhamel 0:92f8cff1cf35 123 Derivative Works that You distribute must include a readable copy of the
jhamel 0:92f8cff1cf35 124 attribution notices contained within such NOTICE file, excluding those notices
jhamel 0:92f8cff1cf35 125 that do not pertain to any part of the Derivative Works, in at least one of the
jhamel 0:92f8cff1cf35 126 following places: within a NOTICE text file distributed as part of the
jhamel 0:92f8cff1cf35 127 Derivative Works; within the Source form or documentation, if provided along
jhamel 0:92f8cff1cf35 128 with the Derivative Works; or, within a display generated by the Derivative
jhamel 0:92f8cff1cf35 129 Works, if and wherever such third-party notices normally appear. The contents of
jhamel 0:92f8cff1cf35 130 the NOTICE file are for informational purposes only and do not modify the
jhamel 0:92f8cff1cf35 131 License. You may add Your own attribution notices within Derivative Works that
jhamel 0:92f8cff1cf35 132 You distribute, alongside or as an addendum to the NOTICE text from the Work,
jhamel 0:92f8cff1cf35 133 provided that such additional attribution notices cannot be construed as
jhamel 0:92f8cff1cf35 134 modifying the License.
jhamel 0:92f8cff1cf35 135 You may add Your own copyright statement to Your modifications and may provide
jhamel 0:92f8cff1cf35 136 additional or different license terms and conditions for use, reproduction, or
jhamel 0:92f8cff1cf35 137 distribution of Your modifications, or for any such Derivative Works as a whole,
jhamel 0:92f8cff1cf35 138 provided Your use, reproduction, and distribution of the Work otherwise complies
jhamel 0:92f8cff1cf35 139 with the conditions stated in this License.
jhamel 0:92f8cff1cf35 140
jhamel 0:92f8cff1cf35 141 5. Submission of Contributions.
jhamel 0:92f8cff1cf35 142
jhamel 0:92f8cff1cf35 143 Unless You explicitly state otherwise, any Contribution intentionally submitted
jhamel 0:92f8cff1cf35 144 for inclusion in the Work by You to the Licensor shall be under the terms and
jhamel 0:92f8cff1cf35 145 conditions of this License, without any additional terms or conditions.
jhamel 0:92f8cff1cf35 146 Notwithstanding the above, nothing herein shall supersede or modify the terms of
jhamel 0:92f8cff1cf35 147 any separate license agreement you may have executed with Licensor regarding
jhamel 0:92f8cff1cf35 148 such Contributions.
jhamel 0:92f8cff1cf35 149
jhamel 0:92f8cff1cf35 150 6. Trademarks.
jhamel 0:92f8cff1cf35 151
jhamel 0:92f8cff1cf35 152 This License does not grant permission to use the trade names, trademarks,
jhamel 0:92f8cff1cf35 153 service marks, or product names of the Licensor, except as required for
jhamel 0:92f8cff1cf35 154 reasonable and customary use in describing the origin of the Work and
jhamel 0:92f8cff1cf35 155 reproducing the content of the NOTICE file.
jhamel 0:92f8cff1cf35 156
jhamel 0:92f8cff1cf35 157 7. Disclaimer of Warranty.
jhamel 0:92f8cff1cf35 158
jhamel 0:92f8cff1cf35 159 Unless required by applicable law or agreed to in writing, Licensor provides the
jhamel 0:92f8cff1cf35 160 Work (and each Contributor provides its Contributions) on an "AS IS" BASIS,
jhamel 0:92f8cff1cf35 161 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied,
jhamel 0:92f8cff1cf35 162 including, without limitation, any warranties or conditions of TITLE,
jhamel 0:92f8cff1cf35 163 NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are
jhamel 0:92f8cff1cf35 164 solely responsible for determining the appropriateness of using or
jhamel 0:92f8cff1cf35 165 redistributing the Work and assume any risks associated with Your exercise of
jhamel 0:92f8cff1cf35 166 permissions under this License.
jhamel 0:92f8cff1cf35 167
jhamel 0:92f8cff1cf35 168 8. Limitation of Liability.
jhamel 0:92f8cff1cf35 169
jhamel 0:92f8cff1cf35 170 In no event and under no legal theory, whether in tort (including negligence),
jhamel 0:92f8cff1cf35 171 contract, or otherwise, unless required by applicable law (such as deliberate
jhamel 0:92f8cff1cf35 172 and grossly negligent acts) or agreed to in writing, shall any Contributor be
jhamel 0:92f8cff1cf35 173 liable to You for damages, including any direct, indirect, special, incidental,
jhamel 0:92f8cff1cf35 174 or consequential damages of any character arising as a result of this License or
jhamel 0:92f8cff1cf35 175 out of the use or inability to use the Work (including but not limited to
jhamel 0:92f8cff1cf35 176 damages for loss of goodwill, work stoppage, computer failure or malfunction, or
jhamel 0:92f8cff1cf35 177 any and all other commercial damages or losses), even if such Contributor has
jhamel 0:92f8cff1cf35 178 been advised of the possibility of such damages.
jhamel 0:92f8cff1cf35 179
jhamel 0:92f8cff1cf35 180 9. Accepting Warranty or Additional Liability.
jhamel 0:92f8cff1cf35 181
jhamel 0:92f8cff1cf35 182 While redistributing the Work or Derivative Works thereof, You may choose to
jhamel 0:92f8cff1cf35 183 offer, and charge a fee for, acceptance of support, warranty, indemnity, or
jhamel 0:92f8cff1cf35 184 other liability obligations and/or rights consistent with this License. However,
jhamel 0:92f8cff1cf35 185 in accepting such obligations, You may act only on Your own behalf and on Your
jhamel 0:92f8cff1cf35 186 sole responsibility, not on behalf of any other Contributor, and only if You
jhamel 0:92f8cff1cf35 187 agree to indemnify, defend, and hold each Contributor harmless for any liability
jhamel 0:92f8cff1cf35 188 incurred by, or claims asserted against, such Contributor by reason of your
jhamel 0:92f8cff1cf35 189 accepting any such warranty or additional liability.
jhamel 0:92f8cff1cf35 190
jhamel 0:92f8cff1cf35 191