Skip to content

Instantly share code, notes, and snippets.

@zoilomora
Last active September 20, 2021 22:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zoilomora/8cdfc23c82d3ee33a1593131723335f7 to your computer and use it in GitHub Desktop.
Save zoilomora/8cdfc23c82d3ee33a1593131723335f7 to your computer and use it in GitHub Desktop.
AnalysIR

Appendix B – Configuration File, ANALYSIR.ini

This file, which is located in your ‘APPDATA’ directory and named AnalysIR.ini, contains all of the important configuration details for your installation. You can find a list of parameters via:

Menu -> File -> Properties

Below we highlight some of the important settings in Configuration file.

Item Description Format
[CUSTOMnn] Section Heading for a custom protocol definition, where nn is a number starting at 1 Text
MARK Duration of the Mark μSecs
MARK0 Duration of the Mark for a zero bit μSecs
MARK1 Duration of the Mark for a one bit μSecs
SPACE Duration of the Space μSecs
SPACE0 Duration of the Space for a zero bit μSecs
SPACE1 Duration of the Space for a one bit μSecs
HEADER Duration of the Header Mark μSecs
HEADERSPACE Duration of the Header Space μSecs
CARRIER The carrier frequency for information only. Hz
BITS The number of bits in this protocols. For Custom protocols this can be set to zero, to indicate any number of bits is OK. numeric
DELTA The default tolerance parameter for this protocol. For example a value of 200 means that AnalysIR will accept signal timings that are within +/- 200 of the configured time for that protocol. μSecs
ALTNAME An alternative name for this protocol. Normally the protocol name is Taken from the Section Header. For Custom protocols the Altname is used as the actual name. Text
GENERIC If this is set to true then this protocol definition uses the AnalysIR automatic decoding syntax. True / False
SYNTAX This defines the syntax used by the AnalysIR automatic decoding algorithm. Text
MARKS The list of Mark timings (μSecs) used by the AnalysIR automatic decoding algorithm. Text
SPACES The list of Space timings (μSecs) used by the AnalysIR automatic decoding algorithm. Text

Notes:

  • The file is in a Windows text file format, for easy editing.
  • All text on any line after and including a ‘#’ is ignored.
  • Spaces & Tabs are ignored
  • [xxxx] signifies a Section heading
  • AAAA = BBBBB signifies a parameter setting.
  • Unknown or malformed Section headings/parameters are ignored.
  • Parameters belong to the last correctly detected Section headings.

Sources

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment