EtherCAT Slave
 
Loading...
Searching...
No Matches

◆ EC_API_SLV_FoE_CBOpenFileHandler_t

typedef uint32_t(* EC_API_SLV_FoE_CBOpenFileHandler_t) (void *pContext, const char *pName, uint16_t nameLen, bool isRead, uint32_t password)

User defined FoE receive function. Called when an FoE frame is received.

Parameters
[in]pContextcall context
[in]pNameFoE file name
[in]nameLenLength of file name
[in]isReadtrue: readAccess, false: writeAccess
[in]passwordpassword
Returns
Error code.