From 4a74b7d8bc51440774f100ef0ad7e28a3ecdb515 Mon Sep 17 00:00:00 2001 From: Cort Buffington Date: Sun, 24 Jul 2016 20:26:19 -0500 Subject: [PATCH] Master and Client work with MMDVM/BrandMeister MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ….for real this time. --- hblink.py | 1 + 1 file changed, 1 insertion(+) diff --git a/hblink.py b/hblink.py index f310ea2..fe64b74 100755 --- a/hblink.py +++ b/hblink.py @@ -230,6 +230,7 @@ class HBMASTER(DatagramProtocol): elif _command == 'RPTP': # RPTPing -- client is pinging us _radio_id = _data[7:11] if _radio_id in self._clients and self._clients[_radio_id]['CONNECTION'] == "YES": + self._clients['LAST_PING'] = time() self.send_packet(_radio_id, 'MSTPONG'+_radio_id) logger.info('(%s) Received and answered RPTPING from client %s', self._master, h(_radio_id))