A Python client library for MARA protocol. Includes server emulator, although MARA servers are tipically microcontrollers.
Project description
=======
MaraNet
=======
.. image:: https://img.shields.io/pypi/v/maranet.svg
:target: https://pypi.python.org/pypi/maranet
.. image:: https://img.shields.io/travis/D3f0/maranet.svg
:target: https://travis-ci.org/D3f0/maranet
.. image:: https://readthedocs.org/projects/maranet/badge/?version=latest
:target: https://maranet.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
.. image:: https://pyup.io/repos/github/D3f0/maranet/shield.svg
:target: https://pyup.io/repos/github/D3f0/maranet/
:alt: Updates
A Python client library for MARA protocol. Includes server emulator, although MARA servers are tipically microcontrollers.
* Free software: MIT license
* Documentation: https://maranet.readthedocs.io.
Mara Network Protocol
=====================
Mara is a protocol designed for interaction with a network of embedded devices.
These devices collect state and events from a process (implementations include
traffic light systems and power station monitoring).
Mara 1.0 is source code is implemented on top of Microchip PIC devices and code
can be requested at ricadoalopez at gmail.
Mara 1.6, designed with 16 bit in mind, is implemented on top of Arduino libraries and
should be available soon.
Mara 1.0
--------
Mara packages structure::
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┐┌─────┐┌─────┬─────┐
│ SOF │ SEQ │ QTY │ SRC │ DST │ CMD │ PLD ││ ... ││ BCL │ BCH │
│ │ │ │ │ │ │ ││ ││ │ │
└─────┴─────┴─────┴─────┴─────┴─────┴─────┘└─────┘└─────┴─────┘
┌─────┬───────────┬───────────┬─────┬───────────┬───────────┐
│ QSV │ SV0 │ SV1 │ QDI │ DI0 │ DI1 │
│ │ │ │ │ │ │
└─────┴───────────┴───────────┴─────┴───────────┴───────────┘
┌─────┬───────────┬───────────┬─────┬─────────────────────────┐
│ QAI │ AI0 │ AI1 │ QEV │ EV.. .
│ │ │ │ │ │
└─────┴───────────┴───────────┴─────┴─────────────────────────┘
Where:
* **SOF** Start of frame
* **SEQ** Sequence number
* **QTY** Frame length or byte *quantity*
* **SRC** Source address
* **DST** Destination address
* **CMD** Command
* **PLD** Payload
- Payload consists of arrays of values
=======
History
=======
1.0 (2017-07-09)
------------------
* First release on PyPI. The sourcecode is extracted from https://github.com/d3f0/txscada and placed in an independet package.
1.0.1 (2017-07-09)
------------------
* Move code to cookiecutter python pacakge.
MaraNet
=======
.. image:: https://img.shields.io/pypi/v/maranet.svg
:target: https://pypi.python.org/pypi/maranet
.. image:: https://img.shields.io/travis/D3f0/maranet.svg
:target: https://travis-ci.org/D3f0/maranet
.. image:: https://readthedocs.org/projects/maranet/badge/?version=latest
:target: https://maranet.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
.. image:: https://pyup.io/repos/github/D3f0/maranet/shield.svg
:target: https://pyup.io/repos/github/D3f0/maranet/
:alt: Updates
A Python client library for MARA protocol. Includes server emulator, although MARA servers are tipically microcontrollers.
* Free software: MIT license
* Documentation: https://maranet.readthedocs.io.
Mara Network Protocol
=====================
Mara is a protocol designed for interaction with a network of embedded devices.
These devices collect state and events from a process (implementations include
traffic light systems and power station monitoring).
Mara 1.0 is source code is implemented on top of Microchip PIC devices and code
can be requested at ricadoalopez at gmail.
Mara 1.6, designed with 16 bit in mind, is implemented on top of Arduino libraries and
should be available soon.
Mara 1.0
--------
Mara packages structure::
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┐┌─────┐┌─────┬─────┐
│ SOF │ SEQ │ QTY │ SRC │ DST │ CMD │ PLD ││ ... ││ BCL │ BCH │
│ │ │ │ │ │ │ ││ ││ │ │
└─────┴─────┴─────┴─────┴─────┴─────┴─────┘└─────┘└─────┴─────┘
┌─────┬───────────┬───────────┬─────┬───────────┬───────────┐
│ QSV │ SV0 │ SV1 │ QDI │ DI0 │ DI1 │
│ │ │ │ │ │ │
└─────┴───────────┴───────────┴─────┴───────────┴───────────┘
┌─────┬───────────┬───────────┬─────┬─────────────────────────┐
│ QAI │ AI0 │ AI1 │ QEV │ EV.. .
│ │ │ │ │ │
└─────┴───────────┴───────────┴─────┴─────────────────────────┘
Where:
* **SOF** Start of frame
* **SEQ** Sequence number
* **QTY** Frame length or byte *quantity*
* **SRC** Source address
* **DST** Destination address
* **CMD** Command
* **PLD** Payload
- Payload consists of arrays of values
=======
History
=======
1.0 (2017-07-09)
------------------
* First release on PyPI. The sourcecode is extracted from https://github.com/d3f0/txscada and placed in an independet package.
1.0.1 (2017-07-09)
------------------
* Move code to cookiecutter python pacakge.
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
maranet-1.0.2.tar.gz
(14.4 kB
view hashes)
Built Distribution
Close
Hashes for maranet-1.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82d28e8891f0b01fe6d1fc3a830ce7b39caf5b7689d69a1249d7f85b0d5b9667 |
|
MD5 | b83271d0a6830e6f6a1021f8279b2366 |
|
BLAKE2b-256 | 2b596dd6ecdef21a318d809b4624be466b414d8145c5c15128862d8eb7a83130 |