You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
Pico-W-Go provides code auto-completion and allows you to communicate with your Raspberry Pi Pico (W) board using the built-in REPL console. Run a single file on your board, sync your entire project or directly type and execute commands.
4
4
5
-
> __Auto-completion based on Raspberry Pi Pico W MicroPython firmware: [rp2-pico-w-20230113-unstable-v1.19.1-796-gf4811b0b4.uf2](https://micropython.org/resources/firmware/rp2-pico-w-20230113-unstable-v1.19.1-796-gf4811b0b4.uf2)__
5
+
> __Auto-completion based on Raspberry Pi Pico W MicroPython firmware: [rp2-pico-w-20230302-unstable-v1.19.1-915-g2bcd88d55.uf2](https://micropython.org/resources/firmware/rp2-pico-w-20230302-unstable-v1.19.1-915-g2bcd88d55.uf2)__
6
6
7
7
This software is originally based on [Pico-Go](https://github.com/cpwood/Pico-Go) by cpwood.
Copy file name to clipboardExpand all lines: stubs/stubs/network/network.pyi
+32-2Lines changed: 32 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,6 @@
1
1
"""
2
2
Module: 'network' on micropython-v1.19.1-rp2
3
3
"""
4
-
# MCU: {'ver': 'v1.19.1', 'build': '', 'sysname': 'rp2', 'platform': 'rp2', 'version': '1.19.1', 'release': '1.19.1', 'port': 'rp2', 'family': 'micropython', 'name': 'micropython', 'machine': 'Raspberry Pi Pico W with RP2040', 'nodename': 'rp2'}
5
4
6
5
AP_IF: int=1# type: int
7
6
STAT_CONNECTING: int=1# type: int
@@ -163,5 +162,36 @@ parameter to retrieve. Supported parameters in WiFI STA mode are: ``'rssi'``.
163
162
"""
164
163
...
165
164
166
-
defroute(*args, **kwargs) -> ...:
165
+
defcountry(code: str="") ->str:
166
+
"""
167
+
Get or set the two-letter ISO 3166-1 Alpha-2 country code to be used for radio compliance.
168
+
169
+
If the code parameter is provided, the country will be set to this value. If the function is called without parameters, it returns the current country.
170
+
171
+
The default code `XX` represents the “worldwide” region.
172
+
"""
173
+
...
174
+
175
+
defhostname(name: str="") ->str:
176
+
"""
177
+
Get or set the hostname that will identify this
178
+
device on the network. It is applied to all
179
+
interfaces.
180
+
181
+
This hostname is used for:
182
+
- Sending to the DHCP server in the client
183
+
request. (If using DHCP)
184
+
185
+
- Broadcasting via mDNS. (If enabled)
186
+
187
+
If the name parameter is provided, the hostname
188
+
will be set to this value. If the function is
189
+
called without parameters, it returns the
190
+
current hostname.
191
+
192
+
The default hostname is typically the name of the board.
0 commit comments