Is there a signal length or bit length limit for irsend and can I increase it?
matrzh <[email protected]> Sun, 16 Jun 2019 14:58:17 -0700 (MST)
| Newsgroups | gmane.comp.hardware.lirc |
|---|---|
| Message-ID | <[email protected]> |
*Problem: *I need to blast a signal that seems to repeat with no gap. The signal has a Header, a 64 bit word, and a trailing '1' corresponding to about a 600us pulse and a 190us gap and then it sends the 5000us pulse of the header, again. *What I tried: *I have no receiver for the remote (see below 'background'), but have a separate tool with which I can analyse the original signal, which is from where I got the above. I can also analyse the output of my lirc device with irsend and check if the signals are essentially the same. I tried setting flags to SPACE_ENC and to reduce the gap parameter in the conf file to zero, but this did not work. It either throws an error when restarting the lirc service and a short gap is just ignored and a 8000us gap is added, anyway. I then thought I can use raw_codes and just repeat the signal three or 4 times with the trailing one and the header in between. The raw codes work for only one repetition, but when I try to repeat the raw codes 2 or 3 times, I get an error transmission failed - Error running command: Input/output error To be clear: with repeating the code in "raw_codes" I mean that I have instead of 64+1 pulse space pairs + a trailing pulse that I have n x (64+2) - 1 pulse space pairs and a trailing pulse, that is 197 pairs plus the trailing pulse in the case of n=3. (for one key-press) *Question: *Is there a way to achieve what I want with lirc? Or do I have to give it up. *Background *I must apologise for hacking and stretching the use of lirc a bit. What I am trying to simulate is a 433MHz on_off keying transmitter for a video screen. I use a bit-banging output device with no modulation for the signals as "Lirc Device". In principle, instead of a IR-Diode being turned on and off, a 433Mhz transmitter is turned on and off at the rhythm of the lirc output. I managed to make it work for these RF controlled switches following the homeeasy protocol. But the screen I have is a bit special and, as mentioned above, cannot be mapped to "standard remote protocols" as there is no gap in between the 3-4 repeats. -- Sent from: http://lirc.10951.n7.nabble.com/