Non-supported MicroPython modules

TM NPU MicroPython

Product
SIMACTIC S7-1500 TM NPU 2.0
Language
en-US
Category
Manual

The following modules from the MicroPython standard are not supported on TM NPU and cannot be used:

Name of module

Classes and functions

Notes

usocket

Entire module

Provides access to the BSD socket interface.

ussl

Entire module

Provides access to Transport Layer Security encryption and peer authentication facilities for network sockets, both client-side and server-side.

utime

utime.mktime()

Inversed function of localtime.

_thread

Entire module

Inverse function of localtime.

btree

Entire module

Implements a simple keyvalue database using external storage (disk files, or in general cases, a random-access stream). Access to external storage not granted.

framebuf

Entire module

Provides a general frame buffer which can be used to create bitmap images for sending to a display.

machine

Entire module

Provides functions related to the hardware. Use TM NPU specific instead to interact with hardware.

micropython

micropython.kdb_intr(), micropython.schedule()

Allows KeyboardInterrupt exceptions and schedule the ‘func’ function to be executed “very soon”.

network

Entire module

This module provides network drivers and routing configuration.

ubluetooth

Entire module

Provides an interface to a Bluetooth controller on a board.

ucryptolib

Entire module

Provides encryption/ decryption functionality.

uctypes

Entire module

Allows access to binary data in a structured way.