OCStartPresence now can be called when the server comes up for the first time, when...
authorSashi Penta <sashi.kumar.penta@intel.com>
Fri, 5 Sep 2014 04:36:27 +0000 (21:36 -0700)
committerSashi Penta <sashi.kumar.penta@intel.com>
Mon, 8 Sep 2014 21:06:16 +0000 (14:06 -0700)
commitdaf0c65cfe95295ea61fc845f4d1a26b1b71c0ed
treecf1a435249186e7ccf8baf561e93150a4318ca71
parentb92240883119539d9dea751dcbed7e62163d4854
OCStartPresence now can be called when the server comes up for the first time, when it comes up from offline, or when it reenters network.

Similarly, OCStopPresence can be called when the server is terminating, going offline or when it leaves network.

Change-Id: I610979c26c26c1a7c0fcd4fb95294c5dedaeb4e4
csdk/stack/src/ocstack.c
examples/presenceclient.cpp
examples/presenceserver.cpp
include/OCPlatform.h