Update parse logic of introspectProvider result. 83/11383/2
authorKIM JungYong <jyong2.kim@samsung.com>
Sun, 4 Sep 2016 04:49:44 +0000 (13:49 +0900)
committerUze Choi <uzchoi@samsung.com>
Thu, 8 Sep 2016 10:10:21 +0000 (10:10 +0000)
commit00065b7fcacd4dbd5cf15300c5204ad810de82de
tree053a98843abeabe9f8171bb1bd1df768798cdc2d
parente3da625b060a84099a7ea5ac51caf2a9bf7e9387
Update parse logic of introspectProvider result.

When received introspect provider result,
consumer service expect to get provider policy as type of boolean.
But, policy is integer type although provider side set boolean type.
So, parse logic of policy is updated to parse for given type by received payload.

Change-Id: I695e81179172376499345f9b1f6323a04325a015
Signed-off-by: KIM JungYong <jyong2.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11383
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Hun-je Yeon <hunje.yeon@samsung.com>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
service/notification/src/consumer/NSConsumerDiscovery.c