receiving ir codes without the optional db

The place where software developers meet

Moderator: marcus

receiving ir codes without the optional db

Postby bram » Thu 27. Jan 2011, 15:20

Hi,

I would like to get the ir codes from the irtrans device (network) without the optional db or learning process.

Now when I connect to the device and send ASCR or ASCI I can get responds on things like Aver.
When I take a remote and point it at the device and push a button the device does not automaticly send the code for this button.

The manual says that code not in the db are not being sent out to me, therefor without a db I can wait very long.

I have tried in UDP and TCP mode and this makes no difference.

It seems to me this is possible because the irtransserver would need this function to work.

I'm guessing I have to send a command to tell the irtrans device to start sending me it's data.
Also I'm unsure, should I use TCP or UDP and should I start with ASCR or ASCI.

I looked at the source to find the answer but I'm no C programmer and I can't find it.

It is important to me to use the device without the supplied software because I use FreeBSD my "server" needs to translate the ir codes in other commands for other ethernet devices.

Kind regards
bram
 
Posts: 2
Joined: Thu 27. Jan 2011, 15:04

Re: receiving ir codes without the optional db

Postby IRTrans » Thu 27. Jan 2011, 17:31

Hi,
without the IRDB Device you can only use the binary data sent via UDP port 21000.

Please note that there is no API available for the binary interface - it is only supported through the irserver.

I would suggest you compile the irserver for your platform and use it.

IRTrans
IRTrans
Administrator
 
Posts: 2115
Joined: Mon 21. Apr 2008, 23:32

Re: receiving ir codes without the optional db

Postby bram » Thu 27. Jan 2011, 18:57

I tried compiling but where this does work on linux, freebsd is a very different thing, also the server is 64 bit.

I got:
mail# make all
gcc x86/ccf.o -m32 -o irserver
/usr/bin/ld: skipping incompatible /usr/lib/libgcc.a when searching for -lgcc
/usr/bin/ld: skipping incompatible /usr/lib/libgcc.a when searching for -lgcc
/usr/bin/ld: cannot find -lgcc
*** Error code 1

Stop in /usr/local/www/data-dist/SERVER.
mail# make irserver64
gcc -DX64 x64/ccf.o -m64 -o irserver64
/usr/lib/crt1.o(.text+0x8a): In function `_start':
: undefined reference to `main'
x64/ccf.o(.text+0x146): In function `DecodeProntoNEC':
: undefined reference to `SwapWordN'
x64/ccf.o(.text+0x14f): In function `DecodeProntoNEC':
: undefined reference to `SwapWordN'
x64/ccf.o(.text+0x31b): In function `DecodePronto7000':
: undefined reference to `log_print'
x64/ccf.o(.text+0x3f2): In function `DecodePronto7000':
: undefined reference to `log_print'
x64/ccf.o(.text+0x500): In function `DecodePronto7000':
: undefined reference to `log_print'
x64/ccf.o(.text+0xaae): In function `DecodeProntoRaw':
: undefined reference to `time_len'
x64/ccf.o(.text+0xc0e): In function `DecodeProntoRawIRRaw':
: undefined reference to `time_len'
x64/ccf.o(.text+0x2461): In function `StorePTiming':
: undefined reference to `time_len'
*** Error code 1

Stop in /usr/local/www/data-dist/SERVER.
mail#

Would it be possible to send this unit back and get one with the optional DB ?

Kind regards
bram
 
Posts: 2
Joined: Thu 27. Jan 2011, 15:04

Re: receiving ir codes without the optional db

Postby IRTrans » Thu 27. Jan 2011, 19:51

The device can be upgraded.

Please send us an Email to get this organized.

IRTrans
IRTrans
Administrator
 
Posts: 2115
Joined: Mon 21. Apr 2008, 23:32


Return to APIs

Who is online

Users browsing this forum: No registered users and 14 guests