Skip to main content

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


Download files

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

Source Distribution

micropython_om2m_client-0.1.0a2.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

micropython_om2m_client-0.1.0a2-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file micropython_om2m_client-0.1.0a2.tar.gz.

File metadata

File hashes

Hashes for micropython_om2m_client-0.1.0a2.tar.gz
Algorithm Hash digest
SHA256 9efe2ff6b4bc167b665e1e9d5dd2889287e65e8f6ade5faf5ae028f77d5efbff
MD5 cb8b4be026b50bd8fd90ddda99365126
BLAKE2b-256 aba14c29507d7d95a164fb23d945136bf3d4da5366fa5bc7192a4566e9e17353

See more details on using hashes here.

File details

Details for the file micropython_om2m_client-0.1.0a2-py3-none-any.whl.

File metadata

File hashes

Hashes for micropython_om2m_client-0.1.0a2-py3-none-any.whl
Algorithm Hash digest
SHA256 01c1582347d915113d11449d95d9459cb3a6aed35e5fd9581721121a53c6f32e
MD5 dc4f5c7f3dd91a8d288649e191f01484
BLAKE2b-256 b8c4a11b1fc84dc74ff07d441c916c42e3a0f3184ff8b3a0111c0767722f7134

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