def write_config(self):
    if ((self.wiring_map is None) or (self.bolo_props is None)):
        return
    config_dic = generate_dfmux_lyrebird_config(self.l_fn, self.wiring_map, self.bolo_props, hostname=self.hostname, hk_hostname=self.hk_hostname, port=self.port, hk_port=self.hk_port, control_host=self.hostname, gcp_get_hk_port=self.get_hk_port, dv_buffer_size=self.dv_buffer_size, min_max_update_interval=self.min_max_update_interval, sub_sampling=self.rendering_sub_sampling, max_framerate=self.max_framerate, mean_decay_factor=self.mean_decay_factor)
    write_get_hk_script(self.get_hk_script_name, self.hostname, self.get_hk_port)
    print('Done writing config file')
def write_config(self):
    if ((self.wiring_map is None) or (self.bolo_props is None)):
        return
    config_dic = generate_dfmux_lyrebird_config(self.l_fn, self.wiring_map, self.bolo_props, hostname=self.hostname, hk_hostname=self.hk_hostname, port=self.port, hk_port=self.hk_port, control_host=self.hostname, gcp_get_hk_port=self.get_hk_port, dv_buffer_size=self.dv_buffer_size, min_max_update_interval=self.min_max_update_interval, sub_sampling=self.rendering_sub_sampling, max_framerate=self.max_framerate, mean_decay_factor=self.mean_decay_factor)
    write_get_hk_script(self.get_hk_script_name, self.hostname, self.get_hk_port)
    print('Done writing config file')