MC Protocol Serial C++ 0.2.3
MC protocol serial library for MCU-oriented environments
Loading...
Searching...
No Matches
mcprotocol::serial::DeviceAddress Struct Reference

Device code plus numeric address. More...

#include <types.hpp>

Public Attributes

DeviceCode code = DeviceCode::D
 Device family such as D, M, X, LTN, or LZ.
 
std::uint32_t number = 0
 Numeric index inside the selected device family.
 

Detailed Description

Device code plus numeric address.

This is the normalized address form used throughout the library after string-address parsing.

Definition at line 348 of file types.hpp.

Member Data Documentation

◆ code

DeviceCode mcprotocol::serial::DeviceAddress::code = DeviceCode::D

Device family such as D, M, X, LTN, or LZ.

Definition at line 350 of file types.hpp.

◆ number

std::uint32_t mcprotocol::serial::DeviceAddress::number = 0

Numeric index inside the selected device family.

Definition at line 352 of file types.hpp.


The documentation for this struct was generated from the following file: