Monnit Mine Java
ContentsIndexHome
PreviousUpNext
VibrationBase.UpdateSensorProfileConfig1 Method
Syntax
Pascal
C++
Java
PHP
function UpdateSensorProfileConfig1(sens: Sensor; eventDectionType: Integer; sensitivity: Integer; rearmTime: Integer; sendSensorUpdate: Boolean): Pointer;
Parameters 
Description 
Sensor sens 
the Sensor object to be updated  
int eventDectionType 
Determines which reading of the sensor will trigger the aware state. (starts = 0, stops = 1, state change = 2)  
int sensitivity 
Set how much vibration is required before triggering the sensor, lower numbers are more sensitive. ( value range: 25 - 1000)  
int rearmTime 
Time in seconds after a triggering event that the sensor will wait before re-arming itself.(value range: 1 - 600)  
Boolean sendSensorUpdate 
a Boolean flag that lets the sensor know if it should send up the new configuration 

 

sets all data for the GeneralConfig2 configuration available on the sensor  

 

Copyright (c) 2016. All rights reserved.
What do you think about this topic? Send feedback!