def ReadValue(self, options):
reading = [get_cpu_temperature()]
self.props[constants.GATT_CHRC_IFACE]['Value'] = reading
return dbus.Array(
cpu_temp_sint16(self.props[constants.GATT_CHRC_IFACE]['Value'])
)
评论列表
文章目录