LIRC libraries
 All Data Structures Files Functions Variables Typedefs Enumerations Macros Groups Pages
ir_remote.c File Reference

(94a15d4 2015-02-12 15:37:34 +0100)

Implements ir_remote.h. More...

#include <stdlib.h>
#include <stdio.h>
#include <fcntl.h>
#include <limits.h>
#include <sys/ioctl.h>
#include "include/media/lirc.h"
#include "lirc/ir_remote.h"
#include "lirc/driver.h"
#include "lirc/release.h"
#include "lirc/lirc_log.h"

Go to the source code of this file.


struct ir_ncodencode_dup (struct ir_ncode *ncode)
void ncode_free (struct ir_ncode *ncode)
void ir_remote_init (int use_dyncodes)
void get_frequency_range (const struct ir_remote *remotes, unsigned int *min_freq, unsigned int *max_freq)
void get_filter_parameters (const struct ir_remote *remotes, lirc_t *max_gap_lengthp, lirc_t *min_pulse_lengthp, lirc_t *min_space_lengthp, lirc_t *max_pulse_lengthp, lirc_t *max_space_lengthp)
const struct ir_remoteis_in_remotes (const struct ir_remote *remotes, const struct ir_remote *remote)
struct ir_remoteget_ir_remote (const struct ir_remote *remotes, const char *name)
int map_code (const struct ir_remote *remote, struct decode_ctx_t *ctx, int pre_bits, ir_code pre, int bits, ir_code code, int post_bits, ir_code post)
void map_gap (const struct ir_remote *remote, struct decode_ctx_t *ctx, const struct timeval *start, const struct timeval *last, lirc_t signal_length)
struct ir_ncodeget_code_by_name (const struct ir_remote *remote, const char *name)
void find_longest_match (struct ir_remote *remote, struct ir_ncode *codes, ir_code all, ir_code *next_all, int have_code, struct ir_ncode **found, int *found_code)
int write_message (char *buffer, size_t size, const char *remote_name, const char *button_name, const char *button_suffix, ir_code code, int reps)
char * decode_all (struct ir_remote *remotes)
int send_ir_ncode (struct ir_remote *remote, struct ir_ncode *code, int delay)
const struct ir_remoteget_decoding (void)


struct ir_remotedecoding = NULL
struct ir_remotelast_remote = NULL
struct ir_remoterepeat_remote = NULL
struct ir_ncoderepeat_code

Detailed Description

Implements ir_remote.h.

Ralph Metzler, Christoph Bartelmus

Definition in file ir_remote.c.