EtherCAT SubDevice2.03.00
 
Loading...
Searching...
No Matches

◆ EC_SLV_APP_FoE_fileOpen()

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

Open file from device.

Parameters
[in]pContextcontext
[in]pNameFilename.
[in]nameLenFilename length.
[in]isReadAccess rigths.
[in]passwordAccess code.
Returns
ErrorCode FoE Error code.
Example
// required variables
uin16t_t length;
const char* pName;
bool access;
uint32_t password;
// the Call
EC_SLV_APP_FoeFileOpen(fileName, length, access, password)