Snow
May 13th, 2004, 09:22 AM
I'm working on a thesis where I develop an application that works with infrared and Luc's UIRT2 module. At the moment I can receive, learn and resend RC5 infrared remote codes via RAW receive and transmit.
The problem resides in infrared codes of NEC, Sanyo, Pioneer and related Japanese remote controls. Their codes are much longer then RC5 codes.
For example:
Philips remote: 28 bytes received, 31 resend (dotxraw).
02e2 130f
130f
240f 130f 130f 130f 130f 130f 130f 120f 130f 1320 13ff
Sanyo remote: 70 bytes received, 73 resend (dotxraw).
8232 b156
0c08 0d08 0c09 0c1e 0c1e 0d1e 0c08 0d08
0c1e 0d1e 0c1e 0c09 0c08 0d08 0c1e 0d1e
0c1e 0c09 0c08 0d08 0c09 0c08 0d08 0c09
0c08 0d1e 0c1e 0c1e 0d1e 0c1e 0c1e 0d1e
0cff
The UIRT2 Command protocol limits transmitting to 50 bytes and I think this is the reason why I receive error code 81 (timeout) when I try to send the Sanyo code.
I have a very tight deadline to catch, so I would be very thankful to anyone who can confirm my theorem or anyone who can find a workaround for this vexing problem.
Best regards,
Snow
Edit: I tried this with Girder and learning in RAW-modus from the Sanyo remote control doesn't work. Structured-modus does, but that's no help since I'm working with RAW and I have to stick to this. The good old Philips device works fine in both ways...
The problem resides in infrared codes of NEC, Sanyo, Pioneer and related Japanese remote controls. Their codes are much longer then RC5 codes.
For example:
Philips remote: 28 bytes received, 31 resend (dotxraw).
02e2 130f
130f
240f 130f 130f 130f 130f 130f 130f 120f 130f 1320 13ff
Sanyo remote: 70 bytes received, 73 resend (dotxraw).
8232 b156
0c08 0d08 0c09 0c1e 0c1e 0d1e 0c08 0d08
0c1e 0d1e 0c1e 0c09 0c08 0d08 0c1e 0d1e
0c1e 0c09 0c08 0d08 0c09 0c08 0d08 0c09
0c08 0d1e 0c1e 0c1e 0d1e 0c1e 0c1e 0d1e
0cff
The UIRT2 Command protocol limits transmitting to 50 bytes and I think this is the reason why I receive error code 81 (timeout) when I try to send the Sanyo code.
I have a very tight deadline to catch, so I would be very thankful to anyone who can confirm my theorem or anyone who can find a workaround for this vexing problem.
Best regards,
Snow
Edit: I tried this with Girder and learning in RAW-modus from the Sanyo remote control doesn't work. Structured-modus does, but that's no help since I'm working with RAW and I have to stick to this. The good old Philips device works fine in both ways...