Open cskiraly opened 6 years ago
Medical device works if the abstract keyword is removed from the device definition. @csaba do you want a pull request? I am not sure why the class was abstracted in the first place?
In fact it wasn't abstract before. If you have the time, please look for the patch that made the change, to see if there are other things to undo (git blame might help). If not, just remove the abstract. Thanks
git log -L34,+1:MedicalDevice.java
It's been there a while ... It was probably done to force implementation of the new write functions
commit a7d4317a451a297e0d134f8177f5ae986e0be212 Author: koustabhdolui koustabh.here@gmail.com Date: Thu Oct 5 14:02:55 2017 +0200
Make device instance classes to implement write.
Implement Write function for TISensorTag
Signed-off-by: koustabhdolui <koustabh.here@gmail.com>
diff --git a/iot.agile.DeviceFactory/src/main/java/iot/agile/device/instance/HexiwearDevice.java b/iot.agile.DeviceFactory/src/main/java/iot/agile/device/instance/HexiwearDevice.java --- a/iot.agile.DeviceFactory/src/main/java/iot/agile/device/instance/HexiwearDevice.java +++ b/iot.agile.DeviceFactory/src/main/java/iot/agile/device/instance/HexiwearDevice.java @@ -33,1 +33,1 @@ -public class HexiwearDevice extends AgileBLEDevice implements Device { +public abstract class HexiwearDevice extends AgileBLEDevice implements Device {
See https://github.com/Agile-IoT/agile-core/issues/81