JP1 Remotes Forum Index JP1 Remotes


FAQFAQ SearchSearch 7 days of topics7 Days MemberlistMemberlist UsergroupsUsergroups RegisterRegister
ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in

Obtaining a Device/Sub Device Number

 
Post new topic   Reply to topic    JP1 Remotes Forum Index -> JP1 - Protocol Decodes
View previous topic :: View next topic  
Author Message
alanrichey
Expert


Joined: 24 Mar 2008
Posts: 3529
Location: UK/USA

                    
PostPosted: Fri Apr 19, 2013 2:48 pm    Post subject: Obtaining a Device/Sub Device Number Reply with quote

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
View user's profile Send private message
3FG
Expert


Joined: 19 May 2009
Posts: 3367

                    
PostPosted: Fri Apr 19, 2013 3:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
alanrichey
Expert


Joined: 24 Mar 2008
Posts: 3529
Location: UK/USA

                    
PostPosted: Fri Apr 19, 2013 3:22 pm    Post subject: Reply with quote

Crikey that was quick Very Happy Thanks for that, I'll feed it back to him.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic       JP1 Remotes Forum Index -> JP1 - Protocol Decodes All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

Powered by phpBB © 2001, 2005 phpBB Group
Top 7 Advantages of Playing Online Slots The Evolution of Remote Control