...
 
......@@ -227,7 +227,7 @@ class SDS011(object):
@property
def device_id(self):
"""The device id as a string"""
return "{0:02d}{1:02d}".format(self.__device_id[0], self.__device_id[1])
return "{0:02x}{1:02x}".format(self.__device_id[0], self.__device_id[1]).upper()
@property
def firmware(self):
......