mirror of
https://github.com/micropython/micropython.git
synced 2026-01-10 05:57:16 +01:00
extmod/network_ppp: Add stream config parameter.
This makes the stream that the PPP object wraps, which is normally only set once via the constructor, accessible and configurable via the `ppp.config()` method. Signed-off-by: Daniël van de Giessen <daniel@dvdgiessen.nl>
This commit is contained in:
committed by
Damien George
parent
4fd5b72a8b
commit
161e2bd37d
@@ -70,8 +70,11 @@ Methods
|
||||
|
||||
.. method:: PPP.config(config_parameters)
|
||||
|
||||
Sets or gets parameters of the PPP interface. There are currently no parameter that
|
||||
can be set or retrieved.
|
||||
Sets or gets parameters of the PPP interface. The only parameter that can be
|
||||
retrieved and set is the underlying stream, using::
|
||||
|
||||
stream = PPP.config("stream")
|
||||
PPP.config(stream=stream)
|
||||
|
||||
.. method:: PPP.ipconfig('param')
|
||||
PPP.ipconfig(param=value, ...)
|
||||
|
||||
Reference in New Issue
Block a user