PPP: Add ipconfig pass-through.
This commit is contained in:
parent
6df9a31ace
commit
0a0eea0e80
@ -50,6 +50,12 @@ class LTE():
|
|||||||
def _netlight_irq(self, pin):
|
def _netlight_irq(self, pin):
|
||||||
self._led.value(pin.value())
|
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):
|
def iccid(self):
|
||||||
try:
|
try:
|
||||||
return self._send_at_command("AT+CICCID", 1)
|
return self._send_at_command("AT+CICCID", 1)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user