CANOPEN_CLIENT Driver 0.1.0
API reference
Loading...
Searching...
No Matches
Public Attributes | List of all members
canopen_client::SdoReply Struct Reference

A decoded SDO server reply. More...

#include <canopen_client_types.hpp>

Public Attributes

SdoReplyKind kind {SdoReplyKind::Abort}
 Which reply this is.
 
uint16_t index {0}
 Object index (initiate replies and abort).
 
uint8_t sub {0}
 Sub-index (initiate replies and abort).
 
bool toggle {false}
 Toggle bit (segment replies).
 
bool last {false}
 Last segment (segment upload replies).
 
bool expedited {false}
 Expedited transfer (initiate upload).
 
bool size_indicated {false}
 size is valid (initiate upload).
 
uint8_t data_len {0}
 Valid bytes in data.
 
uint32_t size {0}
 Indicated size, or the abort code for an abort.
 
std::array< uint8_t, 7 > data {}
 Expedited data or the segment's bytes.
 

Detailed Description

A decoded SDO server reply.


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