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.0a3.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.0a3-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for micropython_om2m_client-0.1.0a3.tar.gz
Algorithm Hash digest
SHA256 eca5d674662b96e9fe027fe47645986b2d0ed26e9d5ac5636a19d7058e04cca8
MD5 aa9f5f190aa11a6a740e63267b07dcf9
BLAKE2b-256 d666585b4a9b51da6fceeb270c1680b0bd0fead1e5d543eb4e6c128008360188

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for micropython_om2m_client-0.1.0a3-py3-none-any.whl
Algorithm Hash digest
SHA256 7b88166421bbcd50a69d4dbceb6b4814c46bb6f7c164a902aad159e16c2b8247
MD5 8256863a3bf4af8250c48a213ad2a3e4
BLAKE2b-256 ea15293eb396656315b722baf440c656fea4bf9784d507dadda50a957a465fa1

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