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

sets all data for the ProfileConfig2 configuration available on the sensor

Syntax
C++
C#
Visual Basic
void UpdateSensorProfileConfig2(Sensor sens, int awareState, Boolean sendSensorUpdate);
Parameters 
Description 
Sensor sens 
sens the Sensor object to be updated  
int awareState 
this is when the sensor will go aware. aware on light = 0, aware on dark = 1, and aware on change = 2 
Boolean sendSensorUpdate 
a Boolean flag that lets the sensor know if it should send up the new configuration