I am glad to hear the fail-safe was the right direction to take. I built the system the way I wanted it to work and later took into account what other people wanted. All radio communication is one way, from the hand held transmitter to the locomotive and accessory receivers.
Yes, the transmitter updates all the locomotives frequently. If for some reason a locomotive stops it will get an update to start again based on what the transmitter had it doing last. Here is an overview of how data transmissions are sent to the receivers:
Every 2 seconds the transmitter sends out an update to the currently controlled locomotive, direction, speed, accessories, etc. At the same time it also updates one of the 31 other locomotives not being actively controlled and increments the second locomotive number. Two seconds later it does the same thing but updates the next uncontrolled locomotive. About every 60 seconds all the locomotives receive an update whether they are actively controlled or not.
When changes to speed, direction or accessories are made to the currently controlled locomotive they are sent immediately. During this transmission one of the 31 other locomotive is also updated using the procedure outlined above. If you are actively changing speeds on a locomotive you will update all the locomotives being controlled more frequently than the 60 second cycle.
If the all-stop button is pushed a broadcast to all 32 locomotives is sent which immediately stops them.
Since I just added the ability to have multiple channels I need to do quite a bit of testing for interference. I may find out I need to modify some of the updates outlined above to insure multiple transmitters don’t step on each other. The data packets are sent so quickly that there shouldn’t be a problem but only testing will tell. As I said, so far 3 transmitters seem to work fine together so far. I haven’t built enough transmitters to test more.
Oh, lastly, the 100 non locomotive accessories for turnouts, lights, etc. are always set to channel 0. Since there will only ever be one railroad being traveled at a time. That way all transmitters can control accessories on whatever railroad they visit.