On Wednesday 01 July 2015 05:35:28 Agrawal, Sachin wrote: > The problem with current Iotivity stack is that.....every end-point in the > network will respond to this query > by sending a packet (with empty payload) even if it does not have anything > useful to send.
I see two possible ways out for this: 1) we really push for devices to use a directory server instead of listening on multicast. Devices that have successfully registered themselves with a directory can stop listening for multicast and will therefore not be woken up by new discoveries. The question is whether OIC will allow devices that *only* work in the presence of a directory server. 2) encode the type of service being sought in the IPv6 multicast address. Since there are 112 bits in the multicast network address, we could use some of those to encode the type of service, a portion of it or a hash of it, in such a way that it would reduce collisions on the network. No fallback for IPv4 is needed. Discovery on IPv4 will wake up all devices, which devices using IPv4 will consume more battery. Tough luck for them... -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center
