Add rtl_ir and infrared listening option to rtl_tcp #9
Based on the Linux dvb_usb_rtl28xxu driver, enhances librtlsdr to additionally allow receiving remote control (RC) infrared (IR) signals from the built-in IR LED on the RTL-SDR dongle (tested with a NooElec NESDR Mini 2+).
Adds a standalone rtl_ir utility program to dump IR signals only, and a new option for rtl_tcp (-I port) to listen to IR and RF simultaneously. Samples are returned as raw pulse data, leaving it up to the client software to decode the application remote control protocol (RC-5, RC-6, NEC, etc.).
Comments welcome, works in my initial testing but could use more testing and review if this is a good approach.