LIRC libraries Linux Infrared Remote Control

Loading...
Searching...
No Matches
transmit.h
Go to the documentation of this file.
1/****************************************************************************
2** transmit.h **************************************************************
3****************************************************************************/
26#ifndef _TRANSMIT_H
27#define _TRANSMIT_H
28
29#include "ir_remote.h"
30
31#ifdef __cplusplus
32 extern "C" {
33#endif
34
35#define WBUF_SIZE 256
36
38 void send_buffer_init(void);
39
47 int send_buffer_put(struct ir_remote* remote, struct ir_ncode* code);
48
50 int init_sim(struct ir_remote* remote,
51 struct ir_ncode* code,
52 int repeat_preset);
56 int send_buffer_length(void);
57
59 const lirc_t* send_buffer_data(void);
60
62lirc_t send_buffer_sum(void);
63
66#ifdef __cplusplus
67}
68#endif
69
70#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