Patent ID: 8108546

Claim:
A method of evaluating data for a method of data encapsulation comprising: receiving, at a data encapsulation module of a telecommunication system, a size of the data to be stored for data encapsulation in a first data packet of one or more data packets prior to transmission of the one or more data packets; organizing the one or more data packets into one or more frames prior to transmission through the telecommunication system, each frame comprising a data payload size, wherein encapsulated data within each frame comprises only a single control byte for each data packet of the one or more data packets; wherein if the size of the data to be stored within the first data packet of the first frame is less than the size of the data payload for the first frame and no more data will be stored in the data payload, setting a value of the control byte for the first data packet to a first control byte value indicating the size of the data in the first data packet including the first control byte, and setting a value of a second control byte for a second data packet following the first data packet to a second control byte value indicating the second data packet of the first frame is empty other than the second control byte; wherein if the size of the data to be stored within the first data packet of the first frame is less than the size of the data payload for the first frame and additional data will be stored in the data payload prior to transmission of the first frame, setting the value of the control byte for the first data packet to the first control byte value indicating the size of the data in the first data packet including the first control byte, and setting the value of the second control byte for the second data packet to a value other than the second control byte value; and wherein if the size of the data to be stored within the first frame for data encapsulation prior to transmission is greater than the size of the data payload, setting the value of the first control byte for the first data packet to a third control byte value indicating that the first data packet fills the data payload of the first frame and continues into a data payload of at least a next frame.