gerickson / openweave-schema-vendor-common

This package makes available the Weave Data Language (WDL) schema corpus published under the "Common" vendor name space. The "Common" vendor name space is a shared, global namespace administered by Google that contains schema beneficial to and leverageable by all other WDL schema vendor namespaces. In addition, it represents schema that has been sufficiently vetted and generalized to be deemed of broad utility to the WDL ecosystem that it warrants transition and evolution from a vendor-administered namespace.

Home Page:https://openweave.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OpenWeave

Build Status


What is OpenWeave?

Weave is the network application layer that provides a secure, reliable communications backbone for Nest's products. OpenWeave is the open source release of Weave.

At Google, we believe the core technologies that underpin connected home products need to be open and accessible. Alignment around common fundamentals will help products securely and seamlessly communicate with one another. Google's first open source release was our implementation of Thread, OpenThread. OpenWeave can run on OpenThread, other IPv6-bearing network links, or Bluetooth Low Energy, and is another step in the direction of making our core technologies more widely available.

What is OpenWeave WDL "Common" Schema?

This package makes available the Weave Data Language (WDL) schema corpus published under the "Common" vendor name space.

The "Common" vendor name space is a shared, global namespace administered by Google that contains schema beneficial to and leverageable by all other WDL schema vendor namespaces. In addition, it represents schema that has been sufficiently vetted and generalized to be deemed of broad utility to the WDL ecosystem that it warrants transition and evolution from a vendor-administered namespace.

WDL is Weave's publish and subscribe schema language. The WDL schema can be compiled with the WDL Compiler WDLC (see Dependencies).

Getting started with OpenWeave WDL "Common" Schema

Building OpenWeave WDL "Common" Schema

Validate device identity trait:

% wdlc --check --output ./build -I ~/schema/openweave-schema-vendor-common ~/schema/openweave-schema-vendor-common/weave/trait/description/device_identity_trait.proto

Code-generate for Weave Device C++:

% wdlc --gen weave-device-cpp --output ./build -I ~/schema/openweave-schema-vendor-common ~/schema/openweave-schema-vendor-common/weave/trait/description/device_identity_trait.proto

Code-generate using base protoc C++ template:

% wdlc --gen cpp --output ./build -I ~/schema/openweave-schema-vendor-common ~/schema/openweave-schema-vendor-common/weave/trait/description/device_identity_trait.proto

Validate all traits in a given folder:

% wdlc --check --output ./build -I ~/schema/openweave-schema-vendor-common ~/schema/openweave-schema-vendor-common/weave/trait/located

Code-generate schema + dependencies:

% wdlc -I ~/openweave-schema-vendor-nest -I ~/openweave-schema-vendor-common --gen weave-device-cpp --gen_dependencies --output ./build ~/openweave-schema-vendor-nest/nest/resource/nest_detect_resource.proto ~/openweave-schema-vendor-nest/nest/resource/nest_guard_resource.proto

Dependencies

OpenWeave WDL "Common" Schema depends on WDLC. WDLC is available from ow-wdlc-repo.

Need help?

There are numerous avenues for OpenWeave support:

The openweave-users Google Group is the recommended place for users to discuss OpenWeave and interact directly with the OpenWeave team.

Directory Structure

The OpenWeave WDL "Common" Schema repository is structured as follows:

File / Folder Contents
CHANGELOG Description of changes to OpenWeave from release-to-release.
CONTRIBUTING.md Guidelines for contributing to OpenWeave WDL "Common" Schema.
LICENSE OpenWeave WDL "Common" Schema license file (Apache 2.0).
Makefile Top-level makefile.
README.md This file.
weave/ "Common" WDL schema source.

Contributing

We would love for you to contribute to OpenWeave WDL "Common" Schema and help make it even better than it is today! See the CONTRIBUTING.md file for more information.

Versioning

OpenWeave WDL "Common" Schema follows the Semantic Versioning guidelines for release cycle transparency and to maintain backwards compatibility.

License

License and the Weave and OpenWeave Brands

The OpenWeave software is released under the Apache 2.0 license, which does not extend a license for the use of the Weave and OpenWeave name and marks beyond what is required for reasonable and customary use in describing the origin of the software and reproducing the content of the NOTICE file.

The Weave and OpenWeave name and word (and other trademarks, including logos and logotypes) are property of Google LLC. Please refrain from making commercial use of the Weave and OpenWeave names and word marks and only use the names and word marks to accurately reference this software distribution. Do not use the names and word marks in any way that suggests you are endorsed by or otherwise affiliated with Nest without first requesting and receiving a written license from us to do so. See our Trademarks and General Principles page for additional details. Use of the Weave and OpenWeave logos and logotypes is strictly prohibited without a written license from us to do so.

About

This package makes available the Weave Data Language (WDL) schema corpus published under the "Common" vendor name space. The "Common" vendor name space is a shared, global namespace administered by Google that contains schema beneficial to and leverageable by all other WDL schema vendor namespaces. In addition, it represents schema that has been sufficiently vetted and generalized to be deemed of broad utility to the WDL ecosystem that it warrants transition and evolution from a vendor-administered namespace.

https://openweave.io/

License:Apache License 2.0


Languages

Language:Makefile 83.6%Language:Shell 16.4%