Skip to main content

Wired connection abstraction library package.

Project description

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 2.7 and runs on a Linux system.

Preconditions

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

$ sudo pip install pyserial

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

$ sudo pip install futures

Installation

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

$ sudo pip 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
    
  3. Enter the "wire_st_examples/iolink" folder and run the desired script:
    $ sudo python 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wire_st_sdk-1.1.2.tar.gz (13.0 kB view details)

Uploaded Source

Built Distribution

wire_st_sdk-1.1.2-py2-none-any.whl (20.5 kB view details)

Uploaded Python 2

File details

Details for the file wire_st_sdk-1.1.2.tar.gz.

File metadata

  • Download URL: wire_st_sdk-1.1.2.tar.gz
  • Upload date:
  • Size: 13.0 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for wire_st_sdk-1.1.2.tar.gz
Algorithm Hash digest
SHA256 726088161c7b450ab0c46279f5b394a5d2823703da1d5438f41f64cfec2ac4f0
MD5 51840b19901c3a276d12994ae72c8a8f
BLAKE2b-256 c4bd1b21a55d635fc19eb1bc4ee3bba954b6bebe215ef7f15225e5ac760e947b

See more details on using hashes here.

File details

Details for the file wire_st_sdk-1.1.2-py2-none-any.whl.

File metadata

  • Download URL: wire_st_sdk-1.1.2-py2-none-any.whl
  • Upload date:
  • Size: 20.5 kB
  • Tags: Python 2
  • Uploaded using 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

File hashes

Hashes for wire_st_sdk-1.1.2-py2-none-any.whl
Algorithm Hash digest
SHA256 086178b6ec9ad91358f1ac846a2cb2c264c0880a1ceb5f4db59fdbcba04395fa
MD5 9eea5eafaf8be5d2d43a76edc93aa281
BLAKE2b-256 5491f6fa4e80c1c59b6f45e5c34e00f0e6a35c0f65f8b8b57586fb02fd879f81

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page