
对于爱好者而言,RTL-SDR 项目带来的变革性影响无论怎么强调都不为过。当然,这并不是说在那之前软件定义无线电(SDR)不存在,而是像我们这样的人根本接触不到它们。突然之间,任何手头有 20 美元闲钱的黑客或创客都能窥探各种设备之间是如何相互通信的,而十多年后的今天,我们仍能看到这项新能力所带来的实际应用。
但窥探更高的频段通常需要昂贵得多的设备,这正是 [Henrikbiscuit] 最近遇到的问题。他想把 Lindby Velua 吸顶灯接入 Home Assistant,而这意味着要复制其 2.4 GHz 遥控器所发送的信号。由于没有能够监听那么高频段的 SDR 相助,他最终用连接到 ESP32 的 nRF24 和 CC2500 收发芯片完成了这件事。
从概念上讲,这似乎相当简单直接。毕竟,这类芯片通常就是用于那些希望在 2.4 GHz 上通信的消费类小玩意。但你仍然需要弄清楚遥控器通过无线方式发出了什么内容,而在没有 Universal Radio Hacker 之类工具辅助的情况下做到这一点可能会令人望而生畏。
[Henrikbiscuit] 解释说,第一步是让 nRF24L01+ 进入混杂模式(promiscuous mode)并开始抓取数据包。这表明遥控器使用的同步字(sync word)是 B9 A1 99;把 CC2500 设置为与之匹配并重放一些捕获到的数据包,就能让灯做出响应——至少偶尔能行。
起初他以为其中用到了某种滚动码(rolling code),因为灯只对他发送的大约 30% 的命令做出响应。但在分析了几十个来自遥控器的数据包并以不同形式重放之后,情况似乎很清楚:并没有使用任何有意的加密安全措施。查找并修复 CC2500 发射设置中的一个问题让情况有所改善,但改善幅度不大。
回到原点,他意识到自己的数据包缺少一个前导码(preamble),他最初没有注意到它,因为它是在 B9 A1 99 同步字之前发送的。前导码并非严格必需,但接收端会用它来微调无线电,以获得更好的接收效果。它偶尔能工作纯粹是运气好而已。这种东西在有 SDR 所提供的全局视图下本会很容易看出来,但 [Henrikbiscuit] 不得不靠艰难的方式自己把它琢磨出来。在每个数据包前端加上这段额外的序列后,灯接受了他的全部命令,之后再补上一点代码就把它接入了 Home Assistant。
[Henrikbiscuit] 已将他的全部工作成果公开,供其他可能拥有同款灯的人使用,但就像逆向工程某个随便的 Bluetooth Low Energy 设备的种种尝试一样,在这类项目中,分享解决问题的思路可能比具体的实现本身对他人更有用。
本文来源:https://hackaday.com/2026/11/24/rf-remote-cloning-without-the-benefit-of-an-sdr/
若有版权问题,请来信告知:13951431913#139.com 或在右方提交评论。

It’s difficult to overstate just how transformative the RTL-SDR project was for the hobbyist. It wasn’t that software-defined radios didn’t exist before that, of course. It’s that folks like us didn’t have access to them. Suddenly any hacker or maker with $20 to spare could peek in on how all sorts of devices were talking to each other, and we’re still seeing the practical applications of this new capability more than a decade later.
But snooping on higher frequencies usually requires considerably more expensive gear, which is the problem that [Henrikbiscuit] recently ran into . He wanted to hook the Lindby Velua ceiling light into Home Assistant, and that meant cloning the signals being sent by its 2.4 GHz remote. Without the benefit of an SDR that could listen in on something that high, he ended up doing it with nRF24 and CC2500 transceiver chips connected to an ESP32.
Conceptually, this would seem fairly straightforward. After all, these are the sort of chips that would normally be used for consumer gadgets that wanted to talk on 2.4 GHz. But you’ve still got to figure out what the remote is sending out over the air, and doing that without the benefit of something like Universal Radio Hacker can be daunting.
[Henrikbiscuit] explains that the first step was to put a an nRF24L01+ into promiscuous mode and start pulling in packets. This showed that the remote was using the sync word B9 A1 99 , and setting the CC2500 to match and replaying some captured packets got the light to respond — occasionally, at least.
At first he thought there was some kind of rolling code at play, as the light would only acknowledge around 30% of the commands he was sending. But after analyzing a few dozen packets from the remote and replaying them in different forms, it seemed clear there was no intentional cryptographic security being used. Tracking down and fixing an issue in the CC2500 transmission settings improved things, but not by much.
Going back to square one, he realized that his packets were missing a preamble that he didn’t initially notice because it was transmitted before the B9 A1 99 sync word. The preamble isn’t strictly required, but it’s used by the receiving side to fine-tune the radio for better reception. The fact that it worked occasionally was just down to luck. It’s the sort of thing that would have been easy to see with the overview offered by an SDR, but that [Henrikbiscuit] had to figure out the hard way. With the extra sequence added to the front of each packet all of his commands were accepted by the light, and from there a bit more code got it connected up to Home Assistant.
[Henrikbiscuit] has made all his work available for anyone else who might have this same light, but like the efforts to reverse engineer some random Bluetooth Low Energy device , this is one of those projects where the shared knowledge of how the problem may be more useful to others than the specific implementation.
本文来源:https://hackaday.com/2026/11/24/rf-remote-cloning-without-the-benefit-of-an-sdr/
若有版权问题,请来信告知:13951431913#139.com 或在右方提交评论。