aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDamien George2017-10-16 13:16:00 +1100
committerDamien George2017-10-16 13:16:00 +1100
commit65ba481cb0e067a97f8a999e2522b0656ca3b7fe (patch)
tree1180caa7a2d824771e8e43b3a37f87cc87a6f8f0 /docs
parent829c329dafb5006f73dc38e499978b9ccc96e6b7 (diff)
stm32/modnwwiznet5k: Implement WIZNET5K.isconnected() method.
Diffstat (limited to 'docs')
-rw-r--r--docs/library/network.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/library/network.rst b/docs/library/network.rst
index 258b2a20c..acb578a7c 100644
--- a/docs/library/network.rst
+++ b/docs/library/network.rst
@@ -268,6 +268,11 @@ parameter should be `id`.
Methods
-------
+ .. method:: wiznet5k.isconnected()
+
+ Returns ``True`` if the physical Ethernet link is connected and up.
+ Returns ``False`` otherwise.
+
.. method:: wiznet5k.ifconfig([(ip, subnet, gateway, dns)])
Get/set IP address, subnet mask, gateway and DNS.