File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -138,16 +138,16 @@ Constants
138138 Note that you don't need to specify these in a call to `usocket.socket() `,
139139 because `SOCK_STREAM ` socket type automatically selects `IPPROTO_TCP `, and
140140 `SOCK_DGRAM ` - `IPPROTO_UDP `. Thus, the only real use of these constants
141- is as an argument to `setsockopt() `.
141+ is as an argument to `usocket.socket. setsockopt() `.
142142
143143.. data :: usocket.SOL_*
144144
145- Socket option levels (an argument to `setsockopt() `). The exact
145+ Socket option levels (an argument to `usocket.socket. setsockopt() `). The exact
146146 inventory depends on a ``MicroPython port ``.
147147
148148.. data :: usocket.SO_*
149149
150- Socket options (an argument to `setsockopt() `). The exact
150+ Socket options (an argument to `usocket.socket. setsockopt() `). The exact
151151 inventory depends on a ``MicroPython port ``.
152152
153153Constants specific to WiPy:
Original file line number Diff line number Diff line change 88msgstr ""
99"Project-Id-Version : PACKAGE VERSION\n "
1010"Report-Msgid-Bugs-To : \n "
11- "POT-Creation-Date : 2018-10-11 17:02 +1100\n "
11+ "POT-Creation-Date : 2018-10-11 22:08 +1100\n "
1212"PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE\n "
1313"Last-Translator : FULL NAME <EMAIL@ADDRESS>\n "
1414"Language-Team : LANGUAGE <LL@li.org>\n "
@@ -2292,7 +2292,7 @@ msgstr ""
22922292msgid "RTC calibration is not supported on this board"
22932293msgstr ""
22942294
2295- #: shared-bindings/socket/__init__.c:428 shared-module/network/__init__.c:64
2295+ #: shared-bindings/socket/__init__.c:516 shared-module/network/__init__.c:64
22962296msgid "no available NIC"
22972297msgstr ""
22982298
Original file line number Diff line number Diff line change 77msgstr ""
88"Project-Id-Version : \n "
99"Report-Msgid-Bugs-To : \n "
10- "POT-Creation-Date : 2018-10-11 14:16 +1100\n "
10+ "POT-Creation-Date : 2018-10-11 22:08 +1100\n "
1111"PO-Revision-Date : 2018-07-27 11:55-0700\n "
1212"Last-Translator : Sebastian Plamauer\n "
1313"Language-Team : \n "
@@ -2311,7 +2311,7 @@ msgstr ""
23112311msgid "RTC calibration is not supported on this board"
23122312msgstr ""
23132313
2314- #: shared-bindings/socket/__init__.c:428 shared-module/network/__init__.c:64
2314+ #: shared-bindings/socket/__init__.c:516 shared-module/network/__init__.c:64
23152315msgid "no available NIC"
23162316msgstr ""
23172317
Original file line number Diff line number Diff line change 77msgstr ""
88"Project-Id-Version : \n "
99"Report-Msgid-Bugs-To : \n "
10- "POT-Creation-Date : 2018-10-11 14:16 +1100\n "
10+ "POT-Creation-Date : 2018-10-11 22:08 +1100\n "
1111"PO-Revision-Date : 2018-07-27 11:55-0700\n "
1212"Last-Translator : \n "
1313"Language-Team : \n "
@@ -2292,7 +2292,7 @@ msgstr ""
22922292msgid "RTC calibration is not supported on this board"
22932293msgstr ""
22942294
2295- #: shared-bindings/socket/__init__.c:428 shared-module/network/__init__.c:64
2295+ #: shared-bindings/socket/__init__.c:516 shared-module/network/__init__.c:64
22962296msgid "no available NIC"
22972297msgstr ""
22982298
Original file line number Diff line number Diff line change 77msgstr ""
88"Project-Id-Version : \n "
99"Report-Msgid-Bugs-To : \n "
10- "POT-Creation-Date : 2018-10-11 14:16 +1100\n "
10+ "POT-Creation-Date : 2018-10-11 22:08 +1100\n "
1111"PO-Revision-Date : 2018-08-24 22:56-0500\n "
1212"Last-Translator : \n "
1313"Language-Team : \n "
@@ -2340,7 +2340,7 @@ msgstr ""
23402340msgid "RTC calibration is not supported on this board"
23412341msgstr ""
23422342
2343- #: shared-bindings/socket/__init__.c:428 shared-module/network/__init__.c:64
2343+ #: shared-bindings/socket/__init__.c:516 shared-module/network/__init__.c:64
23442344msgid "no available NIC"
23452345msgstr ""
23462346
Original file line number Diff line number Diff line change 77msgstr ""
88"Project-Id-Version : \n "
99"Report-Msgid-Bugs-To : \n "
10- "POT-Creation-Date : 2018-10-11 14:16 +1100\n "
10+ "POT-Creation-Date : 2018-10-11 22:08 +1100\n "
1111"PO-Revision-Date : 2018-08-30 23:04-0700\n "
1212"Last-Translator : Timothy <me@timothygarcia.ca>\n "
1313"Language-Team : fil\n "
@@ -2358,7 +2358,7 @@ msgstr "Hindi supportado ang RTC sa board na ito"
23582358msgid "RTC calibration is not supported on this board"
23592359msgstr "RTC calibration ay hindi supportado ng board na ito"
23602360
2361- #: shared-bindings/socket/__init__.c:428 shared-module/network/__init__.c:64
2361+ #: shared-bindings/socket/__init__.c:516 shared-module/network/__init__.c:64
23622362msgid "no available NIC"
23632363msgstr ""
23642364
Original file line number Diff line number Diff line change 77msgstr ""
88"Project-Id-Version : 0.1\n "
99"Report-Msgid-Bugs-To : \n "
10- "POT-Creation-Date : 2018-10-11 17:02 +1100\n "
10+ "POT-Creation-Date : 2018-10-11 22:08 +1100\n "
1111"PO-Revision-Date : 2018-08-14 11:01+0200\n "
1212"Last-Translator : Pierrick Couturier <arofarn@arofarn.info>\n "
1313"Language-Team : fr\n "
@@ -2354,7 +2354,7 @@ msgstr "RTC non supportée sur cette carte"
23542354msgid "RTC calibration is not supported on this board"
23552355msgstr "calibration de la RTC non supportée sur cette carte"
23562356
2357- #: shared-bindings/socket/__init__.c:428 shared-module/network/__init__.c:64
2357+ #: shared-bindings/socket/__init__.c:516 shared-module/network/__init__.c:64
23582358#, fuzzy
23592359msgid "no available NIC"
23602360msgstr "busio.UART n'est pas disponible"
@@ -2522,10 +2522,10 @@ msgstr "'S' et 'O' ne sont pas des types de format supportés"
25222522msgid "too many arguments provided with the given format"
25232523msgstr "trop d'arguments fournis avec ce format"
25242524
2525- #, fuzzy
2526- #~ msgid "palette must be displayio.Palette"
2527- #~ msgstr "la palette doit être longue de 32 octets"
2528-
25292525#, fuzzy
25302526#~ msgid "value_size must be power of two"
25312527#~ msgstr "'len' doit être un multiple de 4"
2528+
2529+ #, fuzzy
2530+ #~ msgid "palette must be displayio.Palette"
2531+ #~ msgstr "la palette doit être longue de 32 octets"
Original file line number Diff line number Diff line change 88msgstr ""
99"Project-Id-Version : PACKAGE VERSION\n "
1010"Report-Msgid-Bugs-To : \n "
11- "POT-Creation-Date : 2018-10-11 14:15 +1100\n "
11+ "POT-Creation-Date : 2018-10-11 22:08 +1100\n "
1212"PO-Revision-Date : 2018-10-02 16:27+0200\n "
1313"Last-Translator : Enrico Paganin <enrico.paganin@mail.com>\n "
1414"Language-Team : \n "
@@ -2344,7 +2344,7 @@ msgstr "RTC non supportato su questa scheda"
23442344msgid "RTC calibration is not supported on this board"
23452345msgstr "calibrazione RTC non supportata su questa scheda"
23462346
2347- #: shared-bindings/socket/__init__.c:428 shared-module/network/__init__.c:64
2347+ #: shared-bindings/socket/__init__.c:516 shared-module/network/__init__.c:64
23482348#, fuzzy
23492349msgid "no available NIC"
23502350msgstr "busio.UART non ancora implementato"
Original file line number Diff line number Diff line change 88msgstr ""
99"Project-Id-Version : PACKAGE VERSION\n "
1010"Report-Msgid-Bugs-To : \n "
11- "POT-Creation-Date : 2018-10-11 14:17 +1100\n "
11+ "POT-Creation-Date : 2018-10-11 22:08 +1100\n "
1212"PO-Revision-Date : 2018-10-02 21:14-0000\n "
1313"Last-Translator : \n "
1414"Language-Team : \n "
@@ -2299,7 +2299,7 @@ msgstr "O RTC não é suportado nesta placa"
22992299msgid "RTC calibration is not supported on this board"
23002300msgstr "A calibração RTC não é suportada nesta placa"
23012301
2302- #: shared-bindings/socket/__init__.c:428 shared-module/network/__init__.c:64
2302+ #: shared-bindings/socket/__init__.c:516 shared-module/network/__init__.c:64
23032303msgid "no available NIC"
23042304msgstr ""
23052305
Original file line number Diff line number Diff line change 3636
3737#include "shared-bindings/network/__init__.h"
3838
39+ #if MICROPY_PY_NETWORK
40+
3941//| :mod:`network` --- Network Interface Management
4042//| ===============================================
4143//|
4244//| .. module:: network
4345//| :synopsis: Network Interface Management
4446//| :platform: SAMD
45-
46- #if MICROPY_PY_NETWORK
47-
48- /// \module network - network configuration
49- ///
50- /// This module provides a registry of configured NICs.
47+ //|
48+ //| This module provides a registry of configured NICs.
49+ //| It is used by the 'socket' module to look up a suitable
50+ //| NIC when a socket is created.
51+ //|
52+ //| .. function:: route
53+ //|
54+ //| Returns a list of all configured NICs.
55+ //|
5156
5257STATIC mp_obj_t network_route (void ) {
5358 return MP_OBJ_FROM_PTR (& MP_STATE_PORT (mod_network_nic_list ));
You can’t perform that action at this time.
0 commit comments