m2m_fs_set_exec_permission

M2M_API_RESULT m2m_fs_set_exec_permission(CHAR *filename)

 

Description: the function has the same feature of the <permission> parameter of the AT#M2MWRITE AT command, refer to document [1]. By means of this function, you can assign to the selected file the executable permission. The filename parameter must be without path, and the file must be stored in \MOD directory.

 

Parameters:
filename:      pointer to the zero-terminated string containing only the file name.

 

Return value:
         refer to M2M_API_RESULT enum