Internet Gateway Device description contains nested serviceList (rootdevice -> servicelist, subdevice
and subdevice has the lower-level serviceList, etc..)
Unfrotunately, the sample code sample_util.c used by tv_device sample, etc.
has a code that looks for only the first top-level serviceList.
This results in the failure to read all the services of an IGD xml description.
Attached patch modifies this behavior and looks for the service by
visiting all the serviceList in xml document in turn.
With the modified patch (ad additional modification), I could
simulate an IGD device and created a modified control program for that.
Patch against 1.6.6
Log in to post a comment.