Update parse logic of introspectProvider result.
authorKIM JungYong <jyong2.kim@samsung.com>
Sun, 4 Sep 2016 04:49:44 +0000 (13:49 +0900)
committerUze Choi <uzchoi@samsung.com>
Tue, 6 Sep 2016 10:28:27 +0000 (10:28 +0000)
commit1a436d594b0d46f9a1a5061d96f2bc7e5e36da1c
treea6e0adeae47d136d802f0ed356a560416a4c022f
parent4e5733cb19972d5d49922cddce0821ba5311207a
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/11359
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