Fix Jira Difect IOT-505
authorYounghyunJoo <yh_.joo@samsung.com>
Tue, 28 Apr 2015 02:34:29 +0000 (11:34 +0900)
committerUze Choi <uzchoi@samsung.com>
Wed, 6 May 2015 06:19:33 +0000 (06:19 +0000)
commit08f5b4edd914efb7e49f2e5c5d08edc362fa5cc9
tree63a081dcc143a288c3ddafeb95f76a398dc6a686
parent2c5b9d1fa9fe6af0877e29e64e018908d88133a2
Fix Jira Difect IOT-505

MQTT-Fan plugin can't recognize mqtt broker server status.
so linux sample application cannot print connection error message
and try to turn on/off the fan
I modify plugin codes to check the connection status.

Change-Id: Id1eff1b4439bf1d473dd8a0873a187b721a4d93e
Signed-off-by: YounghyunJoo <yh_.joo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/850
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
service/protocol-plugin/plugins/mqtt-fan/src/fanserver.cpp