Thales' cellular IoT products business is now part of Telit Cinterion, find out more.

You are here

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

July 16, 2015 - 5:19pm, 4268 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?

Thanks!