def reset(device_name): mc = ModuleConnector(device_name) xep = mc.get_xep() xep.module_reset() mc.close() time.sleep(3)
def reset(self, device_name): mc = ModuleConnector(device_name) r = mc.get_xep() r.module_reset() mc.close() sleep(3)
def reset(device_name): mc = ModuleConnector(device_name) xep = mc.get_xep() xep.module_reset() mc.close() time.sleep(3)
def reset(self, device_name): mc = ModuleConnector(device_name) r = mc.get_xep() r.module_reset() mc.close() sleep(3)