
1 scons --debug=explain VERBOSE=true RELEASE=false TARGET_TRANSPORT=IP 2 BUILD_SAMPLE=ON 3 4 OCF BRIDGING SPECIFICATION Version 0.8 Open Connectivity Foundation (OCF) [email protected] Copyright Open Connectivity Foundation, Inc. © 2017. All rights Reserved. 0 1 Legal Disclaimer 2 3 THIS IS A DRAFT SPECIFICATION ONLY AND HAS NOT BEEN ADOPTED BY THE OPEN 4 CONNECTIVITY FOUNDATION. THIS DRAFT SPECIFICATION MAY NOT BE RELIED UPON 5 FOR ANY PURPOSE OTHER THAN REVIEW OF THE CURRENT STATE OF THE 6 DEVELOPMENT OF THIS DRAFT SPECIFICATION. THE OPEN CONNECTIVITY FOUNDATION 7 AND ITS MEMBERS RESERVE THE RIGHT WITHOUT NOTICE TO YOU TO CHANGE ANY OR 8 ALL PORTIONS HEREOF, DELETE PORTIONS HEREOF, MAKE ADDITIONS HERETO, 9 DISCARD THIS DRAFT SPECIFICATION IN ITS ENTIRETY OR OTHERWISE MODIFY THIS 10 DRAFT SPECIFICATION AT ANY TIME. YOU SHOULD NOT AND MAY NOT RELY UPON THIS 11 DRAFT SPECIFICATION IN ANY WAY, INCLUDING BUT NOT LIMITED TO THE DEVELOPMENT 12 OF ANY PRODUCTS OR SERVICES. IMPLEMENTATION OF THIS DRAFT SPECIFICATION IS 13 DONE AT YOUR OWN RISK AMEND AND IT IS NOT SUBJECT TO ANY LICENSING GRANTS 14 OR COMMITMENTS UNDER THE OPEN CONNECTIVITY FOUNDATION INTELLECTUAL 15 PROPERTY RIGHTS POLICY OR OTHERWISE. IN CONSIDERATION OF THE OPEN 16 CONNECTIVITY FOUNDATION GRANTING YOU ACCESS TO THIS DRAFT SPECIFICATION, 17 YOU DO HEREBY WAIVE ANY AND ALL CLAIMS ASSOCIATED HEREWITH INCLUDING BUT 18 NOT LIMITED TO THOSE CLAIMS DISCUSSED BELOW, AS WELL AS CLAIMS OF 19 DETRIMENTAL RELIANCE. 20 The OCF logo is a trademark of Open Connectivity Foundation, Inc. in the United States or other 21 countries. *Other names and brands may be claimed as the property of others. 22 Copyright © 2017 Open Connectivity Foundation, Inc. All rights reserved. 23 Copying or other form of reproduction and/or distribution of these works are strictly prohibited. 24 Copyright Open Connectivity Foundation, Inc. © 2017. All rights Reserved. 1 1 2 CONTENTS 3 4 1 Scope ............................................................................................................................. 6 5 2 Normative references ...................................................................................................... 6 6 3 Terms, definitions, symbols and abbreviations ................................................................ 7 7 3.1 Terms and definitions ............................................................................................. 7 8 3.2 Symbols and abbreviations ..................................................................................... 9 9 3.3 Conventions ........................................................................................................... 9 10 4 Document conventions and organization ......................................................................... 9 11 4.1 Notation .................................................................................................................. 9 12 4.2 Data types ............................................................................................................ 10 13 4.3 Document structure .............................................................................................. 10 14 5 Operational Scenarios ................................................................................................... 10 15 5.1 “Deep translation” vs. “on-the-fly” ......................................................................... 10 16 5.2 Use of introspection .............................................................................................. 11 17 5.3 Stability and loss of data ...................................................................................... 11 18 6 OCF Bridge Device ....................................................................................................... 12 19 6.1 Resource Discovery.............................................................................................. 12 20 6.2 General Requirements .......................................................................................... 16 21 6.3 Security ................................................................................................................ 17 22 Blocking communication of Bridged Devices with the OCF ecosystem ........... 18 23 7 AllJoyn Translation ........................................................................................................ 18 24 7.1 Requirements Specific to an AllJoyn Translator .................................................... 18 25 Exposing AllJoyn producer devices to OCF Clients ....................................... 18 26 Exposing OCF resources to AllJoyn consumer applications ........................... 25 27 7.2 On-the-Fly Translation from D-Bus and OCF payloads.......................................... 31 28 Translation without aid of introspection ......................................................... 31 29 Translation with aid of introspection .............................................................. 37 30 8 Device Type Definitions ................................................................................................. 42 31 9 Resource Type definitions ............................................................................................. 42 32 9.1 List of resource types ........................................................................................... 42 33 9.2 Secure Mode ........................................................................................................ 42 34 9.2.1 Introduction ................................................................................................... 42 35 9.2.2 Example URI ................................................................................................. 42 36 9.2.3 Resource Type .............................................................................................. 43 37 9.2.4 RAML Definition ............................................................................................ 43 38 9.2.5 Property Definition ........................................................................................ 45 39 9.2.6 CRUDN behaviour ......................................................................................... 45 40 9.3 AllJoyn Object ...................................................................................................... 45 41 Introduction ................................................................................................... 45 42 Example URI ................................................................................................. 45 Copyright Open Connectivity Foundation, Inc. © 2017. All rights Reserved. 2 1 Resource Type .............................................................................................. 45 2 RAML Definition ............................................................................................ 45 3 CRUDN behaviour ......................................................................................... 47 4 5 Copyright Open Connectivity Foundation, Inc. © 2017. All rights Reserved. 3 1 Figures 2 Figure 1. OCF Bridge Device Components ............................................................................. 7 3 Figure 2: Schematic overview of an OCF Bridge Device bridging non-OCF devices .............. 12 4 Copyright Open Connectivity Foundation, Inc. © 2017. All rights Reserved. 4 1 Tables 2 Table 7 Alphabetical list of resource types ............................................................................ 42 3 Table 1: oic.wk.d resource type definition ............................................................................. 21 4 Table 2: oic.wk.con resource type definition ......................................................................... 22 5 Table 3: oic.wk.p Resource Type definition ........................................................................... 24 6 Table 4: oic.wk.con.p Resource Type definition .................................................................... 25 7 Table 5: AllJoyn About Data fields ........................................................................................ 27 8 Table 6: AllJoyn Configuration Data fields ............................................................................ 30 9 Table 7 Alphabetical list of resource types ............................................................................ 42 10 11 Copyright Open Connectivity Foundation, Inc. © 2017. All rights Reserved. 5 1 1 Scope 2 This document specifies a framework for translation between OCF devices and other ecosystems, 3 and specifies the behaviour of a translator that exposes AllJoyn producer applications to OCF 4 clients, and exposes OCF servers to AllJoyn consumer applications. Translation of specific AllJoyn 5 interfaces to or from specific OCF resource types is left to other specifications. Translation of 6 protocols other than AllJoyn is left to a future version of this specification. This document provides 7 generic requirements that apply unless overridden by a more specific document. 8 2 Normative references 9 The following documents, in whole or in part, are normatively referenced in this document and are 10 indispensable for its application. For dated references, only the edition cited applies. For undated 11 references, the latest edition of the referenced document (including any amendments) applies. 12 AllJoyn About Interface Specification, About Feature Interface Definitions, Version 14.12 13 https://allseenalliance.org/framework/documentation/learn/core/about-announcement/interface
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages48 Page
-
File Size-