A MicroPython client for interacting with OM2M CSE (Work in Progress).
Project description
MicroPython OM2M Client
Work in Progress: This package is in the early stages of development and may contain bugs and missing features.
A lightweight OM2M client for MicroPython to interact with a CSE server.
NOTE: DESIGNED TO ONLY WORK WITH MIDDLE NODES.
Features
- Register an Application Entity (AE)
- Create Containers under the AE
- Send sensor data to OM2M CSE servers
Installation
Install via upip:
upip.install("micropython-om2m-client")
Usage
from om2m_client import OM2MClient
client = OM2MClient(
cse_url="http://example.com",
device_name="MyDevice",
container_name="MyContainer"
)
client.register_ae()
client.create_container()
client.send_data({"key": "value"})
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file micropython_om2m_client-0.1.0a2.tar.gz.
File metadata
- Download URL: micropython_om2m_client-0.1.0a2.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9efe2ff6b4bc167b665e1e9d5dd2889287e65e8f6ade5faf5ae028f77d5efbff
|
|
| MD5 |
cb8b4be026b50bd8fd90ddda99365126
|
|
| BLAKE2b-256 |
aba14c29507d7d95a164fb23d945136bf3d4da5366fa5bc7192a4566e9e17353
|
File details
Details for the file micropython_om2m_client-0.1.0a2-py3-none-any.whl.
File metadata
- Download URL: micropython_om2m_client-0.1.0a2-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
01c1582347d915113d11449d95d9459cb3a6aed35e5fd9581721121a53c6f32e
|
|
| MD5 |
dc4f5c7f3dd91a8d288649e191f01484
|
|
| BLAKE2b-256 |
b8c4a11b1fc84dc74ff07d441c916c42e3a0f3184ff8b3a0111c0767722f7134
|