intel / iotivity-node

Node.js bindings for IoTivity
https://www.iotivity.org/
42 stars 44 forks source link

All properties of interface OicPresence are undefined #53

Closed wanghongjuan closed 8 years ago

wanghongjuan commented 8 years ago

Accord to the spec, get the interface by running command var oicPresence = require('iotivity-node')('client');, all properties of the interface OicPresence should exist and can invoke the method or event. Actually, the methods subscribe(), unsubscribe() and ondevicechange are undefined in interface OicPresence.