On Sun, Dec 9, 2018, 7:54 PM 최우제 (Uze Choi) <uzc...@samsung.com wrote:

> Initial time of IoTivity, this feature has been designed.
>
> This feature is for notification from server device when it turn off the
> server. Client should subscribe to server.
>
So this is just for when a server knows it is shutting down? I.e. if it
gets smashed with a hammer then the Presence feature does not apply?

What about a server coming online? I have the impression Presence service
is relevant. No?

> Even though these feature has not been taken as core spec, some iotivity
> services already use these feature.
>
Such as?

It will be better to fix the code to work well with disabling
> WITH_PRESENCE. Build.
>
I'll file a jira.

> BR, Uze Choi
>
> *From:* iotivity-dev@lists.iotivity.org [mailto:
> iotivity-dev@lists.iotivity.org] *On Behalf Of *Gregg Reynolds
> *Sent:* Sunday, December 09, 2018 8:33 AM
> *To:* Mats Wichmann
> *Cc:* iotivity-dev
> *Subject:* Re: [dev] Presence functionality
>
>
>
>
>
> On Sat, Dec 8, 2018 at 5:00 PM Mats Wichmann <m...@wichmann.us> wrote:
>
> On 12/8/18 12:28 PM, Gregg Reynolds wrote:
> > I'm hoping someone here can help me understand presence. The wiki docs
> > aren't very helpful to me. E g. This is just confusing:
> > https://wiki.iotivity.org/resource_presence
>
> > Also, I note that lots of presence code is conditional (#ifdef
> > WITH_PRESENCE). But lots of presence code is not ifdeffed - turn off
> > WITH_PRESENCE and you run into trouble. At least I do.
>
> that looks like something that could be cleaned up.  could you drop this
> into a Jira ticket? as far as I can see, it's never tested with it
> disabled - it's hardcoded defined in octypes.h and there is no flag
> value you can pass to the build to turn it off.
>
>
>
> Here's my offer: somebody explains to me what the point of this stuff is,
> and I file Jira tix to clean it up.
>
>
>
> There's a lot to be cleaned up. I'm disinclined to mop up if I have no
> idea what the benefit is.
>
>
>
> Gregg
>
> 
>
>
>
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#10069): 
https://lists.iotivity.org/g/iotivity-dev/message/10069
Mute This Topic: https://lists.iotivity.org/mt/28677647/21656
Group Owner: iotivity-dev+ow...@lists.iotivity.org
Unsubscribe: https://lists.iotivity.org/g/iotivity-dev/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to