Infrared Flipper File Formats
Infrared Remote File Format
Example
Description
Filename extension: .ir
This file format is used to store an infrared remote that consists of an arbitrary number of buttons. Each button is separated from others by a comment character (#
) for better readability.
Known protocols are represented in the parsed
form, whereas non-recognized signals may be saved and re-transmitted as raw
data.
Version history:
Initial version.
Format fields
Infrared Library File Format
Examples
TV Universal Library
A/C Universal Library
Audio Universal Library
Description
Filename extension: .ir
This file format is used to store universal remote libraries. It is identical to the previous format, differing only in the Filetype
field.
It also has predefined button names for each universal library type, so that the universal remote application can understand them. See Universal Remotes for more information.
Version history:
Initial version.
Infrared Test File Format
Examples
See Infrared Unit Tests for various examples.
Description
Filename extension: .irtest
This file format is used to store technical test data that is too large to keep directly in the firmware. It is mostly similar to the two previous formats, with the main difference being the addition of the parsed signal arrays.
Each infrared protocol must have corresponding unit tests complete with an .irtest
file.
Known protocols are represented in the parsed_array
form, whereas raw data has the raw
type.
Note: a single parsed signal must be represented as an array of size 1.
Version history:
Initial version.
Format fields
Signal names
The signal names in an .irtest
file follow a convention <name><test_number>
, where the name is one of:
decoder_input
decoder_expected
encoder_decoder_input,
and the number is a sequential integer: 1, 2, 3, etc., which produces names like decoder_input1
, encoder_decoder_input3
, and so on.
See Unit Tests for more info.
Last updated