Hi,
I'm developing an Iotivity client using Java, and I want to observe
the presence status of devices.

So I'm using the `OcPlatform.subscribePresence` API, and passing a
`OcPlatform.OnPresenceListener` to it.

I have a couple of questions about the `onPresence` method:

1. What is the `nonce` argument? The API docs don't explain it.
2. This method only gives me a `hostAddress`, and that's not enough to
identify which devices had a presence change, because you can have
multiple devices on the same network.

Is this an oversight in the Java API?

Thanks in advance!
Salvatore


-- 
Salvatore Iovene <salvatore.iovene at intel.com>
Linux Software Engineer
Intel Open Source Technology Center, Finland
Tel.: +358504804026

Reply via email to