Bscmsg issue

Brett,

Think the bscmsg helper still has an issue. See below:

 bscmsg -t dbzoo.livebox.williams:Thermostat -s on -x 20.5

Member for

16 years 10 months

brett

12 years 9 months ago

No the x usage for onoff has nothing to do with it.
If you dump the resultant ARGS table before its being used you'll see the error.  This is an lapp parsing bug.

# ./bscmsg -t dbzoo.livebox.williams:Thermostat -s on -x 19.1
{
  "19.1",
  l = false,
  x = true,
  s = "on",
  t = "dbzoo.livebox.williams:Thermostat"
}

And it should be
{ 
  l = false,
  x = "19.1",
  s = "on",
  t = "dbzoo.livebox.williams:Thermostat"
}

I will investigate what is going wrong and file a defect against the Penlight library.

UPDATE:  I'm a doof.  My fault.   http://code.google.com/p/livebox-hah/source/detail?r=566

Thx