On Thursday 10 April 2008, Marcel de Jong wrote:
> I grabbed the CVS version yesterday, and had it run, but it only took
> one command in the file. I had to download the learnIr file for each
> and every command separately. I kinda expected it to read through all
> the key commands selected in the screen, and which are available in
> the file. Bad assumption on my part?
I'm afraid, yes - LearnIR will currently only learn the first key
from the xml file, even if you selected multiple keys.
I was just about to post a multiple-key xml file, just in case
Phil or Steven would be interested to see one - see attachment:
It's from a wireshark sniff of a session with the cuurent Windows
software, and piped through tidy to make the XML better readable.
(and anonymized to protect my privacy).
> It does learn it, sadly the remote still does not turn my TV on or
> off, not sure why though (not a big problem, since I turn the TV off
> completely anyway), and the distance between tv IR-eye and remote IR
> transmitter needs to be pretty close.
As I just wrote in this thread, there is still a bug in remote.cpp,
which means that you learned nothing but garbage.
Andreas
<?xml version="1.0" encoding="utf-8"?>
<INFORMATION>
<USERMESSAGES>
<USERMESSAGE>
<VERSIONS>
<VERSION>
<CLIENTSOFTWARE>2.3</CLIENTSOFTWARE>
</VERSION>
<VERSION>
<CLIENTSOFTWARE>2.4</CLIENTSOFTWARE>
</VERSION>
<VERSION>
<CLIENTSOFTWARE>2.5</CLIENTSOFTWARE>
</VERSION>
<VERSION>
<CLIENTSOFTWARE>2.7</CLIENTSOFTWARE>
</VERSION>
<VERSION>
<CLIENTSOFTWARE>2.8</CLIENTSOFTWARE>
</VERSION>
</VERSIONS>
<TYPE>Warning</TYPE>
<TEXT>WARNING: This version of the software is no longer
supported. Please click on the 'Software' link in the top
right corner of your browser to get the latest
version.</TEXT>
</USERMESSAGE>
<USERMESSAGE>
<VERSIONS>
<VERSION>
<CLIENTSOFTWARE>2.3</CLIENTSOFTWARE>
</VERSION>
<VERSION>
<CLIENTSOFTWARE>2.4</CLIENTSOFTWARE>
</VERSION>
<VERSION>
<CLIENTSOFTWARE>2.5</CLIENTSOFTWARE>
</VERSION>
<VERSION>
<CLIENTSOFTWARE>2.7</CLIENTSOFTWARE>
</VERSION>
<VERSION>
<CLIENTSOFTWARE>2.8</CLIENTSOFTWARE>
</VERSION>
</VERSIONS>
<TYPE>Abort</TYPE>
</USERMESSAGE>
</USERMESSAGES>
<TRANSFERTYPE>Winsock</TRANSFERTYPE>
<CHECKKEYS>
<TARGETCONSECUTIVEKEYS>1</TARGETCONSECUTIVEKEYS>
</CHECKKEYS>
<INPUTPARMS>
<PARAMETER>
<KEY>KeyName</KEY>
<VALUE>0</VALUE>
</PARAMETER>
<PARAMETER>
<KEY>KeyName</KEY>
<VALUE>1</VALUE>
</PARAMETER>
<PARAMETER>
<KEY>KeyName</KEY>
<VALUE>2</VALUE>
</PARAMETER>
<PARAMETER>
<KEY>KeyName</KEY>
<VALUE>3</VALUE>
</PARAMETER>
<PARAMETER>
<KEY>KeyName</KEY>
<VALUE>4</VALUE>
</PARAMETER>
<PARAMETER>
<KEY>KeyName</KEY>
<VALUE>5</VALUE>
</PARAMETER>
</INPUTPARMS>
<CONFIGURATION>
<CONFIGOPTION>
<KEY>MessagePressKey</KEY>
<VALUE>Press and release the '%KEYNAME%' on your original
remote control.</VALUE>
</CONFIGOPTION>
<CONFIGOPTION>
<KEY>MessagePressKeyGeneral</KEY>
<VALUE>Press and release the '%KEYNAME%' on your original
remote control.</VALUE>
</CONFIGOPTION>
<CONFIGOPTION>
<KEY>InstructionAcquiring</KEY>
<VALUE>As shown, start with the remote controls 2 inches (5
cm) apart, then press and release the '%KEYNAME%'
button.</VALUE>
</CONFIGOPTION>
<CONFIGOPTION>
<KEY>InstructionAcquiringGeneral</KEY>
<VALUE>As shown, start with the remote controls 2 inches (5
cm) apart, then press and release the '%KEYNAME%'
button.</VALUE>
</CONFIGOPTION>
<CONFIGOPTION>
<KEY>MessageKeyDetected</KEY>
<VALUE>Learning successful!</VALUE>
</CONFIGOPTION>
<CONFIGOPTION>
<KEY>MessageIrDetected</KEY>
<VALUE>Please try again.</VALUE>
</CONFIGOPTION>
</CONFIGURATION>
<POSTOPTIONS>
<SERVER>myremotesetup.com</SERVER>
<PATH>
EasyZapper/New/ProcDigitizeInfrared/LearnIr_Receive.asp</PATH>
<TIMEOUT>30000</TIMEOUT>
<HEADERS>
<HEADER>
<KEY>Cookie</KEY>
<VALUE>
CookieKeyValue=%7BEE---------------------------------------------------------------------
AUSER=A----------; PSWD=KI-------
HR%5FUSER%5FLANGUAGE=enu; SKIN%5FID=Tonic;
HRLB=17--------------;
ASPSESSIONIDQCQSCATC=MIi-------------</VALUE>
</HEADER>
</HEADERS>
<PARAMETERS>
<PARAMETER>
<KEY>UserId</KEY>
<VALUE>25------</VALUE>
</PARAMETER>
<PARAMETER>
<KEY>UserDeviceId</KEY>
<VALUE>20------</VALUE>
</PARAMETER>
<PARAMETER>
<KEY>KeyName</KEY>
<VALUE>5</VALUE>
</PARAMETER>
</PARAMETERS>
</POSTOPTIONS>
<COMPLETEPOSTOPTIONS>
<SERVER>myremotesetup.com</SERVER>
<PATH>
EasyZapper/New/ProcDigitizeInfrared/LearnIr_Receive_Complete.asp</PATH>
<TIMEOUT>30000</TIMEOUT>
</COMPLETEPOSTOPTIONS>
</INFORMATION>
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
concordance-devel mailing list
concordance-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/concordance-devel