[IOT-3044] No response for Ping message 81/24581/7
authorVeeraj Khokale <veeraj.sk@samsung.com>
Thu, 5 Apr 2018 09:35:54 +0000 (15:05 +0530)
committerAshok Babu Channa <ashok.channa@samsung.com>
Fri, 11 May 2018 07:37:05 +0000 (07:37 +0000)
commitc7dce6b522604e2c6b99847c88a00f7da275c08d
tree5f52937a4bc4999e23cf3065c2a0374ee0d20b34
parentbfbac92c38ba2ae9280ff8694e0862610423b43f
[IOT-3044] No response for Ping message

TCP adapter disconnects the session whenever
the data to be sent has an empty payload.
Since ping messages and signaling messages
need to have an empty payload they are dropped.
Fix this by checking if the message is a signaling
message before dropping it.

Change-Id: I1cfad27fcfd5cf3a42510412e6555b84ea905259
Signed-off-by: Veeraj Khokale <veeraj.sk@samsung.com>
resource/csdk/connectivity/src/camessagehandler.c
resource/csdk/connectivity/src/tcp_adapter/catcpadapter.c