diff options
author | Kenta IDA <fuga@fugafuga.org> | 2019-07-10 00:30:38 +0900 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2019-08-14 17:20:58 +1000 |
commit | b6906fa573bb1fcde5004e83b40832ae9ba8b002 (patch) | |
tree | 66cd4feb9cee86ceacf98a2490b7bda2ddbb6744 /tests/micropython/heapalloc_fail_set.py | |
parent | 3d02ebb4e8262b67433eadc80100155387c6f186 (diff) |
esp32/network_ppp: Add authentication support to the PPP interface.
This commit adds the connect() method to the PPP interface and requires
that connect() be called after active(1). This is a breaking change for
the PPP API.
With the connect() method it's now possible to pass in authentication
information for PAP/CHAP, eg:
ppp.active(1)
ppp.connect(authmode=ppp.AUTH_PAP, username="user", "password="password")
If no authentication is needed simply call connect() without any
parameters. This will get the original behaviour of calling active(1).
Diffstat (limited to 'tests/micropython/heapalloc_fail_set.py')
0 files changed, 0 insertions, 0 deletions