- 1 Introduction
- 2 Installing
- 3 Using Xenon
- 4 Licensing
Intrig Xenon provides flexible, powerful and easy to use C++ API for decoding protocol messages.
Originally developed for 3G and 4G programmers and test engineers to decode their complex messages, the xenon decoder has evolved into a general purpose open source tool with an ever expanding protocol support base.
And, using XDDL, you can support your own proprietary message formats.
See xenon in action for yourself using the Intrig online decoder: http://intrig.com/x82da86.
Xenon is available as source only. It uses the cmake
build system and requires a modern C++11 compiler.
###2.1 For Mac and Linux Systems
git clone --recursive https://github.com/intrig/xenon.git
cd xenon
make
make test
Windows requires the following steps:
-
Install Github Desktop
Clone the xenon repo
-
Install cmake
Follow the instructions in the above link to have cmake generate the Visual Studio build files.
-
Microsoft Visual Studio 2015 (or later)
Load and build the Visual Studio Solution file located at xenon/build/Program.sln
.
From now on, you can use the github shell to issue git commands.
Boost dependencies are not required for xenon, but some tests will be skipped if boost cannot be found.
- ubuntu: sudo apt-get install libboost-all-dev
- mac: brew install boost
- Windows: dunno, I just skip it
Tests can be run with
make test
###2.4 Updating to Latest Release
git pull --recurse-submodules
git submodule update
For your application, add the xenon/include
directory to your include path, and and link with the xenon library found
in the xenon/o
directory.
See the `xenon/examples' directory for some common uses of the decoder.
Also, the tools directory contains useful examples, such as idm
and xv
.
Choose from multiple licensing for Xenon:
- GPL for open source and internal tools
- Intrig Commercial License for distributing with your own software. This version comes with unlimited technical support. Contact support@intrig.com for more on commercial licensing.
Additionally, The Intrig C++ Toolkit, a set of powerful C++ types and function that xenon is built upon, is available under the permissive MIT license. Check it out!