Page 1 of 1

How to handle the press and hold a key?

PostPosted: Wed 13. Jul 2011, 06:20
by Santosh
My application is accessing Set Top Box (STB) via http request using IRTRANS. All the keyes are working fine. Now I got a new request to handle the situation of keep holding a particular key for some time. How to handle this scenario? Please help.

To send a key to STB my application uses the below URL.
http://192.168.0.32:80/send.htm?remote= ... d=external

moto is the database name/ remote name
RC_DOWNARRAOW is name of the key.

This request results in STB to process one down arrow key.

New requirement says keep pressed the down arrow for say 20 second.

If I hold the key down arrow pressed manully on remote. STB starts responding like the key is pressed multiple times.

Re: How to handle the press and hold a key?

PostPosted: Wed 13. Jul 2011, 11:08
by IRTrans
Hi,
20s is a VERY long time.

With the GUI Client you can learn long key presses with the special option for that. That will work for up to around 4-5s.

Which firmware version does your IRTrans device have?

IRTrans

Re: How to handle the press and hold a key?

PostPosted: Wed 13. Jul 2011, 12:50
by Santosh
It seems the firmware version is 1.4.0.3
About.JPG
About.JPG
About.JPG (14.34 KiB) Viewed 33553 times


Although the PDFs file present in documentation having version 3.8

Re: How to handle the press and hold a key?

PostPosted: Wed 13. Jul 2011, 13:04
by IRTrans
Hi,
that is only the SW version of the taskbar wrapper.

You can see the versions if you open the diagnostics window of the IR Server (IR Icon).

IRTrans

Re: How to handle the press and hold a key?

PostPosted: Wed 13. Jul 2011, 13:11
by Santosh
IRServer Version 6.02.30
[ 0]: IRTrans LAN: IR VER: E6.04.40 ETH VER: L1.07.32 SN: 44007
MAC:00-22-3e-08-00-7c IP Addr: 192.168.0.32