
#ifndef ETHERCAT_UTILS_STARTUP_VERIFIER_H
#define ETHERCAT_UTILS_STARTUP_VERIFIER_H

#pragma once

#include "../ethercat_types.h"
#include <stdint.h>

#ifdef __cplusplus
extern "C" {
#endif

typedef struct {
    int      index;
    uint32_t vendor_id;
    uint32_t product_code;
    uint32_t revision_no;
    uint32_t serial_no;
    uint16_t alias_addr;
    uint8_t  active_ports;
    uint8_t  topology;
    char     name[64];
} expected_slave_config_t;

#define VERIFY_MAX_ERRORS  64

typedef struct {
    int  success;
    int  error_count;
    int  warning_count;
    char errors[VERIFY_MAX_ERRORS][256];
} dx_verify_result_t;

#ifdef __cplusplus
}
#endif

#endif
