Monnit Mine Java
ContentsIndexHome
PreviousUpNext
LightBoolBase.UpdateSensorProfileConfig2 Method
Syntax
Java
public static void UpdateSensorProfileConfig2(Sensor sens, int awareState, Boolean sendSensorUpdate);
Parameters 
Description 
Sensor 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 

 

sets all data for the ProfileConfig2 configuration available on the sensor  

 

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