diff options
| author | Daniël van de Giessen <daniel@dvdgiessen.nl> | 2023-08-09 10:31:29 +0200 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2024-11-13 13:10:58 +1100 |
| commit | 161e2bd37df70556ef2a276c53af2c0cdc79af5f (patch) | |
| tree | 83a1b0f6a7f7b5b527ccab66b94d897041f74f66 /docs | |
| parent | 4fd5b72a8b71c6b3a074bcc3b9f6385b049c3dcb (diff) | |
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>
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/library/network.PPP.rst | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/library/network.PPP.rst b/docs/library/network.PPP.rst index 85f580ce5..17a8d1c1c 100644 --- a/docs/library/network.PPP.rst +++ b/docs/library/network.PPP.rst @@ -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, ...) |
