I’m building some devices for use in my home that use the Thread protocol for their wireless communication. The devices are being built with partical.io mesh dev boards, which use CoAP.
So, I need CoAP endpoint support in OH2.
I’m taking my inspiration from the work done by @David_Graeff for the MQTT binding.
I have only done one OSGi project, an eclipse plugin several years ago.
My initial research has me looking to embed Californium https://www.eclipse.org/californium/
It is OSGi based java implementation of CoAP.
I have the eclipse add-on dev environment setup and generated a new binding shell.
Maybe the MQTT binding could be extended? Abstract the Things/Items for MQTT thing/Device implementations and CoAP Thing/Device implementations?
I look forward to feedback.