You are here: Symbol Reference > Monnit Namespace > Pressure300PSIBase Class > Pressure300PSIBase Methods > Pressure300PSIBase.UpdateSensorGeneralConfig1 Method
Pressure300PSIBase.UpdateSensorGeneralConfig1 Method
Pressure300PSIBase Class  Pressure300PSIBase Members  Pressure300PSIBase Methods  Send Feedback

sets all data for the GeneralConfig1 configuration available on the sensor

Syntax
C++
C#
Visual Basic
void UpdateSensorGeneralConfig1(Sensor sens, double heartBeat, double activeStateInterval, int transmitIntervalLink, Boolean sendSensorUpdate);
Parameters 
Description 
Sensor sens 
sens the Sensor object to be updated  
double heartBeat 
a double value this is represented in minutes, so if heartbeat equals 1 that is one minute 
double activeStateInterval 
a double value this is the aware state heart beat represented in minutes, so if aware state heart beat equals 1 that is one minute 
int transmitIntervalLink 
How often the sensor attempts to relink 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 relink interval of 2 hours 
Boolean sendSensorUpdate 
a Boolean flag that lets the sensor know if it should send up the new configuration