Fix FindGroup API of Things Manager about group sync feature.
authorHyunJun Kim <hyunjun2.kim@samsung.com>
Fri, 23 Jan 2015 05:00:54 +0000 (14:00 +0900)
committerUze Choi <uzchoi@samsung.com>
Fri, 23 Jan 2015 08:29:50 +0000 (08:29 +0000)
commitdd63de543da23f0a1e22cf15ec755c7f4652c001
tree5c6ecde0ff67f221bc18700978a61fa4d2503270
parent135e8386212533f4c62e892f0695c78d945f2879
Fix FindGroup API of Things Manager about group sync feature.

It is not notify about state of finding to caller.
So we will return 'OC_STACK_ERROR' when It was finding a group.
User should be wait findCallback.
Then user will know the result of finding.

FindCallback has the argument which OCResource.
If it is NULL we could not find a group.

Fix [IOT-286]

Change-Id: I2b95d5102e54e4242394c36d51de81f192b87e13
Signed-off-by: HyunJun Kim <hyunjun2.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/230
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
service/things-manager/sdk/src/GroupSynchronization.cpp
service/things-manager/sdk/src/GroupSynchronization.h