Mara network protocol
Project description
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
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.