File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -72,8 +72,7 @@ parameter should be `id`.
72
72
connection parameters. For various medium types, there are different
73
73
sets of predefined/recommended parameters, among them:
74
74
75
- * WiFi: *bssid * keyword to connect by BSSID (MAC address) instead
76
- of access point name
75
+ * WiFi: *bssid * keyword to connect to a specific BSSID (MAC address)
77
76
78
77
.. method :: disconnect()
79
78
@@ -333,9 +332,12 @@ parameter should be `id`.
333
332
argument is passed. Otherwise, query current state if no argument is
334
333
provided. Most other methods require active interface.
335
334
336
- .. method :: wlan.connect(ssid, password)
335
+ .. method :: wlan.connect(ssid=None , password=None, \*, bssid=None )
337
336
338
337
Connect to the specified wireless network, using the specified password.
338
+ If *bssid * is given then the connection will be restricted to the
339
+ access-point with that MAC address (the *ssid * must also be specified
340
+ in this case).
339
341
340
342
.. method :: wlan.disconnect()
341
343
You can’t perform that action at this time.
0 commit comments