Skip to content
Snippets Groups Projects
Commit add933fe authored by Damien George's avatar Damien George
Browse files

docs/library/network: Clarify usage of "bssid" arg in connect() method.

parent 6db132e1
No related branches found
No related tags found
No related merge requests found
...@@ -72,8 +72,7 @@ parameter should be `id`. ...@@ -72,8 +72,7 @@ parameter should be `id`.
connection parameters. For various medium types, there are different connection parameters. For various medium types, there are different
sets of predefined/recommended parameters, among them: sets of predefined/recommended parameters, among them:
* WiFi: *bssid* keyword to connect by BSSID (MAC address) instead * WiFi: *bssid* keyword to connect to a specific BSSID (MAC address)
of access point name
.. method:: disconnect() .. method:: disconnect()
...@@ -333,9 +332,12 @@ parameter should be `id`. ...@@ -333,9 +332,12 @@ parameter should be `id`.
argument is passed. Otherwise, query current state if no argument is argument is passed. Otherwise, query current state if no argument is
provided. Most other methods require active interface. provided. Most other methods require active interface.
.. method:: wlan.connect(ssid, password) .. method:: wlan.connect(ssid=None, password=None, \*, bssid=None)
Connect to the specified wireless network, using the specified password. Connect to the specified wireless network, using the specified password.
If *bssid* is given then the connection will be restricted to the
access-point with that MAC address (the *ssid* must also be specified
in this case).
.. method:: wlan.disconnect() .. method:: wlan.disconnect()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment