From dda8849634e343c49243846cb42f064470854a7e Mon Sep 17 00:00:00 2001 From: nkotilainen Date: Wed, 25 Sep 2024 08:55:09 +0100 Subject: [PATCH] PPP: LTE IMEI renamed to IMSI. --- micropython/modules_py/lte.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/micropython/modules_py/lte.py b/micropython/modules_py/lte.py index 1706f14..d2faf07 100644 --- a/micropython/modules_py/lte.py +++ b/micropython/modules_py/lte.py @@ -50,7 +50,7 @@ class LTE(): def _netlight_irq(self, pin): self._led.value(pin.value()) - def imei(self): + def imsi(self): try: return self._send_at_command("AT+CIMI", 1) except CellularError: @@ -140,7 +140,7 @@ class LTE(): self._send_at_command("AT+CSSLCFG=\"authmode\",0,0") self._send_at_command("AT+CSSLCFG=\"enableSNI\",0,1") - print(f" - cellular IMEI is {self.imei()}") + print(f" - cellular IMSI is {self.imsi()}") def _wait_ready(self, poll_time=0.25, timeout=10): giveup = time.time() + timeout