diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/library/network.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/library/network.rst b/docs/library/network.rst index a14d6192ea..cc50884294 100644 --- a/docs/library/network.rst +++ b/docs/library/network.rst @@ -188,6 +188,11 @@ The following are functions available in the network module. during connection. For this reason, you must set the hostname before activating/connecting your network interfaces. + The length of the hostname is limited to 32 characters. + :term:`MicroPython ports <MicroPython port>` may choose to set a lower + limit for memory reasons. If the given name does not fit, a `ValueError` + is raised. + The default hostname is typically the name of the board. .. function:: phy_mode([mode]) |