Gemalto is now part of the Thales Group, find out more.

You are here

Is there a way to have a Sensor without a file for configuration? | Thales IoT Developer Community

July 16, 2015 - 5:19pm, 4129 views

Taking the BooleanSensor as an example, the documentation states that its required:

Creation of a BooleanSensorConfiguration class instance and the dedicated configuration file for permanent storing of the necessary parameters, additional cus-tom parameters can also be added.

ButtonSensorConfiguration always requires a file path on its constructor. Is there a way to circunvent this and pass the parameters using other method, like implementing (and somehow passing) a BooleanMonitorRules to the BooleanSensor?