ESPHome 2026.12.0-dev
Loading...
Searching...
No Matches
esphome::canopen::SDOReply Struct Reference

#include <types.h>

Public Member Functions

bool ok () const
 
template<typename T >
T as () const
 

Data Fields

SDOResult result
 
uint32_t abort_code
 
uint32_t value
 
uint8_t size
 
const uint8_t * data
 
size_t len
 

Detailed Description

Definition at line 34 of file types.h.

Member Function Documentation

◆ as()

template<typename T >
T esphome::canopen::SDOReply::as ( ) const
inline

Definition at line 44 of file types.h.

◆ ok()

bool esphome::canopen::SDOReply::ok ( ) const
inline

Definition at line 42 of file types.h.

Field Documentation

◆ abort_code

uint32_t esphome::canopen::SDOReply::abort_code

Definition at line 36 of file types.h.

◆ data

const uint8_t* esphome::canopen::SDOReply::data

Definition at line 39 of file types.h.

◆ len

size_t esphome::canopen::SDOReply::len

Definition at line 40 of file types.h.

◆ result

SDOResult esphome::canopen::SDOReply::result

Definition at line 35 of file types.h.

◆ size

uint8_t esphome::canopen::SDOReply::size

Definition at line 38 of file types.h.

◆ value

uint32_t esphome::canopen::SDOReply::value

Definition at line 37 of file types.h.


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