Open NilsLo opened 2 months ago
By Reading SDOs 3 Errors occure:
master.open(EcMasterAsync::ReadWrite);
if (data_type->byteSize){ data.target_size = data_type->byteSize; } else{ data.target_size = DefaultBufferSize; } data.target = new uint8_t[data.target_size + 1];
in upload function file ethercat_sdo_srv_server.cpp with default buffer size:
const int DefaultBufferSize= 64 * 1024;
defined in data_convertion_tools.hpp
For 1. you could refer to #134
By Reading SDOs 3 Errors occure:
master.open(EcMasterAsync::ReadWrite);
is used in upload function.const int DefaultBufferSize= 64 * 1024;