def extract_identity_response_info(data):
 major = data[12]
 minor = data[13]
 build = from_7L7M(data[14], data[15])
 sn = from_7L7777M(data[16:21])
 board_revision = (data[21] if (len(data) > 22) else 0)
 return (major, minor, build, sn, board_revision)

def extract_identity_response_info ( data ) : major = data [ 12 ] minor = data [ 13 ] build = from_7L7M ( data [ 14 ] , data [ 15 ] ) sn = from_7L7777M ( data [ 16 : 21 ] ) board_revision = ( data [ 21 ] if ( len ( data ) > 22 ) else 0 ) return ( major , minor , build , sn , board_revision )
extracts the arguments from the identity response: - major version - minor version - build number - serial number - board revision .