Indigresso Wiki

Open Source Stuff for DASH7

User Tools

Site Tools


PingPong Demo App

The Ping Pong Demo app is a built-in application for OpenTag that has a single build. The Ping Pong Demo build is sort of unlike other ping-pong demos in that it is self-configuring, so just turn-on two devices and wait for them to synchronize.

The Ping Pong app is useful for testing the following OpenTag functions:

  • Expanded TX and RX (MAC Dialog features)
  • Scan Cycle Routines
  • Basic M2QP usage (Unicast Inventory or Collection)
  • Application-level synchronization (optional, if you have RTC)

Platforms Supported

All completed, official platforms support the Ping Pong Demo.

Files Involved

The normal group of application files, stored in directory /Apps/Demo_PingPong/Code, are used with the Ping Pong Demo.


  • Basic Build Configuration (build_config.h)
  • Application Configuration (app_config_blinker.h)

C Files

  • Main application file (PingPong_main_[platform-name].c)

Build Instructions

Ping Pong Demo works fine with debug or release modes of operation. There are no special instructions for building.

Default Configuration

The Ping Pong Demo uses a pretty minimal configuration, so it is good for testing just the basics of OpenTag for early versions of ports. You can see the full configuration file at /Apps/Demo_PingPong/Code/app_config_PingPong.h, which follows the normal configuration format.

The configuration allows the following application usage

  • Filesystem is read/write only (no create/delete).
  • ALPs are disabled, so you have to configure setup parameters at build-time.
  • MPipe is enabled, and used to log activity for: pings (requests), pongs (responses), and synchronization updates.
  • -
opentag/apps/demo_pingpong.txt · Last modified: 2011/10/17 02:55 by jpnorair