Indigresso Wiki

Open Source Stuff for DASH7

User Tools

Site Tools


MPipe Client App

The MPipe Client app is a built-in application for OpenTag that builds onto a POSIX platform. It is an implementation of an OpenTag client console — not a server — so it does not manage a DASH7 stack, it just manages an MPipe connection to an OpenTag server (which manages the DASH7 stack).

The MPipe Client implements the following parts of the OpenTag Library (OTlib):

  • ALP Client
  • Buffers
  • CRC
  • NDEF
  • Queue
  • POSIX MPipe Driver (not actually part of OTlib)

What You Get

Command Line App

otclient is the name of the MPipe Client App. It is POSIX C and it runs in a POSIX shell. Using it is kind of like using POSIX command line apps ftp or cu or other ones similar to these, as otclient has a series of commands that can be used to send ALP messages (and especially ALP-API messages) from the cilent to the server. The server will run tasks based on the input messages from the client (the tasks often have something to do with creating DASH7 dialogs between the server and other DASH7 devices).

Python-based GUI App

I am working slowly on the Python-based GUI App. This crazy high-level programming is weird to me, so if you are a Python developer and you want to do something really cool for the OpenTag/DASH7 community, or you just want to be involved in a Python project that will look good on a resume, please contact me.
otgui is the name of the GUI front-end for otclient that also includes some more convenient data display features (such as a table of ISF configuration files with all the data elements broken-out for easy access). otgui is written in Python using wxPython as the GUI toolkit, and it is portable to Linux, Mac, and Windows.

Some other type of GUI App

Please contact me if you want to make a different type of front-end for otclient.

Platforms Supported

Anything with a POSIX layer and a TTY interface. Linux, Mac OS X, and anything else UNIX are POSIX OSes, so they work quite naturally. Getting MPipe Client working on Windows requires a POSIX compatibility layer such as MinGW.

Files Involved

The normal group of application files, stored in directory /Apps/Client_MPipe/Code, are used with the MPipe Client. The platform drivers are stored in /Platforms/POSIX

Build Instructions

Make sure to change /Apps/Client_MPipe/Code/build_config.h to the parameters that make sense for the HW you are using. really, the only important attributes are the Endian-ness and the size of a pointer (OpenTag cares about these things). After that, just build like a normal POSIX apps.

The otclient app will be installed into /usr/local/bin of your machine.

$ cd [base-dir]/Apps/Client_MPipe
$ make otclient
$ make install
opentag/apps/client_mpipe.txt · Last modified: 2011/10/07 20:03 by jpnorair