USB-UIRT Forum Forum Index USB-UIRT Forum
Plug-n-Play IR Solution
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Learnt code and received code

 
Post new topic   Reply to topic    USB-UIRT Forum Forum Index -> Developers
View previous topic :: View next topic  
Author Message
olivier



Joined: 18 Oct 2005
Posts: 3

PostPosted: Tue Oct 18, 2005 5:53 pm    Post subject: Learnt code and received code Reply with quote

Hello Smile
i'm scared to ask an already resolved question but i don't understand anything:
When i learn a code, iget:
0000 0068 0000 000D 005F 0018 0030 0018 0018 0018 0018 0018 0030 0018 0018 0018 0018 0018 0018 0018 0030 0018 0018 0018 0018 0018 0018 0018 0018 041E

When i receive a code, i get:
190002A0A0CA

Is there a way to recognize a receive code vs an allready learnt code ?

Thanks again

PS: my first logged in post Smile
________
Arizona medical marijuana


Last edited by olivier on Mon Mar 14, 2011 7:20 pm; edited 1 time in total
Back to top
View user's profile Send private message
jrhees
Site Admin


Joined: 28 Jan 2003
Posts: 1652

PostPosted: Wed Oct 19, 2005 12:59 am    Post subject: Reply with quote

The simple answer is 'no'. In the API docs it talks about this. The 'event' code during normal reception is a compressed code which does not have all of the information to recreate an IR code (like carrier and timing info). This is because this information is not available via the long-range receiver.

If you need to have a mapping between 'learned' codes (used for IR transmission) and IR event codes, the suggestion is to create a learn procedure that first performs a LearnIR() and then asks the user to press the same button again so as to capture the corresponding event code.

-Jon
Back to top
View user's profile Send private message Send e-mail
olivier



Joined: 18 Oct 2005
Posts: 3

PostPosted: Wed Oct 19, 2005 12:56 pm    Post subject: Reply with quote

This is what i made....
Thanks for ur answer Smile
________
Homemade Vaporizer


Last edited by olivier on Mon Mar 14, 2011 7:20 pm; edited 1 time in total
Back to top
View user's profile Send private message
AndyH



Joined: 03 May 2006
Posts: 2
Location: Indianapolis, IN

PostPosted: Tue May 09, 2006 2:53 pm    Post subject: Reply with quote

jrhees wrote:
The simple answer is 'no'. In the API docs it talks about this. The 'event' code during normal reception is a compressed code which does not have all of the information to recreate an IR code (like carrier and timing info). This is because this information is not available via the long-range receiver.

If you need to have a mapping between 'learned' codes (used for IR transmission) and IR event codes, the suggestion is to create a learn procedure that first performs a LearnIR() and then asks the user to press the same button again so as to capture the corresponding event code.

-Jon


Is the algorithm used to compress the code available? I will be using this for 2 way communication and being able to see the data portion of the signal will be required. The carrier is not important, but some of the timing information MAY be? Does the UIRT have a mode to display the length of the bursts in time (like Milleseconds) instead of number of carrier pulses, similar to Pronto mode 0100?

-AndyH
_________________
Waiting to grok it.
Back to top
View user's profile Send private message
dnorwood2
Guest





PostPosted: Tue Jun 06, 2006 5:43 am    Post subject: Reply with quote

I would be interested in this as well. Is there enough information in a raw or pronto code to convert it to a UIR style code? Could someone theoretically reverse engineer the usb-uirt firmware to determin the algorithym?

David
Back to top
Display posts from previous:   
Post new topic   Reply to topic    USB-UIRT Forum Forum Index -> Developers All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group