We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create a util class or methods in AbstractSensor for easy registration.
String[] driverClasses = new String[] { ISensorDriver.class.getName(), Driver.class.getName() }; String[] sensorClasses = new String[] { ISensor.class.getName(), Device.class.getName() }; ISensor sensor = new MySensor(); Dictionary<String, Object> sensorProps = new Hashtable<>(); sensorProps.put(Constants.DEVICE_CATEGORY, sensor.getCategory()); sensorProps.put(Constants.DEVICE_DESCRIPTION, sensor.getDescription());
The text was updated successfully, but these errors were encountered:
muuki88
No branches or pull requests
Create a util class or methods in AbstractSensor for easy registration.
The text was updated successfully, but these errors were encountered: