[WeActSTM32F411CEU6] network.WLAN

Discussion and questions about boards that can run MicroPython but don't have a dedicated forum.
Target audience: Everyone interested in running MicroPython on other hardware.
Post Reply
davef
Posts: 811
Joined: Thu Apr 30, 2020 1:03 am
Location: Christchurch, NZ

[WeActSTM32F411CEU6] network.WLAN

Post by davef » Tue Aug 25, 2020 1:49 am

When I import network I get this error:

Code: Select all

Traceback (most recent call last):
  File "main.py", line 91, in <module>
AttributeError: 'module' object has no attribute 'WLAN'
Is WLAN not available is this port? If it is available in the Pyboard port I would look closer at the build files.

Thank you,
Dave

User avatar
dhylands
Posts: 3821
Joined: Mon Jan 06, 2014 6:08 pm
Location: Peachland, BC, Canada
Contact:

Re: [WeActSTM32F411CEU6] network.WLAN

Post by dhylands » Tue Aug 25, 2020 4:49 pm

The WeActSTM32F411CEU6 board has no hardware for WAN or LAN.

The pyboard (1.0 and 1.1 series) also has no WAN or LAN hardware. The Pyboard-D, ESP32, and ESP8266 all have WAN hardware builtin.

davef
Posts: 811
Joined: Thu Apr 30, 2020 1:03 am
Location: Christchurch, NZ

Re: [WeActSTM32F411CEU6] network.WLAN

Post by davef » Wed Aug 26, 2020 1:16 am

Hi,

I can use a ESP-01S on UART2 but was hoping that if I was using a powered USB hub I could "patch" a USB WiFi dongle in and use similar calls as on the ESP32 port.

Thanks,
Dave

Post Reply