Differences in protocol NEC1, device 0

This is the JP1 beginners forum. There's no such thing as a stupid question in here, so post away, but this forum is just for JP1 users and people considering JP1, non-JP1 users please use the appropriate forum above!

Moderator: Moderators

Post Reply
calisoto
Posts: 12
Joined: Sat Dec 13, 2008 7:51 am
Location: Spain

Differences in protocol NEC1, device 0

Post 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!
vickyg2003
Site Admin
Posts: 7104
Joined: Sat Mar 20, 2004 12:19 pm
Location: Florida
Contact:

Post 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.
Remember to provide feedback to let us know how the problem was solved and share your upgrades.

Tip: When creating an upgrade, always include ALL functions from the oem remote, even if you never plan on assigning them to a button. Complete function lists makes an upgrade more helpful to others.
johnsfine
Site Admin
Posts: 4766
Joined: Sun Aug 10, 2003 5:00 pm
Location: Bedford, MA
Contact:

Post 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.
calisoto
Posts: 12
Joined: Sat Dec 13, 2008 7:51 am
Location: Spain

NEC1 protocol

Post 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.
Post Reply