From d029c2a5fef1c35d4ec39b09387764b822018314 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Hru=C5=A1ka?= Date: Wed, 27 Dec 2017 18:00:59 +0100 Subject: [PATCH] added func to persist settings --- gex/Client.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gex/Client.py b/gex/Client.py index 2e5486d..19b10c9 100644 --- a/gex/Client.py +++ b/gex/Client.py @@ -50,6 +50,10 @@ class Client: self.bulk_write(cs=None, cmd=gex.MSG_INI_WRITE, bulk=buffer) + def ini_persist(self): + """ Persist INI settings to Flash """ + self.send_raw(type=gex.MSG_PERSIST_SETTINGS) + def get_callsign(self, name, type = None): """ Find unit by name and type """ u = self.unit_lu[name]