Sending NONCE and TTL in the payload for active presence:
authorSashi Penta <sashi.kumar.penta@intel.com>
Mon, 8 Sep 2014 22:27:21 +0000 (15:27 -0700)
committerSashi Penta <sashi.kumar.penta@intel.com>
Mon, 8 Sep 2014 22:27:21 +0000 (15:27 -0700)
commit70721ae8ee8b63aa9a9a2ba25e26e34e8ca08dc7
tree6c2e0a89718514295466f7a7d0d49ea85ab623b9
parent77dce84d60549be2bb7b887556737d439ae2fa4a
Sending NONCE and TTL in the payload for active presence:

Patch set #1:
1) The payload is formatted as NONCE#:TTL#
2) NONCE is a 32bit unisgned random int.
3) The client app is not called when there is not change in NONCE, OC_STACK_PRESENCE_NO_UPDATE was deleted
4) Code organization in occoap.c
5) Rebased on master

Change-Id: I2c4f8c4b30c3d692a38b3286001d55f3387f5a73
csdk/occoap/src/occoap.c
csdk/stack/include/ocstack.h
csdk/stack/samples/linux/SimpleClientServer/common.cpp
csdk/stack/src/ocobserve.c
csdk/stack/src/ocstack.c
examples/presenceclient.cpp