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

sets all data for the GeneralConfig2 configuration available on the sensor

Syntax
C++
C#
Visual Basic
void UpdateSensorGeneralConfig2(Sensor sens, int recovery, Boolean sendSensorUpdate);
Parameters 
Description 
Sensor sens 
sens the Sensor object to be updated  
int recovery 
Once the recovery count is reached, the sensor will go to link mode and begin scanning channels and trying to find a gateway to join 
Boolean sendSensorUpdate 
a Boolean flag that lets the sensor know if it should send up the new configuration