KONNEKTING Protocol Specification

From KONNEKTING Wiki
Jump to navigation Jump to search

The programming protocol uses group telegrams with the mostly unused group address 15/7/255. Those telegrams use DPT 60000.000, which is reserved for manufacturer specific custom extensions. The used Property Data Type is PDT_GENERIC_14, which is 14 bytes of raw data.

!!! It's required that no other device is using this address. Otherwise it may conflict with KONNEKTING Devices and programming your devices may fail !!!

Byte no#: 0 1 2 ... 13
Used for: Header, 2 bytes Body, 12 Bytes
Description: Protocolversion Message-Type-ID depends on Message-Type-ID
Range: 0x00..0xFF 0x00..0xFF

There are several message types for all kind of purposes. As we have one byte for the Message-Type-ID, we have up to 256 possible messages. That should be enough for our purposes. Same for version: Up to 256 versions should be enough for the near future.

Glossary

Big endian example:

16 bits: 1111111100000000 result in

HI byte 11111111 --> 0xFF --> b[0]  
LO byte 00000000 --> 0x00 --> b[1]
Code: int16_t val = (b[0] << 8) + (b[1] << 0);

Protocol Versions

Here is a list of currently developed protocol versions