Defines | Functions
IRTrans.h File Reference
#include <stdio.h>
#include "remote.h"
#include "network.h"
#include "errcode.h"
Include dependency graph for x86/IRTrans.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define IRTRANSDLL_API
#define SEND_ACTION   128
#define TIMER_OFF   1
#define TIMER_ONCE   2
#define TIMER_REPEAT   4
#define TIMER_UNUSED   0xff
#define WD_FRIDAY   5
#define WD_MONDAY   1
#define WD_SATURDAY   6
#define WD_SUNDAY   0
#define WD_THURSDAY   4
#define WD_TUESDAY   2
#define WD_WEDNESDAY   3

Functions

IRTRANSDLL_API int ConnectIRTransServer (char host[], SOCKET *sock)
IRTRANSDLL_API void DisconnectIRTransServer (SOCKET serv)
IRTRANSDLL_API int GetBuslist (SOCKET serv, int16_t offset, BUSBUFFER *rem)
IRTRANSDLL_API int GetCommands (SOCKET serv, char rem[], int16_t offset, COMMANDBUFFER *com)
IRTRANSDLL_API int GetDeviceStatus (SOCKET serv, void *result)
IRTRANSDLL_API int GetDeviceStatusExN (SOCKET serv, int offset, void *result)
IRTRANSDLL_API int GetRemotes (SOCKET serv, int16_t offset, REMOTEBUFFER *rem)
IRTRANSDLL_API NETWORKSTATUSLearnIRCode (SOCKET serv, char rem[], char com[], unsigned short timeout)
IRTRANSDLL_API NETWORKSTATUSLearnIRCodeEx (SOCKET serv, char rem[], char com[], unsigned short timeout, byte ir_timeout)
IRTRANSDLL_API NETWORKSTATUSLearnRawIRCode (SOCKET serv, char rem[], char com[], unsigned short timeout)
IRTRANSDLL_API NETWORKSTATUSLearnRawIRCodeEx (SOCKET serv, char rem[], char com[], unsigned short timeout, byte ir_timeout)
IRTRANSDLL_API NETWORKSTATUSLearnRepeatIRCode (SOCKET serv, char rem[], char com[], unsigned short timeout)
IRTRANSDLL_API NETWORKRECVReceiveIR (SOCKET serv)
IRTRANSDLL_API NETWORKSTATUSReloadIRDatabase (SOCKET serv)
IRTRANSDLL_API NETWORKSTATUSSendCCFCommand (SOCKET serv, char ccfstr[], byte repeat, word mask, byte LEDSel, byte bus)
IRTRANSDLL_API NETWORKSTATUSSendCCFCommandLong (SOCKET serv, char ccfstr[], byte repeat, word mask, byte LEDSel, byte bus)
IRTRANSDLL_API NETWORKSTATUSSendRemoteCommand (SOCKET serv, char rem[], char com[], int mask, int LEDSel, int bus)
IRTRANSDLL_API NETWORKSTATUSSendRemoteCommandEx (SOCKET serv, char rem[], char com[], word mask, byte LEDSel, byte bus)
IRTRANSDLL_API NETWORKSTATUSSetTimerEntry (SOCKET serv, byte num, byte mode, byte year, byte month, byte day, byte weekday, byte hour, byte min, byte ledsel, word targetmask, byte remote[], byte command[], byte bus)

Define Documentation

#define IRTRANSDLL_API

Definition at line 45 of file x86/IRTrans.h.

#define SEND_ACTION   128

Definition at line 118 of file x86/IRTrans.h.

#define TIMER_OFF   1

Definition at line 119 of file x86/IRTrans.h.

#define TIMER_ONCE   2

Definition at line 120 of file x86/IRTrans.h.

#define TIMER_REPEAT   4

Definition at line 121 of file x86/IRTrans.h.

#define TIMER_UNUSED   0xff

Definition at line 117 of file x86/IRTrans.h.

#define WD_FRIDAY   5

Definition at line 114 of file x86/IRTrans.h.

#define WD_MONDAY   1

Definition at line 110 of file x86/IRTrans.h.

#define WD_SATURDAY   6

Definition at line 115 of file x86/IRTrans.h.

#define WD_SUNDAY   0

Definition at line 109 of file x86/IRTrans.h.

#define WD_THURSDAY   4

Definition at line 113 of file x86/IRTrans.h.

#define WD_TUESDAY   2

Definition at line 111 of file x86/IRTrans.h.

#define WD_WEDNESDAY   3

Definition at line 112 of file x86/IRTrans.h.


Function Documentation

IRTRANSDLL_API int ConnectIRTransServer ( char  host[],
SOCKET *  sock 
)
IRTRANSDLL_API void DisconnectIRTransServer ( SOCKET  serv)
IRTRANSDLL_API int GetBuslist ( SOCKET  serv,
int16_t  offset,
BUSBUFFER rem 
)
IRTRANSDLL_API int GetCommands ( SOCKET  serv,
char  rem[],
int16_t  offset,
COMMANDBUFFER com 
)
IRTRANSDLL_API int GetDeviceStatus ( SOCKET  serv,
void *  result 
)
IRTRANSDLL_API int GetDeviceStatusExN ( SOCKET  serv,
int  offset,
void *  result 
)
IRTRANSDLL_API int GetRemotes ( SOCKET  serv,
int16_t  offset,
REMOTEBUFFER rem 
)
IRTRANSDLL_API NETWORKSTATUS* LearnIRCode ( SOCKET  serv,
char  rem[],
char  com[],
unsigned short  timeout 
)
IRTRANSDLL_API NETWORKSTATUS* LearnIRCodeEx ( SOCKET  serv,
char  rem[],
char  com[],
unsigned short  timeout,
byte  ir_timeout 
)
IRTRANSDLL_API NETWORKSTATUS* LearnRawIRCode ( SOCKET  serv,
char  rem[],
char  com[],
unsigned short  timeout 
)
IRTRANSDLL_API NETWORKSTATUS* LearnRawIRCodeEx ( SOCKET  serv,
char  rem[],
char  com[],
unsigned short  timeout,
byte  ir_timeout 
)
IRTRANSDLL_API NETWORKSTATUS* LearnRepeatIRCode ( SOCKET  serv,
char  rem[],
char  com[],
unsigned short  timeout 
)
IRTRANSDLL_API NETWORKSTATUS* SendCCFCommand ( SOCKET  serv,
char  ccfstr[],
byte  repeat,
word  mask,
byte  LEDSel,
byte  bus 
)
IRTRANSDLL_API NETWORKSTATUS* SendCCFCommandLong ( SOCKET  serv,
char  ccfstr[],
byte  repeat,
word  mask,
byte  LEDSel,
byte  bus 
)
IRTRANSDLL_API NETWORKSTATUS* SendRemoteCommand ( SOCKET  serv,
char  rem[],
char  com[],
int  mask,
int  LEDSel,
int  bus 
)
IRTRANSDLL_API NETWORKSTATUS* SendRemoteCommandEx ( SOCKET  serv,
char  rem[],
char  com[],
word  mask,
byte  LEDSel,
byte  bus 
)
IRTRANSDLL_API NETWORKSTATUS* SetTimerEntry ( SOCKET  serv,
byte  num,
byte  mode,
byte  year,
byte  month,
byte  day,
byte  weekday,
byte  hour,
byte  min,
byte  ledsel,
word  targetmask,
byte  remote[],
byte  command[],
byte  bus 
)


ir_drivers
Author(s): Raul Perula-Martinez
autogenerated on Thu Apr 2 2015 03:06:05