integrated code for multi-version frame and simple transmission