Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open Connectivity Foundation (OCF) / Iotivity #40

Closed
michaelmohamed opened this issue Jul 7, 2017 · 1 comment
Closed

Open Connectivity Foundation (OCF) / Iotivity #40

michaelmohamed opened this issue Jul 7, 2017 · 1 comment

Comments

@michaelmohamed
Copy link

Hi, what is the difference between this project and the one that the Open Connectivity Foundation (OCF) is doing with Iotivity? It seems that data models have been documented here . With these two projects, how should a developer decide which project to pursue for development?

Thank You,

@benfrancis
Copy link
Member

Hi,

There are several existing Web of Things type standardization efforts including those at the IETF, W3C, OCF and OGC.

The OCF has quite a mature set of specifications which as I understand it are largely based around a new RESTful application protocol called CoAP. CoAP is like a mini HTTP optimised for resource constrained devices and includes a "NOTIFY" extension which allows messages to be pushed from the server to the client. However, CoAP is not supported directly by web browsers so it's not possible to build web applications on top of this protocol without a bridge from CoAP to HTTP. In contrast, this Web Thing API uses HTTP directly and provides a WebSocket API to allow push type messages. This makes it possible to call the API directly from web applications and makes it easy for web developers to apply their tools and skills to IoT directly.

The W3C has quite a similar Web Thing Description and Scripting API specifications, but this Web Thing API specification has more of a focus on concrete programming interfaces using existing web technologies like JSON, HTTP and WebSockets rather than defining an abstract scripting API and an RDF based data model with heavy usage of semantic web technologies.

The IETF provides some general guidance around using RESTful design in IoT and the OGC is focused on a fairly domain-specific solution.

Our current focus is creating a concrete and pragmatic API for connecting physical devices to the web based on existing proven web technologies, but all of these efforts are valuable and I hope they can converge over time. That may involve specifications merging or building on top of one another (e.g. a shared taxonomy with different encodings or protocol bindings).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants