#NEWLINE# @ bacpypes_debugging #NEWLINE# def unsigned_tag( x ) : #NEWLINE# #INDENT# 'Convert a hex string to an unsigned application tag.' #NEWLINE# if _debug : #NEWLINE# #INDENT# unsigned_tag . _debug ( 'unsigned_tag %r' , tag ) #NEWLINE# #UNINDENT# b = xtob ( x ) #NEWLINE# tag = Tag ( Tag . applicationTagClass , Tag . unsignedAppTag , len ( b ) , b ) #NEWLINE# if _debug : #NEWLINE# #INDENT# unsigned_endec . _debug ( '    - tag: %r' , tag ) #NEWLINE# #UNINDENT# return tag