Fix C client to receive presence notifications.
authorMandeep Shetty <mandeep.shetty@intel.com>
Wed, 1 Apr 2015 18:12:44 +0000 (11:12 -0700)
committerErich Keane <erich.keane@intel.com>
Fri, 3 Apr 2015 17:46:51 +0000 (17:46 +0000)
commit3483aadaeffed834730a6507a3ca64ca423037f9
treee09455c623bc3f33ff072bf016e69ad3b7168bb9
parentcae342fa6225f830117b2f975a64ab500d981c75
Fix C client to receive presence notifications.

This fixes IOT-432.
Make occlient.cpp subscribe to the same resource ocserver.cpp is sending
out presence notifications on. Server sends out notifications for
core.led while client was subscribed to core.light.

Signed-off-by: Mandeep Shetty <mandeep.shetty@intel.com>
Change-Id: I8aeb96b981f1bb71ce0661f1fa54d58ba1a19b8c
Reviewed-on: https://gerrit.iotivity.org/gerrit/626
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Erich Keane <erich.keane@intel.com>
resource/csdk/stack/samples/linux/SimpleClientServer/occlient.cpp