def _read_value(self, options):
logger.info("Read Connection State Value")
if self.state != WifiConnectionState.DISCONNECTED and self.current_ssid:
return [dbus.Byte(self.state.value)] + string_to_dbus_array(self.current_ssid)
else:
return [dbus.Byte(self.state.value)]
评论列表
文章目录