bengtmartensson / IrpTransmogrifier

Parser for IRP notation protocols, with rendering, code generation, and decoding.
http://www.harctoolbox.org/
GNU General Public License v3.0
26 stars 4 forks source link

Option for decoding of parameter in IRremote format #72

Closed bengtmartensson closed 6 years ago

bengtmartensson commented 6 years ago

IRremote uses one single number as "the parameter" to most of its protocols. This contains of "our" parameters lumped together, interpreted MSB-first. For this, there should be a new option to the render subcommand, for example --irremote. The program should requite that exactly one of --nameengine, --random, and --irremote is given.

There should be a way to get the corresponding "normal" parameters.

"Dual version" of #75.

bengtmartensson commented 6 years ago

There is a considerable about of stuff about this (incomplete) and about #75 ("complete") checked into branch oneparameter. But I am reluctant to merge it; unsure if it is a sane solution. Comments?

bengtmartensson commented 6 years ago

I do not consider the work in branch oneparameter to be a good and sane solution. The task can be addressed in a < 100 lines Python program on a protocol-per-protocol basis, although not as general.

Ditched.