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.

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

It will be better to fix the code to work well with disabling WITH_PRESENCE. 
Build.

 

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 (#10061): 
https://lists.iotivity.org/g/iotivity-dev/message/10061
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