Motion Master 6.0.0-alpha.50
Next-generation motion control software
Loading...
Searching...
No Matches
mm::example::DeviceSummary Struct Reference

A trimmed, presentation-shaped view of one device — the kind of derived data an application-specific endpoint typically returns (vs. the full Device JSON the built-in /api/devices route serves). More...

#include <example_logic.h>

Collaboration diagram for mm::example::DeviceSummary:
[legend]

Public Attributes

uint16_t position {}
 1-based slave position on the bus.
 
std::string name
 Device name as reported over the fieldbus.
 
std::string vendorId
 Vendor ID, formatted as 0x.........
 
std::string productCode
 Product code, formatted as 0x.........
 
uint32_t serialNumber {}
 Raw serial number.
 

Detailed Description

A trimmed, presentation-shaped view of one device — the kind of derived data an application-specific endpoint typically returns (vs. the full Device JSON the built-in /api/devices route serves).

Member Data Documentation

◆ name

std::string mm::example::DeviceSummary::name

Device name as reported over the fieldbus.

◆ position

uint16_t mm::example::DeviceSummary::position {}

1-based slave position on the bus.

◆ productCode

std::string mm::example::DeviceSummary::productCode

Product code, formatted as 0x.........

◆ serialNumber

uint32_t mm::example::DeviceSummary::serialNumber {}

Raw serial number.

◆ vendorId

std::string mm::example::DeviceSummary::vendorId

Vendor ID, formatted as 0x.........


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