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

PID $0123: StreamZap protocol
Goto page Previous  1, 2
 
Post new topic   Reply to topic    JP1 Remotes Forum Index -> JP1 - Software
View previous topic :: View next topic  
Author Message
underquark
Expert


Joined: 20 Jun 2005
Posts: 874
Location: UK

                    
PostPosted: Wed May 10, 2006 3:39 pm    Post subject: Reply with quote

I tried KM 8.41 with StreamZap but still have problems:

Device Code 34 ought to generate fixed data 1D
In previous versions of KM it generated DD
In this latest version of KM Device Code 34 gives fixed data of BB and I had to enter Device Code 113 to get 1D.
Back to top
View user's profile Send private message
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 21210
Location: Chicago, IL

                    
PostPosted: Wed May 10, 2006 3:54 pm    Post subject: Reply with quote

Don't worry about what values are in the fixed (or variable) data as they will be different using my new exec, worry about whether the upgrade generates the correct device codes and OBCs.
_________________
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Back to top
View user's profile Send private message Visit poster's website
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 21210
Location: Chicago, IL

                    
PostPosted: Wed May 10, 2006 4:51 pm    Post subject: Reply with quote

In case you want to know how it works. Take a look at the binary...

1D = 00011101
DD = 11011101

The first bit is the one that specifies whether the OBC is below 64 or not.
The second bit (in red) is the toggle, so it doesn't matter what value is supplied.
The remaining 6 bits (in blue) are the device code (in MSB-COMP format)

Now look at the binary generated from the current KM:
BB = 10111011

In this binary, the first bit is the toggle and the next 6 bits are the device code.

The OBC64 indicator has been moved into the MSB position of the variable bytes and it gets shifted into position by the assembler code.
_________________
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Back to top
View user's profile Send private message Visit poster's website
gfb107
Expert


Joined: 03 Aug 2003
Posts: 3411
Location: Cary, NC

                    
PostPosted: Wed May 10, 2006 7:15 pm    Post subject: Reply with quote

RM v1.52 incorporates the new Streamzap executor.

Is there a corresponding change for Streamzap_57kHz?
_________________
-- Greg
Original RemoteMaster developer
JP1 How-To's and Software Tools
The #1 Code Search FAQ and it's answer (PLEASE READ FIRST)
Back to top
View user's profile Send private message Visit poster's website
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 21210
Location: Chicago, IL

                    
PostPosted: Wed May 10, 2006 7:23 pm    Post subject: Reply with quote

I've never heard of it, does it work the same way?
_________________
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Back to top
View user's profile Send private message Visit poster's website
gfb107
Expert


Joined: 03 Aug 2003
Posts: 3411
Location: Cary, NC

                    
PostPosted: Wed May 10, 2006 7:41 pm    Post subject: Reply with quote

Hmm, somebody added it to protocols.ini. The notes say [quote]This protocol is identical to Streamzap except for frequency[/url]
_________________
-- Greg
Original RemoteMaster developer
JP1 How-To's and Software Tools
The #1 Code Search FAQ and it's answer (PLEASE READ FIRST)
Back to top
View user's profile Send private message Visit poster's website
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 21210
Location: Chicago, IL

                    
PostPosted: Wed May 10, 2006 9:16 pm    Post subject: Reply with quote

That means that all they did was replace the first 2 bytes of the exec code. Therefore, if you were to replace the first 2 bytes of my new exec with their first 2 bytes, you would have an all-OBC version with the higher frequency.
_________________
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Back to top
View user's profile Send private message Visit poster's website
mr_d_p_gumby
Expert


Joined: 03 Aug 2003
Posts: 1370
Location: Newbury Park, CA

                    
PostPosted: Wed May 10, 2006 9:31 pm    Post subject: Reply with quote

OK, here's a quick patch for the other processors. PB file here.

P8/740:
0C 18 11 80 0F E0 D0 04 20 08 06 02 06 02 06 51 A4 20 01 01 A5 5D 06 5E 6A 17 5A 02 49 40 85 5D 4C 00 FF

M6805-C9:
0C 19 11 20 0F E0 D0 04 20 08 06 02 05 02 05 6D 53 20 00 F3 B6 5A 38 5B 46 01 57 02 A8 40 B7 5A CC 01 83

M6805-RC16/18:
11 24 11 20 11 85 85 10 08 06 00 D2 D3 00 D2 D3 51 A4 00 00 D2 00 B6 5A 38 5B 46 01 57 02 A8 40 B7 5A CC 01 AF
_________________
Mike England
Back to top
View user's profile Send private message
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 21210
Location: Chicago, IL

                    
PostPosted: Wed May 10, 2006 9:34 pm    Post subject: Reply with quote

Thanks Mike, I just added these to KM 8.42
_________________
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Back to top
View user's profile Send private message Visit poster's website
underquark
Expert


Joined: 20 Jun 2005
Posts: 874
Location: UK

                    
PostPosted: Sat May 13, 2006 7:07 pm    Post subject: Reply with quote

The Robman wrote:
Don't worry about what values are in the fixed (or variable) data as they will be different using my new exec, worry about whether the upgrade generates the correct device codes and OBCs.

Ah, thanks for fixing this. I had merely seen the "wrong" fixed data but had failed to note the protocol tweak; naturally it works perfectly. Next time I test before saying something has a problem with it.
Back to top
View user's profile Send private message
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 21210
Location: Chicago, IL

                    
PostPosted: Sat May 13, 2006 9:04 pm    Post subject: Reply with quote

Glad to hear it works.
_________________
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Back to top
View user's profile Send private message Visit poster's website
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 21210
Location: Chicago, IL

                    
PostPosted: Wed Sep 29, 2010 12:14 pm    Post subject: Reply with quote

It appears that we have got the bit breakdown for the Streamzap protocol wrong. I see that we have code to handle OBCs > 63 even though none of the current files have any OBCs that are greater than 63, so I did some research and I think this was based on the assumption that the Streamzap protocol was a modified version of the RC-5 protocol with 1 extra device bit, whereas I think it's really a modified version of the RC-5 protocol with 1 extra *OBC* bit.

There are several devices that "appear" to use multiple device codes. I say "appear" because the reason that two device codes are showing up is because, in my opinion, we are treating one of the OBCs bits as a device code bit.

Streap zap is currently defined as:

{36k,msb,889}<1,-1|-1,1>(1:1,~F:1:6,T:1,D:6,F:6,^114m)+

I would like to change this to:

{36k,msb,889}<1,-1|-1,1>(1:1,~F:1:7,T:1,D:5,F:7,^114m)+

I can update all of the current upgrade files and fix KM and RM to process Streamzap this way, but I'm reluctant to do so without the same change being made to DecodeIR.
_________________
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Back to top
View user's profile Send private message Visit poster's website
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 21210
Location: Chicago, IL

                    
PostPosted: Fri Oct 08, 2010 10:49 am    Post subject: Reply with quote

I've done some more research and found that the $0182 executor not only handles the protocol that we call "Echostar 2200" (56kHz) but it also handles the protocol that we call "Streamzap" (38kHz).

Given that this protocol is a clone of RC-5 with an extra OBC bit (not device code bit as is usually stated), maybe we should rename it to something based on RC-5?

Here's a PB file for the executor:
http://www.hifi-remote.com/forums/dload.php?action=file&file_id=9022
_________________
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic       JP1 Remotes Forum Index -> JP1 - Software All times are GMT - 5 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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