View previous topic :: View next topic |
Author |
Message |
alanrichey Expert
Joined: 24 Mar 2008 Posts: 3529 Location: UK/USA |
Posted: Fri Apr 19, 2013 2:48 pm Post subject: Obtaining a Device/Sub Device Number |
|
|
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 |
|
Back to top |
|
|
3FG Expert
Joined: 19 May 2009 Posts: 3367
|
Posted: Fri Apr 19, 2013 3:08 pm Post subject: |
|
|
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. |
|
Back to top |
|
|
alanrichey Expert
Joined: 24 Mar 2008 Posts: 3529 Location: UK/USA |
Posted: Fri Apr 19, 2013 3:22 pm Post subject: |
|
|
Crikey that was quick Thanks for that, I'll feed it back to him. |
|
Back to top |
|
|
|