sunny747 Posted February 7, 2006 Posted February 7, 2006 HI,i'm using usb infrared....i've noticed IR hangs while attempting to send file if the other device is not in range....but after a minute or so, it becomes active again.............if the other device is not in range, it shows error message but takes long time to show.........So i was wondering if there is way to minimize the time of the error msg which means it will show the msg quicker......i'm coding a small software where i don't want my user to sit long if somehow they do mistake in sending the file......or if it is possible to force IR not to hang doesn't matter the file has been sent or not.....IR hangs, my whole software hangs.....any idea?thanks in advance...Title Edited - Please follow new posting rules from now on.--Zxian
sheikh shah Posted February 10, 2006 Posted February 10, 2006 HI,i'm using usb infrared....i've noticed IR hangs while attempting to send file if the other device is not in range....but after a minute or so, it becomes active again.............if the other device is not in range, it shows error message but takes long time to show.........So i was wondering if there is way to minimize the time of the error msg which means it will show the msg quicker......i'm coding a small software where i don't want my user to sit long if somehow they do mistake in sending the file......or if it is possible to force IR not to hang doesn't matter the file has been sent or not.....IR hangs, my whole software hangs.....any idea?thanks in advance...Title Edited - Please follow new posting rules from now on.--Zxian sunny boy the problem u r havng might b bcuz of the ir techonology which u r using cuz as i know there couple of them availablei; line of sightii; reflectiveiii; spreading signalthe first one is common in tv remotesso u better check it which one is urs and switching to the 3rd one might b a gd idea 4 u to avoid the problm u r havngP.S.just an amateur suggestion buddy, listen to all and do the best.
LLXX Posted February 10, 2006 Posted February 10, 2006 (edited) It depends where the timeout/retry logic is located. Most likely somewhere in the driver.Figure out where the timeout/retry values are found in the driver, then edit it to reduce the timeout/retries. Edited February 10, 2006 by LLXX
sunny747 Posted February 14, 2006 Author Posted February 14, 2006 It depends where the timeout/retry logic is located. Most likely somewhere in the driver.Figure out where the timeout/retry values are found in the driver, then edit it to reduce the timeout/retries.hi,thanks for your reply...........well timeout/retry in the driver.........how do i do it?? any hints? regards,Sunny
LLXX Posted February 15, 2006 Posted February 15, 2006 Do you know much at all about drivers, coding, and how the infrared hardware works?If not it will be much too difficult for you to do this.
sunny747 Posted February 16, 2006 Author Posted February 16, 2006 Do you know much at all about drivers, coding, and how the infrared hardware works?If not it will be much too difficult for you to do this.Hi thanks for your reply.....well i have got idea abt coding......but not really sure abt driver coding and stuff....if it is possible to give me some hints , then i can possible start........thanks..
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now