I just found a bug in my reversing script (again) …
You need to know the NEC protocol is sending the command first straight and than logical inverted. Afterwards the command will be send forward, than logical inverted.
Because I should know this, my converter just take the first two values of the address:
line. So the output is:
Filetype: IR signals file
Version: 1
#
name: POWER
type: parsed
protocol: NECext
address: fb FB 00 00
command: a5 00 00 00
The invert of 04 is FB … So you need to enter 04 or FB at each address:
, not both.
The File could look like this:
Filetype: IR signals file
Version: 1
#
# Test file 0.1 for
# https://forum.flipper.net/t/seeking-assistance-in-creating-an-infrared-file/19207/4
#
name: POWER
type: parsed
protocol: NECext
address: 04 00 00 00
command: 5A 00 00 00
#
name: MUTE
type: parsed
protocol: NECext
address: 04 00 00 00
command: 1A 00 00 00
#
name: Play/Pause
type: parsed
protocol: NECext
address: 04 00 00 00
command: 56 00 00 00
#
name: REV
type: parsed
protocol: NECext
address: 04 00 00 00
command: 57 00 00 00
#
name: FFD
type: parsed
protocol: NECext
address: 04 00 00 00
command: 16 00 00 00
#
name: UP
type: parsed
protocol: NECext
address: 04 00 00 00
command: 53 00 00 00
#
name: LEFT
type: parsed
protocol: NECext
address: 04 00 00 00
command: 4A 00 00 00
#
name: MENU
type: parsed
protocol: NECext
address: 04 00 00 00
command: 4B 00 00 00
#
name: RIGHT
type: parsed
protocol: NECext
address: 04 00 00 00
command: 0A 00 00 00
#
name: DOWN
type: parsed
protocol: NECext
address: 04 00 00 00
command: 53 00 00 00
#
name: VOL+
type: parsed
protocol: NECext
address: 04 00 00 00
command: 51 00 00 00
#
name: PREV
type: parsed
protocol: NECext
address: 04 00 00 00
command: 50 00 00 00
#
name: EXIT
type: parsed
protocol: NECext
address: 04 00 00 00
command: 13 00 00 00
#
name: VOL-
type: parsed
protocol: NECext
address: 04 00 00 00
command: 4D 00 00 00
#
name: NEXT
type: parsed
protocol: NECext
address: 04 00 00 00
command: 4C 00 00 00
#
name: FUNC
type: parsed
protocol: NECext
address: 04 00 00 00
command: 0F 00 00 00