Over at the Slingbox forum I have someone who has a device that uses the NEC protocol but does not know the Device/SubDevice values. He has given me the following information on the protocol. Can anyone get the Device values from this ?
uRcProtocol.UserDefined.SubCarrierFreq = 38000;
uRcProtocol.UserDefined.DutyCycle = 25;
uRcProtocol.UserDefined.HighDataSymbol.MarkPeriod = 600;
uRcProtocol.UserDefined.HighDataSymbol.SymbolPeriod = 2240;
uRcProtocol.UserDefined.LowDataSymbol.MarkPeriod = 600;
uRcProtocol.UserDefined.LowDataSymbol.SymbolPeriod = 1120;
uRcProtocol.UserDefined.BufferElementsPerPayload = 1;
uRcProtocol.UserDefined.NumberPayloadBits = 32;
uRcProtocol.UserDefined.NumberStartSymbols = 1;
uRcProtocol.UserDefined.StartSymbols[0].MarkPeriod = 9000;
uRcProtocol.UserDefined.StartSymbols[0].SymbolPeriod = 13500;
Thanks
Al
Obtaining a Device/Sub Device Number
Moderator: Moderators
-
alanrichey
- Expert
- Posts: 3533
- Joined: Mon Mar 24, 2008 7:14 am
- Location: UK/USA
Al,
No, the information isn't there. The posted info tells us the on/off durations for bit 0 and 1, and the lead in durations. It also tells us that the protocol has 32 bits. All of that is consistent with NEC. But the device.subdevice info for NEC is contained in the first 16 bits of the 32 bits of data. None of the 32 bits of data is shown in the OP.
No, the information isn't there. The posted info tells us the on/off durations for bit 0 and 1, and the lead in durations. It also tells us that the protocol has 32 bits. All of that is consistent with NEC. But the device.subdevice info for NEC is contained in the first 16 bits of the 32 bits of data. None of the 32 bits of data is shown in the OP.
-
alanrichey
- Expert
- Posts: 3533
- Joined: Mon Mar 24, 2008 7:14 am
- Location: UK/USA