Added support for multicast presence
authorSashi Penta <sashi.kumar.penta@intel.com>
Mon, 10 Nov 2014 15:49:55 +0000 (07:49 -0800)
committerSashi Penta <sashi.kumar.penta@intel.com>
Wed, 12 Nov 2014 21:43:11 +0000 (13:43 -0800)
commit5fc2e698fec0a57356b18a0cb4f633f3cee21755
treef4596a25868979b6d408874eead0f09eb5cf79ea
parent0dc51331a8f0a687969eb18093f4f67527fc7201
Added support for multicast presence

Added OCMulticastNode data structure to store the nonce information of the server send
presence notifications. When a new notification comes to the client, client checks if there
is a multicast node, and then checks to see if the nonce is same or not. If same nonce, no call
back to client application is made. If nonce is different a call to client application is made.

Signed-off-by: Sashi Penta <sashi.kumar.penta@intel.com>
Change-Id: Ia3fe163e7a304f499272f9ffa8a22a359f123d98
resource/csdk/occoap/src/occoap.c
resource/csdk/stack/include/internal/occlientcb.h
resource/csdk/stack/include/ocstack.h
resource/csdk/stack/src/occlientcb.c
resource/examples/presenceclient.cpp