Optimization for EDR and LE adapter
authorvimala.v <vimala.v@samsung.com>
Wed, 4 Nov 2015 10:56:17 +0000 (16:26 +0530)
committerJon A. Cruz <jonc@osg.samsung.com>
Mon, 23 Nov 2015 20:13:08 +0000 (20:13 +0000)
commitea0e50a2ad0cf7a9cb35435085044cf763266685
tree37e5a8ff4a6810a75289fe18625be33051f62e0c
parentb8bdfc0eec0c7797792203e357cdc73eb84c76fc
Optimization for EDR and LE adapter

In EDR and LE adapter, a request can't be differentiated as unicast or multicast.
Hence when a multicast request was received in EDR or LE adapter,
a error response was sent which could have been ignored.
Especially in Hetrogenous network, we received many responses with payload
NULL for a multicast request.  Hence as an optimization, we are blocking the
error response for EDR and LE adapters.

Change-Id: Ie3766115e8b89e21c760ec8232ebd74d73fc39c0
Signed-off-by: vimala.v <vimala.v@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/4029
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Abhishek Sharma <ce.abhishek@samsung.com>
Reviewed-by: Jon A. Cruz <jonc@osg.samsung.com>
resource/csdk/stack/src/ocresource.c