From 7824708fb11c88e1adb645882909b6c5c0b61d6f Mon Sep 17 00:00:00 2001 From: ptrcnull Date: Thu, 7 Oct 2021 20:45:50 +0200 Subject: [PATCH] feat: Ensure that echo is enabled before other operations --- api.py | 1 + 1 file changed, 1 insertion(+) diff --git a/api.py b/api.py index 55f9bff..d97224c 100644 --- a/api.py +++ b/api.py @@ -66,6 +66,7 @@ class Modem: return res.decode('utf-8') # decode to string def reset(self): + self.send('ATE1') res = self.send('ATZ') if res != 'OK': raise InvalidResponseException(res)