Skip to content

Group dxl2

Modules > dxl2

Public API of the DYNAMIXEL Protocol 2.0 library. More...

Modules

Type Name
module Configuration
Build-time configuration for DXL2.
module Definitions
Protocol 2.0 IDs, instructions, error codes and byte-order helpers.
module Link
Transport-independent link that owns a parser and dispatches packets.
module Codec
CRC-16, incremental stream parser and packet encoder with byte stuffing.

Macros

Type Name
define DXL2_VERSION "1.0.0"
Version string "MAJOR.MINOR.PATCH".
define DXL2_VERSION_MAJOR 1
define DXL2_VERSION_MINOR 0
define DXL2_VERSION_PATCH 0

Detailed Description

This module groups the public interface and its supporting submodules: Configuration, Definitions, Codec and Link.

Include this single header to use the library: * dxl2_config.h build-time configuration (buffer sizes) * dxl2_defs.h instructions, error codes, IDs, little-endian helpers * dxl2_protocol.h CRC-16, incremental parser, encoder with byte stuffing * dxl2_link.h transport-independent link (stream in, packets out)

Macro Definition Documentation

define DXL2_VERSION

Version string "MAJOR.MINOR.PATCH".

#define DXL2_VERSION `"1.0.0"`


define DXL2_VERSION_MAJOR

#define DXL2_VERSION_MAJOR `1`

define DXL2_VERSION_MINOR

#define DXL2_VERSION_MINOR `0`

define DXL2_VERSION_PATCH

#define DXL2_VERSION_PATCH `0`