PDA

View Full Version : can I get the new plug-in source files for winfast 2000???



arey
November 18th, 2002, 11:33 AM
Hi,
this is in relation to the plugin for winfast 2000 developed by Juan Toledo.
The remote that comes with the winfast 2000XP TV has more keys than its older version for which Juan Toledo has developed. I tried to solve the problem by following the suggestion(by changing the mask) posted by ron in one of the newsgroup postings. I think the files that I downloaded for the plugin are outdated and were meant for the previous version of girder(version less than 3.2). I am using VC++ version 6.0 to compile the dll file.

Girder gives me the following error message during startup when I deploy the new dll(winfast.dll) that I compiled in the girder's plugin directory. Here is the error message, verbatim.
"Old plugin found; thePathOfthedllfile, you downloaded the incorrect version please make sure that you get the Girder 3.2 compatible version of this plugin."

I would really appreciate if someone sent me the link the most recent version of the winfast plugin source files so that me as well as other people can take advantage of the extra buttons present on the winfast 2000Xp remote.

thanks in advance.

Ron
November 18th, 2002, 01:44 PM
The plugin is available as source code on the developers page also the Girder 3.2 version is available on the download section.

arey
November 18th, 2002, 04:53 PM
Hi Ron,
Yes I have been using the source code downloaded recently(2 days ago) from the developer's page and also have the most recent version of girder(3.2.6). It looks to me like the zip file which containts the source code for the winfast remote is outdated. I have seen the source code and it follows the older API of girder.

Can you make sure that the source code fro the plugin is the one for girder version 3.2 whenever you have time?

thanks for your time

arey
November 18th, 2002, 05:19 PM
never mind ron. I have just seen that the plugin has been replaced(nov. 18th) with the bt8x8 zip file. I have downloaded and compiled them. They seem to work as expected. Thanks for your help.

I think Girder has now become one of the most important softwares that I have on my computer. You have started a great project. Hats off to you and all the volunteers involved!!!

arey
November 18th, 2002, 06:41 PM
I have been working on the plugin specific for winfast TV 2000xp. I am trying to make the plugin generate different hex codes for different buttons on the remote. Here is the problem.

void SendKey(int key)
{
// Convert to Hex
BYTE o, h, l;
char Buffer[100];

o = BYTE(key);
h = BYTE(o / 16);
l = BYTE(o % 16);

if (h < 10)
Buffer[0] = char(h+48);
else
Buffer[0] = char(h+55);

if (l < 10)
Buffer[1] = char(l+48);
else
Buffer[1] = char(l+55);

Buffer[2] = 0;

SendString(Buffer);
}

In this function I am receiving unique key values for the buttons that were pressed. But while converting the key to hex value some values are converted to the same hex code. Does anyone know how to convert these so that they may generate unique hex codes. For example the above functions converts the key 0 and 2048 to the hex code 0x0 .

I have also changed the mask to 0x8f8 obtained from lirc_gpio.c file of the lirc project.

Ron
November 19th, 2002, 01:44 AM
Give us some values of codes that are translated to the same hex values, maybe we can spot the problem easier that way.