Caution
This document is obsolete. IoTivity is no longer supported in webOS OSE.
This document is obsolete. IoTivity is no longer supported in webOS OSE.
webOS IoT includes IoTivity and iotivity-node for developers to implement JS services that are needed to support IoT connectivity based on Open Connectivity Foundation (OCF) standard specification.
The platform adapter for webOS IoT enables IoTivity to interact with webOS connectivity components through webOS Bus system (Luna Bus). With the adapter, you can monitor connectivity status.
You can develop Node.js-based JavaScript (JS) services communicating with the other OCF IoT devices by using the built-in iotivity-node module, as follows:
Using low-level interface |
---|
|
Using high-level interface |
---|
|
JS services provide access to platform features such as low-level networking, file system access, and binary data processing.
For details of JS service development for webOS IoT, refer the the following guide.
Contents