https://github.com/probonopd/decodeir
Convert raw or Pronto Hex infrared codes into protocol, device, subdevice, command
https://github.com/probonopd/decodeir
infrared infrared-decoder pronto-hex
Last synced: about 1 year ago
JSON representation
Convert raw or Pronto Hex infrared codes into protocol, device, subdevice, command
- Host: GitHub
- URL: https://github.com/probonopd/decodeir
- Owner: probonopd
- Created: 2013-06-10T21:27:48.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2020-04-18T16:36:05.000Z (about 6 years ago)
- Last Synced: 2025-05-06T02:57:19.059Z (about 1 year ago)
- Topics: infrared, infrared-decoder, pronto-hex
- Language: C++
- Homepage:
- Size: 330 KB
- Stars: 26
- Watchers: 6
- Forks: 11
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
decodeir [](https://travis-ci.com/probonopd/decodeir)
========
decodeir is an executable that converts raw or Pronto Hex infrared codes into protocol, device, subdevice, command = OBC information.
It is based on DecodeIR v2.45 sources from http://www.hifi-remote.com/forums/viewtopic.php?t=14219 by John S. Fine, revision by Graham Dixon, with all Java and Windows code removed and converted from a library to a standalone executable by me.
Usage:
```
./decodeir 0000 006C 0022 0002 015B 00AD 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0041 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0622 015B 0057 0016 0E6C
protocol=NEC1 device=0 subdevice=191 obc=1 hex0=127 hex1=-1 hex2=-1 hex3=-1 misc= error=
```
TODO:
* Include raw to Pronto hex conversion routines from ExchangeIR.cpp by Graham Dixon from the source at http://www.hifi-remote.com/forums/dload.php?action=file&file_id=8460 - if anyone knows how to do this, please drop me a line (I can't get it to compile on Linux)