Codecs for Satellite IoT messaging implemented in Python.
Project description
pynimcodec
A set of message codecs for use with satellite IoT products implemented in Python.
nimo
The NIMO message codec was designed by ORBCOMM and represents an efficient binary data packing for various data types at a bit-level.
This module also provides facilities to build a XML file compliant with the ORBCOMM and/or Viasat Message Definition File concept to apply to messages sent over the IsatData Pro service.
The principles of the NIMO Common Message Format are:
- First byte of payload is Service Identification Number (SIN)
representing a microservice running on an IoT device.
Each
<Service>
consists of<ForwardMessages>
(e.g. commands) and/or<ReturnMessages>
(e.g. reports or responses from the IoT device). SIN must be in a range 16..255.
[!WARNING] SIN range 16..127 may conflict with certain ORBCOMM-reserved messages when using the ORBCOMM IDP service.
-
Second byte of payload is Message Identification Number (MIN) representing a remote operation such as a data report or a command. The combination of SIN and MIN and direction (Forward/Return) enables decoding of subsequent
<Fields>
containing data. -
Subsequent bytes of data are defined by
<Fields>
where each<Field>
has a data type such as<SignedIntField>
,<EnumField>
, etc. These fields can be defined on individual bitwise boundaries, for example a 5-bit unsigned integer with maximum value 31, or a boolean single bit.
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
Built Distribution
File details
Details for the file pynimcodec-0.3.0.tar.gz
.
File metadata
- Download URL: pynimcodec-0.3.0.tar.gz
- Upload date:
- Size: 22.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.8.10 Linux/5.15.0-91-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ecb606a34760f29078baea79b85382e0cbdf698cd406c7856b885f4a321479e |
|
MD5 | b8fce5e7c09430d4bc2117bfca269e71 |
|
BLAKE2b-256 | 9d1cebaaecd0d4f62d9c76e687afc30b3e05e6505c6d7be957e105727fdcf9cd |
File details
Details for the file pynimcodec-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: pynimcodec-0.3.0-py3-none-any.whl
- Upload date:
- Size: 31.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.8.10 Linux/5.15.0-91-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86378696539e1867ec4f8c30f9287169732abaee94ac84140538457f06c0a02c |
|
MD5 | dc36fad13de3246128bb5ec68473fe0c |
|
BLAKE2b-256 | ce0b1e84d7b6afad6218b19b3999ccc9b24d1ed4fdffa6f84f360abc591d6fa9 |