irp 0.2.2

Infrared IRP encoder
Documentation

IRP

A Rust library for handling Consumer IR, e.g. the infrared protocol a TV remote uses. This library supports IRP Notation, Pronto Hex, and common IR encodings like raw IR and lirc's mode2 pulse/space format.

See the docs for the usage and some examples.

Currently IRP can be encoded to either raw IR or pronto hex.

IRP decoding

There is no IRP decoder yet. The plan is:

  • Convert IRP to a NFA, much like regular expressions. There will also be a NFA executer to decode IR.
  • Convert the NFA to DFA to make it much more efficient
  • Compile the NFA to BPF to build an IR decoder which can be loaded in the linux kernel