GNOME Bugzilla – Bug 764050
per UPnP SwitchPower spec, SetTarget argument name is 'newTargetValue'
Last modified: 2019-02-22 05:57:30 UTC
per UPnP SwitchPower spec, SetTarget argument name is 'newTargetValue' The code in src/network-light/upnp.c and the xml in data/xml/SwitchPower-scpd.xml have the SetTarget argument as 'NewTargetValue'
This was a spec bug, btw: the original spec had "NewTargetValue" but then they just changed it (after something like 10 years!)
Did that only change for NewTargetValue or are the others (RetTargetValue) changed as well=
(In reply to Jens Georg from comment #2) > Did that only change for NewTargetValue or are the others (RetTargetValue) > changed as well= Come on, there are like three whole argument names in the spec. You can't expect them to fix all of them at once. So the other arguments still have a capital starting letter. Committee work at its most useful.
m(
Created attachment 326456 [details] [review] network-light: Use newTargetValue Signed-off-by: Jens Georg <mail@jensge.org>
Created attachment 326457 [details] [review] examples: Use newTargetValue Adapt to 2011 spec update Signed-off-by: Jens Georg <mail@jensge.org>
Comment on attachment 326456 [details] [review] network-light: Use newTargetValue Attachment 326456 [details] pushed as 6699fa1 - network-light: Use newTargetValue
This problem has been fixed in our software repository. The fix will go into the next software release. Once that release is available, you may want to check for a software upgrade provided by your Linux distribution.