PID $0123: StreamZap protocol
Moderator: Moderators
-
underquark
- Expert
- Posts: 874
- Joined: Mon Jun 20, 2005 4:58 am
- Location: UK
-
The Robman
- Site Owner
- Posts: 21890
- Joined: Fri Aug 01, 2003 9:37 am
- Location: Chicago, IL
- Contact:
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!
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
-
The Robman
- Site Owner
- Posts: 21890
- Joined: Fri Aug 01, 2003 9:37 am
- Location: Chicago, IL
- Contact:
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.
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!
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
RM v1.52 incorporates the new Streamzap executor.
Is there a corresponding change for Streamzap_57kHz?
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)
Original RemoteMaster developer
JP1 How-To's and Software Tools
The #1 Code Search FAQ and it's answer (PLEASE READ FIRST)
-
The Robman
- Site Owner
- Posts: 21890
- Joined: Fri Aug 01, 2003 9:37 am
- Location: Chicago, IL
- Contact:
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!
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Hmm, somebody added it to protocols.ini. The notes say
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)
Original RemoteMaster developer
JP1 How-To's and Software Tools
The #1 Code Search FAQ and it's answer (PLEASE READ FIRST)
-
The Robman
- Site Owner
- Posts: 21890
- Joined: Fri Aug 01, 2003 9:37 am
- Location: Chicago, IL
- Contact:
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!
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
-
mr_d_p_gumby
- Expert
- Posts: 1370
- Joined: Sun Aug 03, 2003 12:13 am
- Location: Newbury Park, CA
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
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
-
The Robman
- Site Owner
- Posts: 21890
- Joined: Fri Aug 01, 2003 9:37 am
- Location: Chicago, IL
- Contact:
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!
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
-
underquark
- Expert
- Posts: 874
- Joined: Mon Jun 20, 2005 4:58 am
- Location: UK
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.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.
-
The Robman
- Site Owner
- Posts: 21890
- Joined: Fri Aug 01, 2003 9:37 am
- Location: Chicago, IL
- Contact:
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!
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
-
The Robman
- Site Owner
- Posts: 21890
- Joined: Fri Aug 01, 2003 9:37 am
- Location: Chicago, IL
- Contact:
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.
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!
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
-
The Robman
- Site Owner
- Posts: 21890
- Joined: Fri Aug 01, 2003 9:37 am
- Location: Chicago, IL
- Contact:
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 ... le_id=9022
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 ... le_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!
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!