Learn Hex codes through the ASCI interface doesn't work

Everything related to learning and capturing of IR Codes

Moderator: marcus

Learn Hex codes through the ASCI interface doesn't work

Postby francis » Tue 18. Oct 2011, 11:22

Hi,

I'm trying to learn a command through the ASCII interface but it doesn't work. I using the ASCII protocol but some commands simply doesn't work, the firmware version that I'm using is the 6.08.30, and I'm sending the command that way:

socket.println("ASCI")
socket.println("Alearn")
socket.println("<CR>")

I'm developing a software using Java. Some commands like sending ir commands work well, Can anyone tell me what's wrong?
francis
 
Posts: 2
Joined: Tue 18. Oct 2011, 11:06

Re: Learn Hex codes through the ASCI interface doesn't work

Postby IRTrans » Tue 18. Oct 2011, 12:01

Hi,
please note that you will need to send the CR or LF together with the Alearn (e.g. "Alearn\n").
Furthermore do not send "<CR>" - you need to send the ASCII Code (e.g. 13).

Otherwise no idea - that has to be a problem with your application, the command itself is working without any problems.
Please check if Learning through the GUI Client works - maybe you have swichted of IR Reciving.

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

Re: Learn Hex codes through the ASCI interface doesn't work

Postby francis » Tue 18. Oct 2011, 16:50

So I have to send ("ASCI\n") ("Alearn\n") and press a button from the control to learn, right?
francis
 
Posts: 2
Joined: Tue 18. Oct 2011, 11:06

Re: Learn Hex codes through the ASCI interface doesn't work

Postby IRTrans » Tue 18. Oct 2011, 18:21

Correct, that is how it works.

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


Return to Learning of IR Codes

Who is online

Users browsing this forum: No registered users and 6 guests

cron