Hi Natalia, One way would be indeed to have a plugin that is able to talk to y our non-OIC blood pressure device.
Another approach that my team has taken while developing our IoT to Cloud Smart Home demo is to have a rather simple app written in JavaScript that talks to that non-OIC device and leverages iotivity-node, the IoTivity node.js bindings to expose it as one OIC/OCF device. You can find an example of such app that communicates with an environmental sensor over the ESS (Environmental Sensing) service (BLE GATT) here: https://github.com/01org/SmartHome-Demo/blob/master/ocf-servers/js-servers/environmental_sensor.js. I hope this helps. Geoffroy From: iotivity-dev-bounces at lists.iotivity.org [mailto:[email protected]] On Behalf Of Natalia Theologou Sent: Wednesday, July 5, 2017 6:52 PM To: iotivity-dev at lists.iotivity.org Subject: Re: [dev] OIC Protocol - Blood Pressure Hello, If i want to integrate a non-OIC device to IoTivity I find out that I have to change resource encapsulation. I am assuming that I have to make a similar project like the Hue bundle at resource container in order to make the device compliant with the OIC protocol. The procedure is just to change the src code and the libraries? After that to compile and have the ContainerSample and the ContainerSampleClient? I am trying to figure out how it works. Thank you in advance. Natalia ________________________________ From: iotivity-dev-bounces at lists.iotivity.org<mailto:iotivity-dev-bounces at lists.iotivity.org> <iotivity-dev-bounces at lists.iotivity.org<mailto:iotivity-dev-bounces at lists.iotivity.org>> on behalf of Natalia Theologou <natalia_th92 at hotmail.com<mailto:[email protected]>> Sent: Friday, June 30, 2017 3:25 PM To: iotivity-dev at lists.iotivity.org<mailto:iotivity-dev at lists.iotivity.org> Subject: [dev] OIC Protocol - Blood Pressure Hello, I am searching for the OIC protocol for a blood pressure device in the OIC DEVICE SPECIFICATION but I can not find anything. Also nothing at oneiota https://oneiota.org/documents?filter%5Bmedia_type%5D=application%2Framl%2Byaml. I am pretty sure that there was one there. If anyone knows anything let me know. Thank you. OCF oneIoTA<https://oneiota.org/documents?filter%5Bmedia_type%5D=application%2Framl%2Byaml> oneiota.org Filename Type Date Organization Release Proposals Versions; acceleration.raml: RAML: 12 November, 7:17PM (2016) (UTC) OCF: 2: activityCount.raml: RAML: 7 July, 2:36AM ... -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20170707/7a762eca/attachment.html>
