Wake-Up parameters

Interested in integrating USB-UIRT support into an application? Look here!

Moderator: jrhees

Wake-Up parameters

Postby kRutOn » Sun Sep 30, 2007 4:14 am

I'm trying to create a program that sets the wake-up parameters in the USB-UIRT device like the lrnhelper program does.

What I write to the device seems the same, but it doesn't actually wake up my machine.

Here's the output of a GPIO slot 0 config fetch after setting it with LrnHelper. Everything works perfectly after programmed with LrnHelper.
Code: Select all
send: 0x23 0xdd
recv: 0x09 0x05 0x01 0x01 0x1a 0x03 0x04 0xcf
send: 0x30 0x01 0xcf
recv: 0x04 0x08 0x01 0x00 0x00 0xf3
send: 0x31 0x02 0x00 0xcd
recv: 0x43 0x08 0x10 0x00 0x00 0xf5 0xc3 0x14 0xd9
GPIO configuration for slot 0
        IR Code: 0x43 0x08 0x10 0x00 0x00 0xf5
        Pin action: Pulse pin (negative)
        Port: A.3
        Duration: 100 ms


When I try to recreate the same outcome with my code, it seems to be configured identically. However, the machine doesn't wake up when receiving the IR code anymore.
Code: Select all
send: 0x23 0xdd
recv: 0x09 0x05 0x01 0x01 0x1a 0x03 0x04 0xcf
send: 0x20 0xe0
recv: 0x21
Press key on remote that you want to be the Wake-Up key...
recv: 0x43 0x08 0x10 0x00 0x00 0xf5
Press key on remote that you want to be the Wake-Up key again...
recv: 0x43 0x08 0x10 0x00 0x00 0xf5
send: 0x32 0x0a 0x00 0x43 0x08 0x10 0x00 0x00 0xf5 0xc3 0x14 0x9d
recv: 0x21
Successfully set Wake-Up code in slot 0.
send: 0x30 0x01 0xcf
recv: 0x04 0x08 0x01 0x00 0x00 0xf3
send: 0x31 0x02 0x00 0xcd
recv: 0x43 0x08 0x10 0x00 0x00 0xf5 0xc3 0x14 0xd9
GPIO configuration for slot 0
        IR Code: 0x43 0x08 0x10 0x00 0x00 0xf5
        Pin action: Pulse pin (negative)
        Port: A.3
        Duration: 100 ms


Is there some other special magic I have to send to get this to work correctly?
I've gone cross-eyed from staring at IR codes.
kRutOn
 
Posts: 4
Joined: Mon Aug 09, 2004 8:43 am
Location: Kansas, USA

Return to Developers

Who is online

Users browsing this forum: No registered users and 25 guests

cron