WLAN

WLAN for pycom systems.

class mauzr.platform.pycom.wlan.Manager(core, cfgbase='wlan', **kwargs)

Bases: object

Manage WLAN connections.

Parameters:
  • core (object) – Core instance.
  • cfgbase (str) – Configuration entry for this unit.
  • kwargs (dict) – Keyword arguments that will be merged into the config.

Configuration:

  • networks (dict: A list of dictionaries containing ssid, password and connection timeout in milliseconds.
connected
Returns:True if wireless is connected.
Return type:bool
static sync_ntp()

Synchronize hardware clock with NTP.