Skip to main content

Communication handling for all MeT IOT devices

Project description

MeT IOT Communication

Useful Links

Changelog v0.1.3

- Fix invalid pointer error on python program exit

How To Use

Importing the Library

Use pip to install the library

pip install MeTIOT

[!NOTE] This library is not pre-compiled. You must have installed on your system (Other version may work but are official unsupported):

  • GCC >= 15.2.1
  • CMake >= 3.10

Programming with the Library

Testing the library imported successfully

You can use this code to test you can successfully import the library into your code.

import MeTIOT

client = MeTIOT.DeviceClient("0.0.0.0", 12345)

print(type(client))
print("MeTIOT import successful!")

Using the library

For further information on how to use this library refer to the PYTHON_LIB_GUIDE.md document.

How to compile and use from this repository

Linux based systems:

  1. Clone the repository
git clone https://github.com/Microelectronic-Technologies/MeTIOTCommunication.git
  1. Create and navigate into build directory
mkdir build
cd build
  1. Compile library using CMake
cmake ..
cmake --build . --config Release
  1. Export path to python
export PYTHONPATH=./src/python_bindings:$PYTHONPATH
  1. Now you can use and import the library in your current directory
  2. (optional) Test the library is python
python3
import MeTIOT
client = MeTIOT.DeviceClient("0.0.0.0", 12345)
type(client)
client.connect()

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

metiot-0.1.3.tar.gz (97.3 kB view details)

Uploaded Source

File details

Details for the file metiot-0.1.3.tar.gz.

File metadata

  • Download URL: metiot-0.1.3.tar.gz
  • Upload date:
  • Size: 97.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for metiot-0.1.3.tar.gz
Algorithm Hash digest
SHA256 c795f7597bbe7f3843d8ada17b657882e2c4e073c54c85d0fed3c13772577174
MD5 438e9ca969e2e2d9e5f9af923a7461d8
BLAKE2b-256 e8503a2a1f309cf9598d88235e3f70265ac020a9c592107e29b1b1e0cb36076e

See more details on using hashes here.

Supported by

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