Loading...
Searching...
No Matches
transmit.h
Go to the documentation of this file.
/****************************************************************************
** transmit.h **************************************************************
****************************************************************************/
#ifndef _TRANSMIT_H
#define _TRANSMIT_H
#include "ir_remote.h"
#ifdef __cplusplus
extern "C" {
#endif
#define WBUF_SIZE 256
void send_buffer_init(void);
int send_buffer_put(struct ir_remote* remote, struct ir_ncode* code);
int init_sim(struct ir_remote* remote,
struct ir_ncode* code,
int repeat_preset);
int send_buffer_length(void);
const lirc_t* send_buffer_data(void);
lirc_t send_buffer_sum(void);
#ifdef __cplusplus
}
#endif
#endif
send_buffer_put
int send_buffer_put(struct ir_remote *remote, struct ir_ncode *code)
Initializes the global send buffer for transmitting the code in the second argument,...
Definition transmit.c:351
send_buffer_sum
lirc_t send_buffer_sum(void)
Definition transmit.c:380
send_buffer_init
void send_buffer_init(void)
Clear and re-initiate the buffer.
Definition transmit.c:58
send_buffer_data
const lirc_t * send_buffer_data(void)
Definition transmit.c:375
send_buffer_length
int send_buffer_length(void)
Do not document this function.
Definition transmit.c:369
ir_remote.h
Describes and decodes the signals from IR remotes.
ir_ncode
IR Command, corresponding to one (command defining) line of the configuration file.
Definition ir_remote_types.h:60
ir_remote
One remote as represented in the configuration file.
Definition ir_remote_types.h:150