header flags are of inverted logic
The bits in the header of BTrain frame transmit value of physical signals (e.g. C0=start of cycle). The input signals to the transmitter are of inverted logic... such inverted logic is transmitted in the header, this in turn does not comply with the current definition of the frame. this needs to be fixed somehow and possibly extensively implemented