Here's the link to the testbuild:
LibreELEC-RPi2.arm-8.2-devel-20171130133422-r26229-ga24418465c.tar
ir-ctl doesn't to any automatic repeat handling, it just transmits each scancode once.
With the new version you can specify the delay (gap) between signal transmits on the command line. It should be about 25000.
To send out 3 repeats with 25ms inbetween do this:
You can also store scancodes in a file, like this:
LibreELEC:~ # cat sony-power.irctl
scancode sony12:0x100015
scancode sony12:0x100015
scancode sony12:0x100015
and transmit that with ir-ctl
As an alternative you can specify the delay between scancodes in the file
scancode sony12:0x100015
space 25000
scancode sony12:0x100015
space 25000
scancode sony12:0x100015
In that case the -g option of ir-ctl is not needed
One thing to keep in mind is that when sending a file all of it will be transmitted in a single call - and you can run into the limit of the lirc device. When using -s or -S multiple times each of the scancodes / files are transmitted in separate calls, so you don't run into the limits that easily.
so long,
Hias