0x05E7 Playback Repeat

Use this TLV in the Play File Start message to specify the number of times to repeat playing a recorded voice file or list of files, as well as the interval between repetitions and the total time for playing the file.

Byte | Description
0, 1 | Tag 0x05E7 Playback Repeat
2, 3 | Length 0x0006
4, 5 | Value[0, 1] Number of times to repeat playing the file or list of files. 0xFFFF = Repeat Forever
6, 7 | Value[2, 3] Interval between repetitions (100 ms steps) 0x05 (Default for 500 ms)
8, 9 | Value[4, 5] Total time file is played (100 ms steps) 0x0000 = Disable timer (Default)
10,11 | Value[6,7] Length of File Played The length of the play time must be greater than or equal to the File time multiplied by the number of times the file is repeated. Also expressed as the formula below: Pt >= (Ft + Dt) x R If the length of the file being played (or Ft) is 30 seconds, and the Interval or Delay time (Dt) is 10 seconds, and you want to repeat (R) the file 3 times, the Total time the file is played (Pt) must be > = 110 seconds. If this formula is followed, the Interval time (default of 500ms) can be configured to be more. However, if the total time (Pt) is LESS than the combined total of Ft and Dt, multiplied by the number of repetitions desired, the interval will not configure past the default of 500ms.

Tag-Length-Value block. A standardized block that allows data to inserted in a standard way into API messages.