Monnit Mine Java
ContentsIndexHome
PreviousUpNext
ShortRangeAsset.UpdateSensorGeneralConfig1 Method
Syntax
Pascal
C++
Java
PHP
function UpdateSensorGeneralConfig1(sens: Sensor; heartBeat: double; transmitIntervalLink: Integer; sendSensorUpdate: Boolean): Pointer;
Parameters 
Description 
Sensor sens 
the Sensor object to be updated  
double heartBeat 
a double value this is the ReportInterval and is represented in minutes so if heart beat equals 1 that is one minute  
int transmitIntervalLink 
How often the sensor attempts to re-link with a gateway once it goes into link mode. Values below 12 are interpreted as hours. values above 12 are interpreted as minutes. the max value allowed in this field is 250. if a value of 0 is given the sensor will default to a re-link interval of 2 hours  
Boolean sendSensorUpdate 
a Boolean flag that lets the sensor know if it should send up the new configuration 

 

sets all data for the GeneralConfig1 configuration available on the sensor  

 

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