def parse_tva_id_Descriptor(data,i,length,end):
    """\
    parse_tva_id_Descriptor(data,i,length,end) -> dict(parsed descriptor elements).
    
    Parses a descriptor that carries one or more TVA IDs along with associated state for each.
    The returned dict is:
        { "type" : "tva_ids",
          "ids" : [
            { "id" : number, "running_status", number },
            { "id" : number, "running_status", number },
            ...
          ]
        }

    (Defined in ETSI TS 102 323 specification)
    """
    ids = []
    n=0
    while n < length:
        id = (ord(data[i+2+n]) << 8) + ord(data[i+3+n])
        rs = ord(data[i+4+n]) & 0x7
        ids.append({"id":id, "running_status":rs})
        n=n+3
    return { "type":"tva_ids", "ids" : ids }