You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
note: the open function pointer does not need to be addded to the hw_common struct as it needs to be called in prior to ec_open by the user. it does also take an arbitrary number of arguments depending on the needs of the hw layer so there's no way for libethercat call this...
Hi Robert,
I tested the hw refactoring. RAW works fine, but RAWMMAPED seems to have a bug.
First, I think a
hw_open
call is missing inlibethercat/src/hw_sock_raw_mmaped.c
Lines 117 to 119 in e0be7c8
But fixing this (https://github.com/marcfir/libethercat/tree/fix/rawmmaped) leads to a timeout. Looking with tcpdump shows that frames are outgoing. So I think the problem is in the
recv
function.The text was updated successfully, but these errors were encountered: