Example #1
0
	def get_dev_id(self):
		"Device ID"
		return bin2uint(self.__bin[0:4])
Example #2
0
	def get_admin_data(self):
		"Admin data"
		return bin2uint(self.__bin[4:8])
Example #3
0
	def __cmp__(a, b):
		if None == b:
			return 1
		return bin2uint(a.serial) - bin2uint(b.serial)