

@bacpypes_debugging
def object_identifier_tag(x):
    'Convert a hex string to an object_identifier application tag.'
    if _debug:
        object_identifier_tag._debug('object_identifier_tag %r', x)
    b = xtob(x)
    tag = Tag(Tag.applicationTagClass, Tag.objectIdentifierAppTag, len(b), b)
    if _debug:
        object_identifier_endec._debug('    - tag: %r', tag)
    return tag

dataset/ETHPy150Open JoelBender/bacpypes/tests/test_primitive_data/test_object_identifier.py object_identifier_tag/original