|
JP1 Remotes
|
View previous topic :: View next topic |
Author |
Message |
Barf Expert
Joined: 24 Oct 2008 Posts: 1416 Location: Munich, Germany |
Posted: Sun Nov 29, 2020 5:57 am Post subject: The Apple protocol revisited |
|
|
The Apple protocol, both in IrpTransmogrifier and in DecodeIR, goes
Code: | {38.4k,564}<1,-1|1,-3>(16,-8,D:8,S:8,C:1,F:7,PairID:8,1,^108m,(16,-4,1,^108m)*){C=1-(#F+#PairID)%2,S=135}[D:0..255=238,F:0..127,PairID:0..255]
|
A RemoteCentral person wrote me that he has been encountering Apple devices using some other Ds. It turns out that if the D has an odd number of ones, the above definition will have the wrong C. So the suggestion is to change the definition to
Code: | {38.4k,564}<1,-1|1,-3>(16,-8,D:8,S:8,C:1,F:7,PairID:8,1,^108m,(16,-4,1,^108m)*){C=1-(#D+#S+#F+#PairID)%2,S=135}[D:0..255=238,F:0..127,PairID:0..255]
|
which appears to be consistent with the Apple devices (and it also looks more symmetric).
Anyone like to comment on this? What is the UEI executor (01E0) doing? |
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21246 Location: Chicago, IL |
|
Back to top |
|
|
3FG Expert
Joined: 19 May 2009 Posts: 3368
|
Posted: Sun Nov 29, 2020 3:11 pm Post subject: |
|
|
I agree that including D and S in the parity bit makes sense.
There are at least 3 UEI 01E0 executors, but all of them expect that the parity bit is explicitly included in the first variable byte. The executor doesn't calculate the parity bit. RMIR does the calculation, so we would need to change protocols.ini.
ETA: I didn't notice Rob's post before I posted. |
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21246 Location: Chicago, IL |
Posted: Sun Nov 29, 2020 4:19 pm Post subject: |
|
|
The newer 2 UEI executors include a vector call (017C) that I don't have documented, so I don't know what it does. _________________ 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 |
|
|
|
|
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
|