NEC 2DEV Combo protocols.ini entry PID 01 1A

Discussion forum for JP1 software tools currently in use, or being developed, such as IR, KM, RemoteMaster, and other misc apps/tools.

Moderator: Moderators

garypen
Posts: 145
Joined: Sat Apr 03, 2004 4:34 pm

Post by garypen »

Hmmm. Interesting that you would assume I meant Kerry's opponent, when I mentioned brain-dead voters.

I feel like detective Columbo. "I never said she was strangled! Only that she had been murdered!"
Mark Pierson
Expert
Posts: 3023
Joined: Sun Aug 03, 2003 12:13 am
Location: Connecticut, USA
Contact:

Post by Mark Pierson »

I'll abstain from the political comments... 8)

I need a little clarification on something from Jon's message in the other thread,
jon_armstrong wrote:
johnsfine wrote:.
bit5: Overrides the subdevice from the selected fixed data to be the no_subdevice value. That's barely ever useful, since no_subdevice is typically done by having RM or KM compute the no_subdevice value for fixed data. But I guess there might be a need for mixing two different devices and having one of those mix a subdevice with no_subdevice.
Yes but 0=>Overrides sub-device, 1=>allows subdevice
When bit5=0, does it ignore the sub-device altogether, or does it just use the complement of the specified device?
Mark
johnsfine
Site Admin
Posts: 4766
Joined: Sun Aug 10, 2003 5:00 pm
Location: Bedford, MA
Contact:

Post by johnsfine »

Mark Pierson wrote: When bit5=0, does it ignore the sub-device altogether, or does it just use the complement of the specified device?
1) What's the difference? We define having no subdevice (in NEC) as being the same signal as a subdevice equal to 255 minus the device.

2) I don't see any reason for KM to ever clear bit5 of that byte in this combo protocol. I think the four choices end up being 0x20, 0x21, 0xA0 and 0xA1. If a subdevice field is left blank on the setup sheet, KM already knows how to encode that in the fixed data, so it doesn't need to encoded in the hex command.
Mark Pierson
Expert
Posts: 3023
Joined: Sun Aug 03, 2003 12:13 am
Location: Connecticut, USA
Contact:

Post by Mark Pierson »

johnsfine wrote:If a subdevice field is left blank on the setup sheet, KM already knows how to encode that in the fixed data, so it doesn't need to encoded in the hex command.
I just wanted confirmation of that.
Mark
garypen
Posts: 145
Joined: Sat Apr 03, 2004 4:34 pm

Post by garypen »

BTW, I just wanted to confirm that the NEC 2DEV Combo protocol now works correctly in both RM 1.05 and KM 8.28. I've tested both with my NEC 2DEV Combo device.
Post Reply