<div dir="ltr"><div>This page may also be helpful - I wrote it up while getting the zetaRF to talk on our channel<br></div><div><a href="https://github.com/opentrv/OTWiki/wiki/Si4455-comms-using-the-OT-GFSK57600-channel">https://github.com/opentrv/OTWiki/wiki/Si4455-comms-using-the-OT-GFSK57600-channel</a></div><div><br></div><div>FWIW, this is the radio config for the RFM23B</div><div><a href="https://github.com/opentrv/OTRadioLink/blob/c790b743c692b14889dda930c4b8fe49f035c76f/content/OTRadioLink/utility/OTRFM23BLink_OTRFM23BLink.cpp#L710">https://github.com/opentrv/OTRadioLink/blob/c790b743c692b14889dda930c4b8fe49f035c76f/content/OTRadioLink/utility/OTRFM23BLink_OTRFM23BLink.cpp#L710</a></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 19 Feb 2021 at 12:51, <<a href="mailto:christoph@winterstiger.at">christoph@winterstiger.at</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;" lang="EN-GB"><div class="gmail-m_5016582750650751099WordSection1"><p class="MsoNormal"><span>Hi Rob,<u></u><u></u></span></p><p class="MsoNormal"><span><u></u> <u></u></span></p><p class="MsoNormal"><span>Feel free to ask me questions if something’s unclear. In personal projects my code is often a bit experimental in style </span><span style="font-family:"Segoe UI Emoji",sans-serif">😊</span><span><u></u><u></u></span></p><p class="MsoNormal"><span><u></u> <u></u></span></p><p class="MsoNormal"><span>To be honest, it took me a fair amount of time to find a working configuration (and the one I have for the RFM69 still isn’t working quite as well as it should). There is a lot of code in the OpenTRV repos, which I got a rough idea from, then combined that with an RTL-SDR to get a frequency spectrum plot during transmission to get the frequencies and deviation, then some messages from the mailing lists and Wikis to get the frame format right. And Damon also answered a few questions I had (e.g. </span><a href="https://github.com/opentrv/OTWiki/issues/2" target="_blank">Radbot Radio · Issue #2 · opentrv/OTWiki (github.com)</a>)<span>. The most annoying part was that I had to wait for 2 minutes between transmissions though!<u></u><u></u></span></p><p class="MsoNormal"><span><u></u> <u></u></span></p><p class="MsoNormal"><span>In the CC1101 config, you can ignore most of the settings; there’s plenty of stuff that applies only to transmission (which I also play with sometimes) and unused features like address-filtering. The crucial bits are, I think, the DEVIATN, FREQ*, MDMCFG*, and PKTCTRL* registers. Those settings also translate easily to other devices, while some others do not, e.g. the automatic gain control settings. Initially, my plan was to add more information about the registers in the register table definitions (e.g. cc1101_rt.h) so it can be displayed and changed easily in the monitor application, but I didn’t quite get there yet. <u></u><u></u></span></p><p class="MsoNormal"><span><u></u> <u></u></span></p><p class="MsoNormal"><span>Cheers,<u></u><u></u></span></p><p class="MsoNormal"><span>Christoph<u></u><u></u></span></p><p class="MsoNormal"><span><u></u> <u></u></span></p><div style="border-color:rgb(225,225,225) currentcolor currentcolor;border-style:solid none none;border-width:1pt medium medium;padding:3pt 0cm 0cm"><p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> OpenTRV-dev <<a href="mailto:opentrv-dev-bounces@lists.opentrv.org.uk" target="_blank">opentrv-dev-bounces@lists.opentrv.org.uk</a>> <b>On Behalf Of </b>Robert May<br><b>Sent:</b> 19 February 2021 12:22<br><b>To:</b> Closed list for developer discussions <<a href="mailto:opentrv-dev@lists.opentrv.org.uk" target="_blank">opentrv-dev@lists.opentrv.org.uk</a>><br><b>Subject:</b> Re: [OpenTRV-dev] RadBot Radio Protocol<u></u><u></u></span></p></div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">Thanks Christophe - I'm currently reverse engineering your CC1101 configuration (BTW I have your code working and decrypting a single value), but would like to have a deeper understanding rather than blindly copying ....<u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal" style="margin-bottom:12pt">Could you point me at the version of the radio code that you used to generate your configuration, even if it's difficult to follow?<u></u><u></u></p></div><div><p class="MsoNormal">Thanks,<u></u><u></u></p></div><div><p class="MsoNormal">Rob.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div></div><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal">On Fri, 19 Feb 2021 at 11:49, <<a href="mailto:christoph@winterstiger.at" target="_blank">christoph@winterstiger.at</a>> wrote:<u></u><u></u></p></div><blockquote style="border-color:currentcolor currentcolor currentcolor rgb(204,204,204);border-style:none none none solid;border-width:medium medium medium 1pt;padding:0cm 0cm 0cm 6pt;margin:5pt 0cm 5pt 4.8pt"><div><div><p class="MsoNormal">Yes, those parameters are wrong, but the frame format is correct, I think. It took me quite a while to figure out the right radio parameters the first time around because the code isn’t easy to read either (seems to support multiple old/different formats).<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">Damon: I think it would be great if we could set up a Wiki page with clear and up-to-date information. Possibly even a specific page just for the Radbot (2) as it’s being sold? I’m sure all of the information is somewhere, it’s just very hard to find it.<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">Cheers,<u></u><u></u></p><p class="MsoNormal">Christoph<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><div style="border-color:rgb(225,225,225) currentcolor currentcolor;border-style:solid none none;border-width:1pt medium medium;padding:3pt 0cm 0cm"><p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> OpenTRV-dev <</span><a href="mailto:opentrv-dev-bounces@lists.opentrv.org.uk" target="_blank"><span lang="EN-US">opentrv-dev-bounces@lists.opentrv.org.uk</span></a><span lang="EN-US">> <b>On Behalf Of </b>Robert May<br><b>Sent:</b> 19 February 2021 11:26<br><b>To:</b> Closed list for developer discussions <</span><a href="mailto:opentrv-dev@lists.opentrv.org.uk" target="_blank"><span lang="EN-US">opentrv-dev@lists.opentrv.org.uk</span></a><span lang="EN-US">><br><b>Subject:</b> [OpenTRV-dev] RadBot Radio Protocol</span><u></u><u></u></p></div><p class="MsoNormal"> <u></u><u></u></p><div><p class="MsoNormal" style="margin-bottom:12pt">I found this <a href="https://github.com/opentrv/OpenTRV-standards/blob/master/standards/protocol/IoTCommsFrameFormat/SecureBasicFrame-V0.1-201601.txt" target="_blank">https://github.com/opentrv/OpenTRV-standards/blob/master/standards/protocol/IoTCommsFrameFormat/SecureBasicFrame-V0.1-201601.txt</a><br><br>But don't think that this paragraph<u></u><u></u></p><blockquote style="margin:5pt 0cm 5pt 30pt"><p class="MsoNormal"><b>868.35MHz 5kbps OOK "FS20" carrier, unwhitened, no hardware CRC/checksum, with a preamble of aaaaaaaa and sync of cccccc. In this case the payloads should avoid long runs of 0x00 or 0xff bytes, and there should be no more than one trailing 0x00 (more may be stripped), ie should be somewhat self-whitened. Note however that the leading length byte may make for tricky interop with existing FS20-carrier OpenTRV comms.</b><u></u><u></u></p></blockquote><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal">reflects the current Radbot Radio parameters. Is there another document I'm missing, or do I need to dig into the code and reverse engineer from the transmitter setup?<u></u><u></u></p></div><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal">Thanks for any pointers,<u></u><u></u></p></div><div><p class="MsoNormal">Rob.<u></u><u></u></p></div></div></div></div><p class="MsoNormal">_______________________________________________<br>OpenTRV-dev mailing list<br><a href="mailto:OpenTRV-dev@lists.opentrv.org.uk" target="_blank">OpenTRV-dev@lists.opentrv.org.uk</a><br><a href="http://lists.opentrv.org.uk/listinfo/opentrv-dev" target="_blank">http://lists.opentrv.org.uk/listinfo/opentrv-dev</a><u></u><u></u></p></blockquote></div></div></div>_______________________________________________<br>
OpenTRV-dev mailing list<br>
<a href="mailto:OpenTRV-dev@lists.opentrv.org.uk" target="_blank">OpenTRV-dev@lists.opentrv.org.uk</a><br>
<a href="http://lists.opentrv.org.uk/listinfo/opentrv-dev" rel="noreferrer" target="_blank">http://lists.opentrv.org.uk/listinfo/opentrv-dev</a><br>
</blockquote></div>