Protocol Binding for OCF

Hi,

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,

Michael

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