8static inline const std::map<uint32_t, std::string>
9 ecat_master_foe_error_messages_ = {
13 {FOE_WC_ERROR,
"Working counter error"},
14 {FOE_RECEIVE_ERROR,
"Receive error"},
15 {FOE_PROT_ERROR,
"Protocol error"},
16 {FOE_NODATA_ERROR,
"No data error"},
17 {FOE_PACKETNO_ERROR,
"Packet number error"},
18 {FOE_OPCODE_ERROR,
"OpCode error"},
19 {FOE_TIMEOUT_ERROR,
"Timeout error"},
20 {FOE_SEND_RX_DATA_ERROR,
"Error sending received data"},
21 {FOE_RX_DATA_ACK_ERROR,
"Error acknowledging received data"},
22 {FOE_ACK_ERROR,
"Acknowledge error"},
23 {FOE_MBOX_FETCH_ERROR,
"Error fetching data from mailbox"},
24 {FOE_READ_NODATA_ERROR,
"No data while reading"},
25 {FOE_MBOX_PROT_ERROR,
"Mailbox protocol error"}};
34bool rescan(ec_master_t *master);
43int32_t get_slave_count(ec_master_t *master);
50bool is_igh_compatible();
61void igh_backward_compatibility_hack(ec_slave_info_t &slave_info);
75void wait_for_slave_init(
Notifier ¬ifier);
86void wait_for_slaves_eol_mode(
Notifier ¬ifier);
95std::string get_ecat_foe_error_message(
int error_code);
Definition: notifier.h:10