It appears that one needs to clarify the concept of "repeating portion", as there are two distinct usages of the term which tends to breed confusion.
In the world of IR (not Pronto Hex format), most IR protocols do not have a "repeating portion". To repeat the code they just retransmit it again. Sony is like this. Hold the button down on the remote, and if the code is allowed to repeat, it is sent again. Things like a power toggle code obviously would not be allowed to "repeat".
The original NEC codes did not have a repeat portion but that was changed sometime later. In some of the newer NEC codes (and others that are similar) there is the "One Time" pattern which is sent when you touch the button on the remote. There is also a very short pattern which just has the start and end sections of the One Time pattern but nothing in the middle. It is what is sent when the button is held down. (Note: The buttons I am referring to are on the original manufacturers remote).
Think of that pattern, the "Repeating pattern" as saying "do the last thing you did again". As long as the button was held down that same "Do it again" command is sent. This makes for a very responsive system as the "Do it again" command is generally of very short duration as it is missing all of the detail about what is to be done.
When the original Prontios were built, Philips wanted to cover all cases so they established the Pronto HEX format. Ths format consists of a four word preface that describes the remainder of the data followed by the data set(s) themselves. Philips allowed for two distinct data sets. One data set was for when the Pronto button (or screen) was touched and was called the One Time burst set or the One Time pattern; and one data set was for when the button was held down or the screen continuously touched and was called the Repeat Burst set or the Repeat pattern.
If you now think about it (just a little) you can see that the mapping of either type of IR protocol (with or without seperate and distinct repeat patterns) can be easily mapped into Philips pronto HEX.
In the Sony case where the entire pattern is to be sent to make it repeat, the two burst sets of the Pronto HEX codes are the same. If the command is not allowed to repeat then the second burst set is empty.
In the case of a seperate repeating pattern then The Pronto Hex format allows you to place the main pattern as the One Time burst set, and the repeating pattern as the Repeat Burst set.
Hope that halps explain it.
Last edited by Barry Gordon on April 19, 2009 11:57.