Skip to content

Commit 77908cf

Browse files
kwagyemanclaude
andcommitted
docs: Fix network.WINC 802_1X constant documentation
The firmware exposes the WPA/WPA2-Enterprise security value under the qstr 802_1X, which is not a valid Python identifier. Document it as a note explaining getattr(network.WINC, "802_1X") access instead of an unusable .. data:: directive that no tool can represent. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 2aa7baf commit 77908cf

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

docs/library/network.WINC.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -190,10 +190,11 @@ Constructors
190190

191191
For connecting to a WPA/PSK based password protected network.
192192

193-
.. data:: 802_1X
194-
:type: int
193+
.. note::
195194

196-
Network is secured with WPA/WPA2 Enterprise.
195+
A WPA/WPA2 **Enterprise** (802.1X) security value also exists. The
196+
firmware exposes it under the name ``802_1X``, which is not a valid
197+
Python identifier — access it with ``getattr(network.WINC, "802_1X")``.
197198

198199
.. data:: MODE_STA
199200
:type: int

0 commit comments

Comments
 (0)