From 0a0eea0e805977510f14ea2e42063147666815d2 Mon Sep 17 00:00:00 2001 From: Phil Howard Date: Wed, 25 Sep 2024 15:27:41 +0100 Subject: [PATCH] PPP: Add ipconfig pass-through. --- micropython/modules_py/lte.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/micropython/modules_py/lte.py b/micropython/modules_py/lte.py index 18689a3..5340650 100644 --- a/micropython/modules_py/lte.py +++ b/micropython/modules_py/lte.py @@ -50,6 +50,12 @@ class LTE(): def _netlight_irq(self, pin): self._led.value(pin.value()) + def ipconfig(self, *args, **kwargs): + if len(args): + return self._ppp.ipconfig(*args) + else: + return self._ppp.ipconfig(**kwargs) + def iccid(self): try: return self._send_at_command("AT+CICCID", 1)