Skip to content
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cmake
docs
dotnet
ets
kdrive
samples
thirdparty/poco
.gitignore
Acknowledgements.txt
CMakeLists.txt
ChangeLog.txt
LICENSE
README.adoc
Version.txt
_config.yml
build_raspbian.sh
build_unix.sh

README.adoc

BAOS SDK

Introduction

The BAOS Binary SDK is a C++ implementation of the KNX BAOS Binary Protocol. The class library aligns itself with the KNX BAOS Binary protocol, and for each protocol message type a corresponding class is available to send and receive the message data. In addition several convenience classes are provided to interpret the information, such as a Datapoint class for converting the raw byte stream into a specific parameter type. It is currently supported on the following platforms:

  • Windows

  • Linux

In addition to the native C++ classes a Managed C++ wrapper is also included to provide some level of integration with the .net languages, such as C# and Visual Basic.NET.

The KNX BAOS Binary SDK supports the BAOS Protocol version 1.2 as the 2.x versions.

Contents

The SDK contains:

cmake

utility files used by the cmake build system.

docs

SDK documentation

dotnet

.NET bindings

ets

ETS3/4 Project file (used by the Samples)

kdrive

the kdrive BAOS C++ implementation

samples

C++, C# and vb sample files

thirdparty

open-source Poco platform abstraction library

Supported Interfaces

  • KNX IP BAOS 770

  • KNX IP BAOS 771

  • KNX IP BAOS 772

  • KNX IP BAOS 773

  • KNX IP BAOS 774

  • KNX IP BAOS 777

  • KNX Serial BAOS 870

  • KNX BAOS Module 820

  • KNX BAOS Module 822

  • KNX BAOS Module 830

  • KNX BAOS Module 832

  • KNX BAOS Module kBerry 838

  • KNX USB Interface 312

  • KNX USB Interface 322

  • KNX USB Interface 332 Stick

Requirements

Compiling

Linux

mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DWZSDK_STATIC=1 -DWZSDK_SAMPLES=1 -DWZSDK_SAMPLES_QT=0 -G "Unix Makefiles" ../
make -j5

Windows

# generate VS project files
mkdir build
cd build
cmake -DBOOST_ROOT=D:\boost\boost_1_57_0 -DCMAKE_BUILD_TYPE=Release -DWZSDK_STATIC=1 -DWZSDK_SAMPLES=1 -DWZSDK_SAMPLES_QT=0 -G "Visual Studio 12 2013" ../

# open build/BAOS_SDK.sln and compile
C# bindings

To include the C# bindings in the build process, add the -DWZSDK_BINDINGS=1 option to the cmake command

After successful building the kdriveBAOS_dotnetd.dll and kdriveBAOS_dotnet.dll files can be found inside the /build/bin/Debug or /build/bin/Release folders

To create the intellisense file kdriveBAOS_dotnet.xml you need to enable the xml documentation generation. See http://msdn.microsoft.com/en-us/library/ms173501%28v=vs.90%29.aspx

User Guide

See LICENSE

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.