You are here: Symbol Reference > Monnit Namespace > ButtonLedBase Class > ButtonLedBase Methods > ButtonLedBase.UpdateSensorGeneralConfig2 Method
ButtonLedBase.UpdateSensorGeneralConfig2 Method
ButtonLedBase Class  ButtonLedBase Members  ButtonLedBase 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