Gocator Development Kit
 All Classes Files Functions Variables Typedefs Friends Modules Pages
kStatus GdkFile_Write ( const kChar fileName,
const void *  data,
kSize  size 
)

Write a file.

Do not write to files too often. (More than a few times per sensor startup) Sensor flash memory may be corrupted by excessive writes.

DO NOT CALL THIS FUNCTION FROM A GDK TOOL_VProcess CALLBACK DO NOT CALL THIS FUNCTION FROM A GDK TOOL_VStop CALLBACK

Parameters
fileNameFilename. (Name of the file to be written to. Name must include "user/" in front of the file name. For example, "user/foo" to access file "foo").
dataPointer to data to write to file.
sizeSize of data to write to file.
Returns
Operation status.