bool ResetMemory(int, string)
This will delete all device memory data. The reset will take approximately 2 minutes, and the device's LED light will turn blue while it is resetting.
Security
Trust Level Required: Full Trust
Parameters
Name | Description |
memoryArea |
int The memory partition to clear. Use 1 for sensing data and 2 for acceleration data. |
devName |
(Optional) string The name of the device. If not supplied, the first matching configured device of this type will be used |
Return
True in the event that the given values were set succesfully. False otherwise.
Remarks
Examples
function resetMemory() {
var sensingData = document.getElementById('resetDataType').selectedIndex + 1;
alert('Success: ' + KioOmronEnviroSensor.ResetMemory(sensingData));
}
Requirements
KioWare for Windows version 8.16 or greater.