Make all multicast coap messages sent as Low_QoS/NON.
authorYamin Al-Mousa <yamin.s.al-mousa@intel.com>
Fri, 19 Dec 2014 18:44:34 +0000 (10:44 -0800)
committerYamin Al-Mousa <yamin.s.al-mousa@intel.com>
Fri, 19 Dec 2014 18:44:34 +0000 (10:44 -0800)
commita050278c922b41cf6b0827ae48ec6b8a5cd40598
treeadbc3687792f2d17136b84e401552cce9b664a54
parent369e66ea67e7cf524794d8bc4448b962e1b13e13
Make all multicast coap messages sent as Low_QoS/NON.

When a client in C++ is configured to use HighQoS,
then discovery request goes as CON to a multicast address.
However, responses/ACKs are coming from a unicast address.
This makes it impossible for clients to associate requests
with responses and stop retrying CON pdus.Now, CoAP layer is
making sure that all packets sent to multicast address are NON.

Change-Id: I41f351c5c9ce75fc4846d970514733bef5cdce61
Signed-off-by: Yamin Al-Mousa <yamin.s.al-mousa@intel.com>
Signed-off-by: Sudarshan Prasad <sudarshan.prasad@intel.com>
resource/csdk/libcoap-4.1.1/net.c
resource/csdk/occoap/include/occoaphelper.h
resource/csdk/occoap/src/occoap.c
resource/csdk/occoap/src/occoaphelper.c
resource/csdk/stack/include/ocstack.h