summaryrefslogtreecommitdiffstatshomepage
path: root/cc3200/mptask.c
diff options
context:
space:
mode:
authorDaniel Campora <daniel@wipy.io>2015-07-28 23:50:22 +0200
committerDaniel Campora <daniel@wipy.io>2015-07-30 00:43:16 +0200
commitaa58c7ec74e00f9dd652a1b56e2a7f8ae4b615da (patch)
tree4e412d5aab342aafc2f83ad47b4215011f7faf1d /cc3200/mptask.c
parentb56634e6919265de4f2344dfac81ace7abbcc15b (diff)
downloadmicropython-aa58c7ec74e00f9dd652a1b56e2a7f8ae4b615da.tar.gz
micropython-aa58c7ec74e00f9dd652a1b56e2a7f8ae4b615da.zip
cc3200: Append last 2 bytes of the MAC address to the default SSID.
Diffstat (limited to 'cc3200/mptask.c')
-rw-r--r--cc3200/mptask.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cc3200/mptask.c b/cc3200/mptask.c
index 8aaf171239..f14200ac37 100644
--- a/cc3200/mptask.c
+++ b/cc3200/mptask.c
@@ -372,9 +372,9 @@ STATIC void mptask_init_sflash_filesystem (void) {
}
STATIC void mptask_enter_ap_mode (void) {
- // enable simplelink in low power mode
+ // enable simplelink in ap mode (use the MAC address to make the ssid unique)
wlan_sl_enable (ROLE_AP, MICROPY_PORT_WLAN_AP_SSID, strlen(MICROPY_PORT_WLAN_AP_SSID), MICROPY_PORT_WLAN_AP_SECURITY,
- MICROPY_PORT_WLAN_AP_KEY, strlen(MICROPY_PORT_WLAN_AP_KEY), MICROPY_PORT_WLAN_AP_CHANNEL);
+ MICROPY_PORT_WLAN_AP_KEY, strlen(MICROPY_PORT_WLAN_AP_KEY), MICROPY_PORT_WLAN_AP_CHANNEL, true);
}
STATIC void mptask_create_main_py (void) {