Contains demonstrator code to connect the mbed FRDM-K64F devices to the Datavenue Live Objects SaaS platform.

Dependencies:   MQTTPacket

Committer:
jhamel
Date:
Tue Apr 04 16:29:57 2017 +0200
Revision:
3:56af709c24e1
Parent:
0:a46886781dee
Use CA from Symantec/VeriSign, and fix TLS issue

Who changed what in which revision?

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