Android Things Infrared 实现与 LIRC

Android Things Infrared implementaton with LIRC

我知道 LIRC 适用于 Raspberry Pi,但是,我想知道 LIRC 是否适用于 Google 的 Android。如果没有,我想知道有没有办法与红外传感器通信并解码红外信号。

不幸的是似乎没有:SDK Pripherial IO and lines does not allow implement it via "bitbang" mode. But You can use Android Things board UART and IrDA protocol stack controllers like mcp2155 as in that project. Also that notes may be useful. When support of USB IrDA devices will be implemented in Android Things or the source code of Android Things becomes available, then you can use USB-IrDA dongles like that 中没有 IrDA 部分。