\hypertarget{ir__remote_8h}{}\section{/home/mk/tmp/lirc/lib/ir\+\_\+remote.h File Reference}
\label{ir__remote_8h}\index{/home/mk/tmp/lirc/lib/ir\+\_\+remote.\+h(ae09b60 2015-\/02-\/12 15\+:37\+:34 +0100)@{/home/mk/tmp/lirc/lib/ir\+\_\+remote.\+h(ae09b60 2015-\/02-\/12 15\+:37\+:34 +0100)}}


Describes and decodes the signals from IR remotes.  


{\ttfamily \#include $<$sys/types.\+h$>$}\newline
{\ttfamily \#include $<$sys/time.\+h$>$}\newline
{\ttfamily \#include $<$unistd.\+h$>$}\newline
{\ttfamily \#include $<$string.\+h$>$}\newline
{\ttfamily \#include $<$math.\+h$>$}\newline
{\ttfamily \#include $<$stdlib.\+h$>$}\newline
{\ttfamily \#include \char`\"{}driver.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}ir\+\_\+remote\+\_\+types.\+h\char`\"{}}\newline
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structir__ncode}{ir\+\_\+ncode} $\ast$ \hyperlink{group__driver__api_gac288bce2140d2066a3990a1b2e3317c5}{ncode\+\_\+dup} (struct \hyperlink{structir__ncode}{ir\+\_\+ncode} $\ast$ncode)
\item 
void \hyperlink{group__driver__api_ga4477860d1f604548e032694de8f69c16}{ncode\+\_\+free} (struct \hyperlink{structir__ncode}{ir\+\_\+ncode} $\ast$ncode)
\item 
const struct \hyperlink{structir__remote}{ir\+\_\+remote} $\ast$ \hyperlink{group__driver__api_gaadf09b8ef4b71be00f8e53a39f70d315}{is\+\_\+in\+\_\+remotes} (const struct \hyperlink{structir__remote}{ir\+\_\+remote} $\ast$remotes, const struct \hyperlink{structir__remote}{ir\+\_\+remote} $\ast$remote)
\item 
struct \hyperlink{structir__remote}{ir\+\_\+remote} $\ast$ \hyperlink{group__driver__api_ga251129673cd73c5f869bb53c6c38a88f}{get\+\_\+ir\+\_\+remote} (const struct \hyperlink{structir__remote}{ir\+\_\+remote} $\ast$remotes, const char $\ast$name)
\item 
void \hyperlink{group__driver__api_ga19bab2135ca2b7f68dc0b2f8cde9863f}{get\+\_\+frequency\+\_\+range} (const struct \hyperlink{structir__remote}{ir\+\_\+remote} $\ast$remotes, unsigned int $\ast$min\+\_\+freq, unsigned int $\ast$max\+\_\+freq)
\item 
void \hyperlink{group__driver__api_ga1a1b6c86d0309f25ab5806a5f861692c}{get\+\_\+filter\+\_\+parameters} (const struct \hyperlink{structir__remote}{ir\+\_\+remote} $\ast$remotes, lirc\+\_\+t $\ast$max\+\_\+gap\+\_\+lengthp, lirc\+\_\+t $\ast$min\+\_\+pulse\+\_\+lengthp, lirc\+\_\+t $\ast$min\+\_\+space\+\_\+lengthp, lirc\+\_\+t $\ast$max\+\_\+pulse\+\_\+lengthp, lirc\+\_\+t $\ast$max\+\_\+space\+\_\+lengthp)
\item 
int \hyperlink{group__driver__api_gabac8048f405d0a78fcc01fa9ef1132df}{map\+\_\+code} (const struct \hyperlink{structir__remote}{ir\+\_\+remote} $\ast$remote, struct \hyperlink{structdecode__ctx__t}{decode\+\_\+ctx\+\_\+t} $\ast$ctx, int pre\+\_\+bits, \hyperlink{ir__remote__types_8h_af5395595bc25a70e974255b83d97db06}{ir\+\_\+code} pre, int bits, \hyperlink{ir__remote__types_8h_af5395595bc25a70e974255b83d97db06}{ir\+\_\+code} code, int post\+\_\+bits, \hyperlink{ir__remote__types_8h_af5395595bc25a70e974255b83d97db06}{ir\+\_\+code} post)
\item 
void \hyperlink{group__driver__api_gac691a06cc99d8c914e2c7451407f245a}{map\+\_\+gap} (const struct \hyperlink{structir__remote}{ir\+\_\+remote} $\ast$remote, struct \hyperlink{structdecode__ctx__t}{decode\+\_\+ctx\+\_\+t} $\ast$ctx, const struct timeval $\ast$start, const struct timeval $\ast$last, lirc\+\_\+t signal\+\_\+length)
\item 
struct \hyperlink{structir__ncode}{ir\+\_\+ncode} $\ast$ \hyperlink{group__driver__api_gafaa7cb5587a3c58e3e825411b966738a}{get\+\_\+code\+\_\+by\+\_\+name} (const struct \hyperlink{structir__remote}{ir\+\_\+remote} $\ast$remote, const char $\ast$name)
\item 
int \hyperlink{group__driver__api_ga04461705747fd8521d369ee96ed762fe}{write\+\_\+message} (char $\ast$buffer, size\+\_\+t size, const char $\ast$remote\+\_\+name, const char $\ast$button\+\_\+name, const char $\ast$button\+\_\+suffix, \hyperlink{ir__remote__types_8h_af5395595bc25a70e974255b83d97db06}{ir\+\_\+code} code, int reps)
\item 
char $\ast$ \hyperlink{group__driver__api_gae334c37e486ce414abf272d4850df6c4}{decode\+\_\+all} (struct \hyperlink{structir__remote}{ir\+\_\+remote} $\ast$remotes)
\item 
int \hyperlink{group__driver__api_ga51d2eb6ccf92c9210c69cd727b712bae}{send\+\_\+ir\+\_\+ncode} (struct \hyperlink{structir__remote}{ir\+\_\+remote} $\ast$remote, struct \hyperlink{structir__ncode}{ir\+\_\+ncode} $\ast$code, int delay)
\item 
void \hyperlink{group__driver__api_ga8d5bc121b8582a690000bc8befe13080}{ir\+\_\+remote\+\_\+init} (int use\+\_\+dyncodes)
\item 
const struct \hyperlink{structir__remote}{ir\+\_\+remote} $\ast$ \hyperlink{group__driver__api_gaf2e0b982088d231116dea399afa8597f}{get\+\_\+decoding} (void)
\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structir__remote}{ir\+\_\+remote} $\ast$ \hyperlink{group__driver__api_ga474c489cabdaae4546ca0ac26ec9cd87}{last\+\_\+remote}
\item 
struct \hyperlink{structir__remote}{ir\+\_\+remote} $\ast$ \hyperlink{group__driver__api_ga7bc28a85da7d0ccf4466708918f01dc4}{repeat\+\_\+remote}
\item 
struct \hyperlink{structir__ncode}{ir\+\_\+ncode} $\ast$ \hyperlink{group__driver__api_ga2da0e0383db556d0e1ba7261763815c5}{repeat\+\_\+code}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
Describes and decodes the signals from IR remotes. 

\begin{DoxyAuthor}{Author}
Ralph Metzler, Christoph Bartelmus 
\end{DoxyAuthor}
