From 8365c3c794fc9e09d4f2f854ddf2c5c1d935eb65 Mon Sep 17 00:00:00 2001 From: gijsio <67470426+gijsio@users.noreply.github.com> Date: Wed, 26 May 2021 10:59:29 +0200 Subject: [PATCH] Update wlan.md (#425) added bssid format explanation to wlan.connect() --- content/firmwareapi/pycom/network/wlan.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/firmwareapi/pycom/network/wlan.md b/content/firmwareapi/pycom/network/wlan.md index 8e86053..fd41fa4 100644 --- a/content/firmwareapi/pycom/network/wlan.md +++ b/content/firmwareapi/pycom/network/wlan.md @@ -94,7 +94,7 @@ Connect to a WiFi Access Point using the given SSID, and other parameters * `WLAN.WPA` * `WLAN.WPA2` * `WLAN.WPA2_ENT`: this will use the following format: `(sec, username, password)` -* `bssid` is the MAC address of the AP to connect to. This is useful when there are several APs with the same SSID. +* `bssid` is the MAC address of the AP to connect to. This is useful when there are several APs with the same SSID. The bssid is given as 6 Hexadecimal bytes literals (i.e `b'\xff\xff\xff\xff\xff\xff'`) * `timeout` is the maximum time in milliseconds to wait for the connection to succeed. * `ca_certs` is the path to the CA certificate. This argument is not mandatory. * `keyfile` is the path to the client key. Only used if `username` and `password` are not part of the `auth` tuple.