Obtaining a Device/Sub Device Number

If you have learned signals that don't get decoded when you look at them in IR.exe, post your file to the Diagnosis Area then post your question here (including a link to the file).

Moderator: Moderators

Post Reply
alanrichey
Expert
Posts: 3533
Joined: Mon Mar 24, 2008 7:14 am
Location: UK/USA

Obtaining a Device/Sub Device Number

Post by alanrichey »

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
3FG
Expert
Posts: 3436
Joined: Mon May 18, 2009 11:48 pm

Post by 3FG »

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.
alanrichey
Expert
Posts: 3533
Joined: Mon Mar 24, 2008 7:14 am
Location: UK/USA

Post by alanrichey »

Crikey that was quick :D Thanks for that, I'll feed it back to him.
Post Reply