setLightSensorThresholds(lowTh, highTh)

Change lower and upper bounds of brightness monitoring, and enable brightness monitoring.

Arguments

lowTh : lower bound in lux.
highTh : upper bound in lux.

Returns

If successful, will return a tag object with updated signal strength (rssi), battery voltage, txpwr, etc. If tag did not respond, will return null.