Re: decode of advanced RC5 packets from Marantz remotes

Petre Rodan <[email protected]> Tue, 19 Mar 2024 14:15:20 +0200
Newsgroups gmane.comp.hardware.lirc
Message-ID <ZfmB2FR2166GaaoZ@sunspire>
--===============4424530223323136919==
Content-Type: multipart/signed; micalg=pgp-sha256;
	protocol="application/pgp-signature"; boundary="nDU25ZFX9szFxbOF"
Content-Disposition: inline


--nDU25ZFX9szFxbOF
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable


hello Bengt,

On Tue, Mar 19, 2024 at 11:08:01AM +0100, Bengt Martensson wrote:
> Hi Petre,
> > ... this time I'd like to successfully decode the advanced RC5 codes ge=
nerated by modern Marantz remote controls, which might require some slight =
additions to the lirc decoder sourcecode.
>=20
> The "advanced rc5 codes" are often called the protocol "rc5x". This
> protocol has an IRP form as
>=20
>=20
> {36k,msb,889}<1,-1|-1,1>((1,~S:1:6,T:1,D:5,-4,S:6,F:6,^114m)*,T=3D1-T)
> [D:0..31,S:0..127,F:0..63,T@:0..1=3D0].
>=20
>=20
>  =A0It is fully supported by IrpTransmogrifier and IrScrutinizer. As an
> example, here=A0 (
> https://raw.githubusercontent.com/bengtmartensson/GirrLib/master/Girr/Mar=
antz/marantz_is201.girr
> ) is an RX5x device, the Maranz IS201 iPod dock.
>=20
> I would personally recommend against investing time in patching Lirc
> (for a number of reasons), and instead find another solution. Raw Lirc
> codes might be the most easily suggested one (depending on want it to
> do).=A0 But feel free to ignore my suggestion ;-).

thank you for the pointer. your project's scope does looks really interesti=
ng, I love signal analysers in particular.

but here I'm looking for a lightweight solution for decoding 19bits of data.

if patching the lirc project itself is not recommended, is there any way of=
 telling lircd to use an external decoder for the raw data it gets from the=
 driver? or should I simply write a mode2 wrapper (a C application that spa=
wns mode2 and gets it's stdout)?

cheers,
peter

--nDU25ZFX9szFxbOF
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEE2Ap/wXYVGTXsPl+pzyaZmYROfzAFAmX5gc0ACgkQzyaZmYRO
fzBOKw/+PL6TWNxYwmJ3L3IV8N/d29d5Tm5YD5+6KlFxL4vNpuF0hjiJVMVd+p2x
G4ZIDaCihzhnch7ZSx2naJxS3o+HEAQ6CgNp/eqziAOiy4tX/8rZia6bB2GGpn0s
DF8J8EpRPLLR0UdHqV8vhgEIbWppu2DPve6Dgv050r3aIkvTYpV/FfLx6YoZZboM
s8neEHenXVqJWLQxKGB/zxmumZ3LbcsfhMz9xCNwMxgYQXg4WpjDIwYrD5hrwTmR
40lt0kUEKLJjuUI9dX1fKoLlBcYgUamgelR7pAmEvMax9Lh7TOAuJfmnZXOqiDOl
YtbYQCJmObhfFlEBR3fwrI/gwInWSz35hr73tWiWh6eZvYd2btCv/sgPTEUX/5+M
gYiYCYsJ6YbEDBj50PFssF5+Ne2i3ASm9E9yP8D/S6VBjUMhiihOPw7CGFEmrkgp
QA+wo6j7x0t+r9lArzf5Xt+/7mcyMG3KPwBw93IpRjxATN9usUAPQErIPP7swO7A
4IChcNHX+Lzvi2WrC+ecNXrJMDmrzSW1kCMmBPvEgkOJ+ZCh4+eAmPnmkG2QkYv9
KH6P0wVzWblzRzSh/ZNsZODjyOfyk7V6Bsl+Pn/KlRyUsTkTDZmptJZwTNAUFNtt
PhqssynIvb2bt0ptb84r+5Tm/vmryp0KmIB3KEHSeYDy0jIlEyA=
=YPOY
-----END PGP SIGNATURE-----

--nDU25ZFX9szFxbOF--


--===============4424530223323136919==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============4424530223323136919==--