Skip to main content

WireST SDK

WireST SDK is a library for Linux gateways that allows easy access to the data exported by an IO-Link device that implements the IOLinkST Protocol.

Documentation

Documentation can be found here.

Compatibility

This version of the SDK is compatible with Python 3.5 and runs on a Linux system.

Preconditions

The WireST SDK makes use of the pySerial Python interface to serial ports on Linux.

$ sudo pip3 install pyserial

Moreover, it uses the concurrent.futures module to run pools of threads in background, that serve listeners' callbacks.

$ sudo pip3 install futures

Installation

The WireST SDK can be installed through the Python pip package manager.

$ sudo pip3 install wire-st-sdk

Setting up the application examples

Before running the application examples, please prepare your devices as described here below:

  • The example_iolink_1.py application example shows how to connect IO-Link devices to a Linux gateway, to set their parameters, and to get data from them. The application requires to have a masterboard, e.g. the STEVAL-IPD004V1 evaluation board, connected to IO-Link devices, e.g. the STEVAL-IPD005V1 evaluation board, with a FW compatible with the IOLinkST Protocol.

Other application examples which show how to send data to the cloud can be found within the EdgeST SDK for Linux, an IoT edge computing abstraction library for Linux gateways.

Running the application examples

To run the application examples please follow the steps below:

  1. Install the WireST SDK as described by the Installation chapter.
  2. Clone the WireST SDK git repository to download the application examples:
$ git clone https://github.com/STMicroelectronics/WireSTSDK_Python.git
  1. Enter the "wire_st_examples/iolink" folder and run the desired script:
$ sudo python3 example_iolink_x.py

License

COPYRIGHT(c) 2019 STMicroelectronics

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  3. Neither the name of STMicroelectronics nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Metadata

Release files for wire-st-sdk 1.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wire-st-sdk 1.2.2
File Size Uploaded
wire_st_sdk-1.2.2.tar.gz 13.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for wire-st-sdk 1.2.2
File Interpreter ABI Platform
wire_st_sdk-1.2.2-py2-none-any.whl Python 2 none any Details

Total release size: 34.0 kB

Release files / wire_st_sdk-1.2.2.tar.gz

Download URL wire_st_sdk-1.2.2.tar.gz
Size 13.2 kB
Tags Source
SHA-256 checksum
How to use checksums
ea987f457829fc3151fce54d6f4dfcce98230bceb7797393c0069532d646d0aa
BLAKE2b-256 checksum
How to use checksums
bb6a9c5e9836a96864f872ccbba6dd1a9f6e1299fb4f0b4d3f401912fc464831
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.12

Release files / wire_st_sdk-1.2.2-py2-none-any.whl

Download URL wire_st_sdk-1.2.2-py2-none-any.whl
Size 20.7 kB
Tags Python 2
SHA-256 checksum
How to use checksums
44a8c328d6905def5c79a5a5e53c370c297ac9dbc6cb3d2be0a3c7e60fc8035d
BLAKE2b-256 checksum
How to use checksums
f9db8da069c8b928d631eacca47c9c2b133b3409d585daf27cbc5ed9c93815ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.12

Release history Release notifications | RSS feed

This release

1.2.2 This release

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page