Closed bengtmartensson closed 3 years ago
There is a API for Flirc, written in C. The bulk of that code is closed-source, available as a compiled, static library only. So, to be able to call that API from our environment, it would be necessary to write JNI-bindings, depending on a proprietary binary-only library.
Sending: there is a suitable api call fl_transmit_raw
. However, the transmitter in the v2 hardware is not very capable.
Receiving: There is only a demodulating receiver, using 38kHz carrier frequency. Flirc does not record the received IR signal, just a hash value. Here it is shown how to "mis-use" the logging feature, but I do not consider it to be an integration worth the name.
So it is very much work for quite little benefit.
Won't do.
Probably not the best solution (only a 38kHz receiver, i.e. only demodulatied reception), but it has transmission hardware, is reasonably cheap and quite well spread.
2nd generation only is the first priority.