Page 1 of 1

Differences in protocol NEC1, device 0

Posted: Tue Nov 10, 2009 2:57 am
by calisoto
I understand that NEC1 only has only two fixed device bytes.
Looking for a nec 1, device 0 compatible code I have found 00 FF FF and 00 FF 00 as a fixed device bytes.
What is the difference between 00 FF FF and 00 FF 00?

Thank you!

Posted: Tue Nov 10, 2009 5:58 am
by vickyg2003
When the first byte of fixed data in a NEC1 protocol starts with 0, the third byte of fixed data is not used, so 00 FF 00 is the same as 00 FF FF.

Hope that helps.

Posted: Tue Nov 10, 2009 7:45 am
by johnsfine
The first fixed data byte controls a variety of options.

The second fixed data byte controls the first device bytes (FF means device 0) and depending on the options may also control the second device byte.

The third fixed data byte controls the second device byte only when the second fixed data byte doesn't. I didn't refresh my memory on which option bits do what, but I'll assume Vicky is correct and the second fixed data byte controls both device bytes in the case being discussed.

NEC1 protocol

Posted: Wed Nov 11, 2009 5:29 am
by calisoto
Thank you for the information.

I am making an upgrade for a device without the original remote, and I was confused about protocols. I have now more options to test.
I let you know if it works.