W3C home > Mailing lists > Public > public-wot-ig@w3.org > May 2017

Protocol Binding for OCF

From: Michael Koster <michael.koster@smartthings.com>
Date: Tue, 9 May 2017 12:32:51 -0700
Message-Id: <67BC66E9-546E-4BE1-ACA0-309D89F4544F@smartthings.com>
To: Public Web of Things IG <public-wot-ig@w3.org>

Here is a sketch of a strawman proposal for OCF protocol binding, also attached:

https://github.com/mjkoster/wot-protocol-binding/blob/master/ocf-binding-template.pdf <https://github.com/mjkoster/wot-protocol-binding/blob/master/ocf-binding-template.pdf>

The example TD file is in the same repository:

https://github.com/mjkoster/wot-protocol-binding/blob/master/td-ocf-protocol-binding.json <https://github.com/mjkoster/wot-protocol-binding/blob/master/td-ocf-protocol-binding.json>

I made small changes to the TD vocabulary, assuming some mapping involving an implicit JSON-LD context. 

A design goal is to keep the driver software simple and generic, unaware of specific OCF resource definitions.

The general strategy is applicable to other protocol bindings. There is an MQTT example for illustration.

Best regards,


Received on Tuesday, 9 May 2017 19:33:32 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:27:12 UTC