def bufferParser(readbuffer, burst=16):
    """ Parse concatenated frames from a burst


    """
    out = b''
    offset = 1
    while len(readbuffer) > 0:
        length = readbuffer[2]
        if readbuffer[4] == offset:
            out += readbuffer[5:3+length]
            offset += 1
        readbuffer = readbuffer[4+length:]
    return out