FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kNode_ClearFirmware ( kNode  node,
kNodeFirmwareType  type 
)

Clears a firmware program from non-volatile storage.

Firmware programs required for successful boot cannot be cleared using this method (i.e., bootloader, rescue program).

This method was introduced in FireSync 6.1.35. If this method is used with older sensors, it will return kERROR_COMMAND. If the file does not exist prior to calling this method, the method will return kERROR_NOT_FOUND.

Parameters
nodeNode object.
typeType of firmware to clear.
Returns
Operation status.